@hina-ui/vue 1.7.1 → 1.7.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/dist/index.js +1933 -510
- package/dist/index.js.map +1 -1
- package/dist/types/components/anchor/composables/useScrollSpy.d.ts.map +1 -1
- package/dist/types/components/data-table/DataTable.vue.d.ts.map +1 -1
- package/dist/types/components/data-table/column-sizing-styles.d.ts +4 -0
- package/dist/types/components/data-table/column-sizing-styles.d.ts.map +1 -0
- package/dist/types/components/data-table/composables/useTableColumns.d.ts +1 -0
- package/dist/types/components/data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/types/components/navigation-menu/NavigationMenu.vue.d.ts +33 -0
- package/dist/types/components/navigation-menu/NavigationMenu.vue.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/NavigationMenuContent.vue.d.ts +29 -0
- package/dist/types/components/navigation-menu/NavigationMenuContent.vue.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/NavigationMenuItem.vue.d.ts +16 -0
- package/dist/types/components/navigation-menu/NavigationMenuItem.vue.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/NavigationMenuLink.vue.d.ts +33 -0
- package/dist/types/components/navigation-menu/NavigationMenuLink.vue.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +19 -0
- package/dist/types/components/navigation-menu/NavigationMenuTrigger.vue.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/composables/useNavigationMenuKeyboard.d.ts +4 -0
- package/dist/types/components/navigation-menu/composables/useNavigationMenuKeyboard.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/composables/useNavigationMenuLayout.d.ts +12 -0
- package/dist/types/components/navigation-menu/composables/useNavigationMenuLayout.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/context.d.ts +10 -0
- package/dist/types/components/navigation-menu/context.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/navigation-menu.variants.d.ts +112 -0
- package/dist/types/components/navigation-menu/navigation-menu.variants.d.ts.map +1 -0
- package/dist/types/components/navigation-menu/types.d.ts +17 -0
- package/dist/types/components/navigation-menu/types.d.ts.map +1 -0
- package/dist/types/components/rating/Rating.vue.d.ts +1 -0
- package/dist/types/components/rating/Rating.vue.d.ts.map +1 -1
- package/dist/types/components/rating/composables/useRatingScale.d.ts +8 -0
- package/dist/types/components/rating/composables/useRatingScale.d.ts.map +1 -0
- package/dist/types/components/stepper/Stepper.vue.d.ts +36 -0
- package/dist/types/components/stepper/Stepper.vue.d.ts.map +1 -0
- package/dist/types/components/stepper/StepperStep.vue.d.ts +33 -0
- package/dist/types/components/stepper/StepperStep.vue.d.ts.map +1 -0
- package/dist/types/components/stepper/composables/useStepper.d.ts +13 -0
- package/dist/types/components/stepper/composables/useStepper.d.ts.map +1 -0
- package/dist/types/components/stepper/stepper.variants.d.ts +58 -0
- package/dist/types/components/stepper/stepper.variants.d.ts.map +1 -0
- package/dist/types/components/stepper/types.d.ts +45 -0
- package/dist/types/components/stepper/types.d.ts.map +1 -0
- package/dist/types/components/table/table.variants.d.ts +1 -1
- package/dist/types/components/table/table.variants.d.ts.map +1 -1
- package/dist/types/components/timeline/Timeline.vue.d.ts +36 -0
- package/dist/types/components/timeline/Timeline.vue.d.ts.map +1 -0
- package/dist/types/components/timeline/timeline.variants.d.ts +51 -0
- package/dist/types/components/timeline/timeline.variants.d.ts.map +1 -0
- package/dist/types/components/timeline/types.d.ts +18 -0
- package/dist/types/components/timeline/types.d.ts.map +1 -0
- package/dist/types/components/toolbar/Toolbar.vue.d.ts +20 -0
- package/dist/types/components/toolbar/Toolbar.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/ToolbarButton.vue.d.ts +18 -0
- package/dist/types/components/toolbar/ToolbarButton.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/ToolbarControl.vue.d.ts +22 -0
- package/dist/types/components/toolbar/ToolbarControl.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/ToolbarLink.vue.d.ts +24 -0
- package/dist/types/components/toolbar/ToolbarLink.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/ToolbarSeparator.vue.d.ts +10 -0
- package/dist/types/components/toolbar/ToolbarSeparator.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/ToolbarToggleGroup.vue.d.ts +31 -0
- package/dist/types/components/toolbar/ToolbarToggleGroup.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/ToolbarToggleItem.vue.d.ts +21 -0
- package/dist/types/components/toolbar/ToolbarToggleItem.vue.d.ts.map +1 -0
- package/dist/types/components/toolbar/context.d.ts +13 -0
- package/dist/types/components/toolbar/context.d.ts.map +1 -0
- package/dist/types/components/toolbar/toolbar.variants.d.ts +64 -0
- package/dist/types/components/toolbar/toolbar.variants.d.ts.map +1 -0
- package/dist/types/components/toolbar/types.d.ts +28 -0
- package/dist/types/components/toolbar/types.d.ts.map +1 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/locale/en-US.d.ts.map +1 -1
- package/dist/types/locale/index.d.ts.map +1 -1
- package/dist/types/locale/types.d.ts +7 -0
- package/dist/types/locale/types.d.ts.map +1 -1
- package/dist/types/locale/zh-CN.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/anchor/composables/useScrollSpy.ts +8 -11
- package/src/components/data-table/DataTable.vue +1 -0
- package/src/components/data-table/DataTableHead.vue +1 -1
- package/src/components/data-table/column-sizing-styles.ts +40 -0
- package/src/components/data-table/composables/useTableColumns.ts +7 -9
- package/src/components/navigation-menu/NavigationMenu.vue +84 -0
- package/src/components/navigation-menu/NavigationMenuContent.vue +25 -0
- package/src/components/navigation-menu/NavigationMenuItem.vue +13 -0
- package/src/components/navigation-menu/NavigationMenuLink.vue +82 -0
- package/src/components/navigation-menu/NavigationMenuTrigger.vue +44 -0
- package/src/components/navigation-menu/composables/useNavigationMenuKeyboard.ts +33 -0
- package/src/components/navigation-menu/composables/useNavigationMenuLayout.ts +72 -0
- package/src/components/navigation-menu/context.ts +19 -0
- package/src/components/navigation-menu/navigation-menu.variants.ts +82 -0
- package/src/components/navigation-menu/types.ts +17 -0
- package/src/components/rating/Rating.vue +22 -8
- package/src/components/rating/composables/useRatingScale.ts +24 -0
- package/src/components/sidebar/Sidebar.vue +1 -1
- package/src/components/stepper/Stepper.vue +95 -0
- package/src/components/stepper/StepperStep.vue +102 -0
- package/src/components/stepper/composables/useStepper.ts +112 -0
- package/src/components/stepper/stepper.variants.ts +39 -0
- package/src/components/stepper/types.ts +51 -0
- package/src/components/table/table.variants.ts +1 -2
- package/src/components/timeline/Timeline.vue +109 -0
- package/src/components/timeline/timeline.variants.ts +31 -0
- package/src/components/timeline/types.ts +20 -0
- package/src/components/toolbar/Toolbar.vue +45 -0
- package/src/components/toolbar/ToolbarButton.vue +26 -0
- package/src/components/toolbar/ToolbarControl.vue +46 -0
- package/src/components/toolbar/ToolbarLink.vue +40 -0
- package/src/components/toolbar/ToolbarSeparator.vue +20 -0
- package/src/components/toolbar/ToolbarToggleGroup.vue +42 -0
- package/src/components/toolbar/ToolbarToggleItem.vue +34 -0
- package/src/components/toolbar/context.ts +29 -0
- package/src/components/toolbar/toolbar.variants.ts +37 -0
- package/src/components/toolbar/types.ts +30 -0
- package/src/index.ts +45 -0
- package/src/locale/en-US.ts +7 -0
- package/src/locale/index.ts +1 -0
- package/src/locale/types.ts +7 -0
- package/src/locale/zh-CN.ts +7 -0
- package/src/styles/data-table.css +0 -1
- package/src/styles/interaction.css +1 -0
- package/src/styles/motion.css +66 -0
- package/src/styles/stepper.css +41 -0
- package/src/styles/timeline.css +144 -0
- package/src/styles/tokens.css +2 -0
- package/src/styles/typography.css +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useScrollSpy.d.ts","sourceRoot":"","sources":["../../../../../src/components/anchor/composables/useScrollSpy.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,QAAQ,EAAE;;;;;
|
|
1
|
+
{"version":3,"file":"useScrollSpy.d.ts","sourceRoot":"","sources":["../../../../../src/components/anchor/composables/useScrollSpy.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,QAAQ,EAAE;;;;;kBAkD/B,UAAU,MAAM,MAAM;EAU5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/DataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/DataTable.vue"],"names":[],"mappings":"AA6WE,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,aAAa,EACd,MAAM,SAAS,CAAA;AAEhB,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,MAAM,EACxC,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAkuBO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;eAjmB/C,MAAM;mBACF,MAAM;kBACP,aAAa,EAAE;iBAChB,MAAM;wBACC,eAAe,EAAE;mBACtB,MAAM,EAAE;mBACR,YAAY,EAAE;mBACd,YAAY,EAAE;yBACR,MAAM,EAAE;wBACT,MAAM,EAAE;sBACV,MAAM,EAAE;uBACP,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;KAslBoD,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,OAAO,KAAK,EAAE,gBAAgB;;;;;MAAsB,KAAK,IAAI;WACxE,GAAG;;UAEJ,knCAAoC;EAEvC,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
import type { DataTableColumn } from './types';
|
|
3
|
+
export declare function columnSizingStyles<T extends object>(columns: DataTableColumn<T>[], overrides: Record<string, number>, controls: number): CSSProperties;
|
|
4
|
+
//# sourceMappingURL=column-sizing-styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-sizing-styles.d.ts","sourceRoot":"","sources":["../../../../src/components/data-table/column-sizing-styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAA;AAExC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,MAAM,EACjD,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,EAC7B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACjC,QAAQ,EAAE,MAAM,GACf,aAAa,CA+Bf"}
|
|
@@ -42,6 +42,7 @@ export declare function useTableColumns<T extends object>(props: DataTableProps<
|
|
|
42
42
|
resize: (column: DataTableColumn<T>, event: PointerEvent) => void;
|
|
43
43
|
resizeKey: (column: DataTableColumn<T>, event: KeyboardEvent) => void;
|
|
44
44
|
setWidth: (key: string, value: number) => void;
|
|
45
|
+
constrained: import("vue").ComputedRef<boolean>;
|
|
45
46
|
headerRows: import("vue").ComputedRef<DataTableHeader<T>[][]>;
|
|
46
47
|
tableStyle: import("vue").ComputedRef<CSSProperties>;
|
|
47
48
|
cellStyle: (column: DataTableColumn<T>, head?: boolean) => CSSProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-table/composables/useTableColumns.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,GAAG,EACR,KAAK,aAAa,EACnB,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"useTableColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-table/composables/useTableColumns.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,GAAG,EACR,KAAK,aAAa,EACnB,MAAM,KAAK,CAAA;AAMZ,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAE1E,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,EAC9C,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,EACxB,MAAM,EAAE,eAAe,EACvB,GAAG,EAAE,mBAAmB,CAAC,CAAC,CAAC,EAC3B,OAAO,EAAE,GAAG,CAAC,gBAAgB,GAAG,SAAS,CAAC,EAC1C,QAAQ,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,EACtC,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,EACpB,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC;oBAwEE,eAAe,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAyBd,eAAe,CAAC,CAAC,CAAC,qBAAiB,aAAa;yBAQ/C,OAAO,GAAG,KAAK,SAAS,MAAM,qBAAiB,aAAa;EAuHzF;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,MAAM,IAAI,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { NavigationMenuProps } from './types';
|
|
2
|
+
type __VLS_Props = NavigationMenuProps;
|
|
3
|
+
type __VLS_Slots = {
|
|
4
|
+
default(props: {
|
|
5
|
+
value: string;
|
|
6
|
+
}): unknown;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_ModelProps = {
|
|
9
|
+
modelValue?: string;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
size: import("./types").NavigationMenuSize;
|
|
18
|
+
align: "start" | "center" | "end";
|
|
19
|
+
delayDuration: number;
|
|
20
|
+
orientation: import("./types").NavigationMenuOrientation;
|
|
21
|
+
unmountOnHide: boolean;
|
|
22
|
+
trigger: "hover" | "click";
|
|
23
|
+
skipDelayDuration: number;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=NavigationMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/NavigationMenu.vue"],"names":[],"mappings":"AAoGE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAGlD,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA+BvC,KAAK,WAAW,GAAG;IAAE,OAAO,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAA;CAAE,CAAC;AAOpE,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAcF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgIxD,QAAA,MAAM,UAAU;;;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
padded?: boolean;
|
|
3
|
+
class?: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default(): unknown;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
10
|
+
pointerDownOutside: (event: import("reka-ui").PointerDownOutsideEvent) => any;
|
|
11
|
+
focusOutside: (event: import("reka-ui").FocusOutsideEvent) => any;
|
|
12
|
+
interactOutside: (event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
15
|
+
onPointerDownOutside?: ((event: import("reka-ui").PointerDownOutsideEvent) => any) | undefined;
|
|
16
|
+
onFocusOutside?: ((event: import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
17
|
+
onInteractOutside?: ((event: import("reka-ui").PointerDownOutsideEvent | import("reka-ui").FocusOutsideEvent) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
padded: boolean;
|
|
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
|
+
};
|
|
29
|
+
//# sourceMappingURL=NavigationMenuContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenuContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/NavigationMenuContent.vue"],"names":[],"mappings":"AAqCE,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAKxD,KAAK,WAAW,GAAG;IAAE,OAAO,IAAI,OAAO,CAAA;CAAE,CAAC;AAmD5C,QAAA,MAAM,UAAU;;;;;;;;;;;YAxDgB,OAAO;6EA4DrC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value?: string;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_Slots = {
|
|
5
|
+
default(): unknown;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=NavigationMenuItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/NavigationMenuItem.vue"],"names":[],"mappings":"AAmBE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtC,KAAK,WAAW,GAAG;IAAE,OAAO,IAAI,OAAO,CAAA;CAAE,CAAC;AAqC5C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type PrimitiveProps } from 'reka-ui';
|
|
2
|
+
type __VLS_Props = PrimitiveProps & {
|
|
3
|
+
active?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
description?: string;
|
|
6
|
+
class?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {
|
|
9
|
+
default(): unknown;
|
|
10
|
+
icon?(): unknown;
|
|
11
|
+
trailing?(): unknown;
|
|
12
|
+
description?(): unknown;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
select: (payload: CustomEvent<{
|
|
16
|
+
originalEvent: Event;
|
|
17
|
+
}>) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
|
+
onSelect?: ((payload: CustomEvent<{
|
|
20
|
+
originalEvent: Event;
|
|
21
|
+
}>) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
as: import("reka-ui").AsTag | import("vue").Component;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=NavigationMenuLink.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenuLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/NavigationMenuLink.vue"],"names":[],"mappings":"AAqFE,OAAO,EAGL,KAAK,cAAc,EACpB,MAAM,SAAS,CAAA;AAUhB,KAAK,WAAW,GAAG,cAAc,GAAG;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAUN,KAAK,WAAW,GAAG;IACjB,OAAO,IAAI,OAAO,CAAA;IAClB,IAAI,CAAC,IAAI,OAAO,CAAA;IAChB,QAAQ,CAAC,IAAI,OAAO,CAAA;IACpB,WAAW,CAAC,IAAI,OAAO,CAAA;CACxB,CAAC;AAiJJ,QAAA,MAAM,UAAU;;;;;;;;;;6EAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
class?: string;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
default(): unknown;
|
|
7
|
+
icon?(): unknown;
|
|
8
|
+
trailing?(): unknown;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=NavigationMenuTrigger.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationMenuTrigger.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/NavigationMenuTrigger.vue"],"names":[],"mappings":"AA2DE,KAAK,WAAW,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG1D,KAAK,WAAW,GAAG;IAAE,OAAO,IAAI,OAAO,CAAC;IAAC,IAAI,CAAC,IAAI,OAAO,CAAC;IAAC,QAAQ,CAAC,IAAI,OAAO,CAAA;CAAE,CAAC;AA8FpF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { NavigationMenuOrientation } from '../types';
|
|
3
|
+
export declare function useNavigationMenuKeyboard(root: Ref<HTMLElement | undefined>, orientation: () => NavigationMenuOrientation, direction: () => 'ltr' | 'rtl'): (event: KeyboardEvent) => void;
|
|
4
|
+
//# sourceMappingURL=useNavigationMenuKeyboard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNavigationMenuKeyboard.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation-menu/composables/useNavigationMenuKeyboard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAEzD,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,EAClC,WAAW,EAAE,MAAM,yBAAyB,EAC5C,SAAS,EAAE,MAAM,KAAK,GAAG,KAAK,IAEtB,OAAO,aAAa,UAwB7B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { NavigationMenuOrientation } from '../types';
|
|
3
|
+
export declare function useNavigationMenuLayout(root: Ref<HTMLElement | undefined>, orientation: () => NavigationMenuOrientation, direction: () => 'ltr' | 'rtl'): {
|
|
4
|
+
side: import("vue").ComputedRef<"end" | "start">;
|
|
5
|
+
placement: import("vue").ComputedRef<"bottom" | "left" | "right">;
|
|
6
|
+
style: import("vue").ComputedRef<{
|
|
7
|
+
'--hn-navigation-max-width': string;
|
|
8
|
+
'--hn-navigation-min-x': string;
|
|
9
|
+
'--hn-navigation-bound-end': string;
|
|
10
|
+
} | undefined>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=useNavigationMenuLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNavigationMenuLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/navigation-menu/composables/useNavigationMenuLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,UAAU,CAAA;AAEzD,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,GAAG,CAAC,WAAW,GAAG,SAAS,CAAC,EAClC,WAAW,EAAE,MAAM,yBAAyB,EAC5C,SAAS,EAAE,MAAM,KAAK,GAAG,KAAK;;;;;;;;EAgE/B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { NavigationMenuOrientation, NavigationMenuSize } from './types';
|
|
3
|
+
interface NavigationMenuContext {
|
|
4
|
+
size: Readonly<Ref<NavigationMenuSize>>;
|
|
5
|
+
orientation: Readonly<Ref<NavigationMenuOrientation>>;
|
|
6
|
+
}
|
|
7
|
+
export declare function provideNavigationMenu(context: NavigationMenuContext): void;
|
|
8
|
+
export declare function useNavigationMenu(): NavigationMenuContext;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAClE,OAAO,KAAK,EAAE,yBAAyB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5E,UAAU,qBAAqB;IAC7B,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,CAAA;IACvC,WAAW,EAAE,QAAQ,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC,CAAA;CACtD;AAID,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,qBAAqB,QAEnE;AAED,wBAAgB,iBAAiB,0BAIhC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
export declare const navigationMenu: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative w-fit max-w-full", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
2
|
+
export declare const navigationMenuList: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
orientation: {
|
|
4
|
+
horizontal: "flex-wrap items-center";
|
|
5
|
+
vertical: "flex-col items-stretch";
|
|
6
|
+
};
|
|
7
|
+
}, undefined, "m-0 flex list-none gap-1 p-0", {
|
|
8
|
+
orientation: {
|
|
9
|
+
horizontal: "flex-wrap items-center";
|
|
10
|
+
vertical: "flex-col items-stretch";
|
|
11
|
+
};
|
|
12
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
13
|
+
orientation: {
|
|
14
|
+
horizontal: "flex-wrap items-center";
|
|
15
|
+
vertical: "flex-col items-stretch";
|
|
16
|
+
};
|
|
17
|
+
}, undefined>>;
|
|
18
|
+
export declare const navigationMenuControl: import("tailwind-variants").TVReturnType<{
|
|
19
|
+
size: {
|
|
20
|
+
sm: "min-h-(--hn-control-h-sm) px-(--hn-control-px-sm) text-xs [&_svg]:size-3.5";
|
|
21
|
+
md: "min-h-(--hn-control-h-md) px-(--hn-control-px-md) text-sm [&_svg]:size-4";
|
|
22
|
+
lg: "min-h-(--hn-control-h-lg) px-(--hn-control-px-lg) text-base [&_svg]:size-[1.125rem]";
|
|
23
|
+
};
|
|
24
|
+
orientation: {
|
|
25
|
+
horizontal: "";
|
|
26
|
+
vertical: "w-full";
|
|
27
|
+
};
|
|
28
|
+
}, undefined, string[], {
|
|
29
|
+
size: {
|
|
30
|
+
sm: "min-h-(--hn-control-h-sm) px-(--hn-control-px-sm) text-xs [&_svg]:size-3.5";
|
|
31
|
+
md: "min-h-(--hn-control-h-md) px-(--hn-control-px-md) text-sm [&_svg]:size-4";
|
|
32
|
+
lg: "min-h-(--hn-control-h-lg) px-(--hn-control-px-lg) text-base [&_svg]:size-[1.125rem]";
|
|
33
|
+
};
|
|
34
|
+
orientation: {
|
|
35
|
+
horizontal: "";
|
|
36
|
+
vertical: "w-full";
|
|
37
|
+
};
|
|
38
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
39
|
+
size: {
|
|
40
|
+
sm: "min-h-(--hn-control-h-sm) px-(--hn-control-px-sm) text-xs [&_svg]:size-3.5";
|
|
41
|
+
md: "min-h-(--hn-control-h-md) px-(--hn-control-px-md) text-sm [&_svg]:size-4";
|
|
42
|
+
lg: "min-h-(--hn-control-h-lg) px-(--hn-control-px-lg) text-base [&_svg]:size-[1.125rem]";
|
|
43
|
+
};
|
|
44
|
+
orientation: {
|
|
45
|
+
horizontal: "";
|
|
46
|
+
vertical: "w-full";
|
|
47
|
+
};
|
|
48
|
+
}, undefined>>;
|
|
49
|
+
export declare const navigationMenuTrigger: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "group/hn-disclosure", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
50
|
+
export declare const navigationMenuIcon: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "inline-flex shrink-0 items-center justify-center gap-1", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
51
|
+
export declare const navigationMenuDisclosure: import("tailwind-variants").TVReturnType<{
|
|
52
|
+
orientation: {
|
|
53
|
+
horizontal: "";
|
|
54
|
+
vertical: "rtl:-scale-x-100";
|
|
55
|
+
};
|
|
56
|
+
}, undefined, "inline-flex shrink-0 text-muted", {
|
|
57
|
+
orientation: {
|
|
58
|
+
horizontal: "";
|
|
59
|
+
vertical: "rtl:-scale-x-100";
|
|
60
|
+
};
|
|
61
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
62
|
+
orientation: {
|
|
63
|
+
horizontal: "";
|
|
64
|
+
vertical: "rtl:-scale-x-100";
|
|
65
|
+
};
|
|
66
|
+
}, undefined>>;
|
|
67
|
+
export declare const navigationMenuLink: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "py-2", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
|
|
68
|
+
export declare const navigationMenuContent: import("tailwind-variants").TVReturnType<{
|
|
69
|
+
padded: {
|
|
70
|
+
true: "p-2";
|
|
71
|
+
false: "";
|
|
72
|
+
};
|
|
73
|
+
}, undefined, "hn-anim-navigation-content absolute start-0 top-0 w-80 max-w-[min(calc(100vw-2rem),var(--hn-navigation-max-width,100vw))] outline-none rtl:start-auto rtl:end-0", {
|
|
74
|
+
padded: {
|
|
75
|
+
true: "p-2";
|
|
76
|
+
false: "";
|
|
77
|
+
};
|
|
78
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
79
|
+
padded: {
|
|
80
|
+
true: "p-2";
|
|
81
|
+
false: "";
|
|
82
|
+
};
|
|
83
|
+
}, undefined>>;
|
|
84
|
+
export declare const navigationMenuViewport: import("tailwind-variants").TVReturnType<{
|
|
85
|
+
orientation: {
|
|
86
|
+
horizontal: "top-full mt-2 [left:clamp(var(--hn-navigation-min-x,0px),var(--reka-navigation-menu-viewport-left),calc(var(--hn-navigation-bound-end,100vw)-var(--reka-navigation-menu-viewport-width)-2px))]";
|
|
87
|
+
vertical: "[top:var(--reka-navigation-menu-viewport-top)]";
|
|
88
|
+
};
|
|
89
|
+
side: {
|
|
90
|
+
start: "";
|
|
91
|
+
end: "";
|
|
92
|
+
};
|
|
93
|
+
}, undefined, string[], {
|
|
94
|
+
orientation: {
|
|
95
|
+
horizontal: "top-full mt-2 [left:clamp(var(--hn-navigation-min-x,0px),var(--reka-navigation-menu-viewport-left),calc(var(--hn-navigation-bound-end,100vw)-var(--reka-navigation-menu-viewport-width)-2px))]";
|
|
96
|
+
vertical: "[top:var(--reka-navigation-menu-viewport-top)]";
|
|
97
|
+
};
|
|
98
|
+
side: {
|
|
99
|
+
start: "";
|
|
100
|
+
end: "";
|
|
101
|
+
};
|
|
102
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
103
|
+
orientation: {
|
|
104
|
+
horizontal: "top-full mt-2 [left:clamp(var(--hn-navigation-min-x,0px),var(--reka-navigation-menu-viewport-left),calc(var(--hn-navigation-bound-end,100vw)-var(--reka-navigation-menu-viewport-width)-2px))]";
|
|
105
|
+
vertical: "[top:var(--reka-navigation-menu-viewport-top)]";
|
|
106
|
+
};
|
|
107
|
+
side: {
|
|
108
|
+
start: "";
|
|
109
|
+
end: "";
|
|
110
|
+
};
|
|
111
|
+
}, undefined>>;
|
|
112
|
+
//# sourceMappingURL=navigation-menu.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigation-menu.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/navigation-menu.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,sLAEzB,CAAA;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;cAQ7B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmBhC,CAAA;AAEF,eAAO,MAAM,qBAAqB,gLAEhC,CAAA;AAEF,eAAO,MAAM,kBAAkB,mNAE7B,CAAA;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;cAKnC,CAAA;AAEF,eAAO,MAAM,kBAAkB,iKAE7B,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;cAMhC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiBjC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type NavigationMenuSize = 'sm' | 'md' | 'lg';
|
|
2
|
+
export type NavigationMenuOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
export interface NavigationMenuProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
orientation?: NavigationMenuOrientation;
|
|
6
|
+
dir?: 'ltr' | 'rtl';
|
|
7
|
+
size?: NavigationMenuSize;
|
|
8
|
+
trigger?: 'hover' | 'click';
|
|
9
|
+
delayDuration?: number;
|
|
10
|
+
skipDelayDuration?: number;
|
|
11
|
+
align?: 'start' | 'center' | 'end';
|
|
12
|
+
unmountOnHide?: boolean;
|
|
13
|
+
class?: string;
|
|
14
|
+
listClass?: string;
|
|
15
|
+
viewportClass?: string;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation-menu/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AACnD,MAAM,MAAM,yBAAyB,GAAG,YAAY,GAAG,UAAU,CAAA;AAEjE,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,yBAAyB,CAAA;IACvC,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAA;IACnB,IAAI,CAAC,EAAE,kBAAkB,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAA;IAClC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rating.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/Rating.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Rating.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/rating/Rating.vue"],"names":[],"mappings":"AAuHE,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAM1B,KAAK,WAAW,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,CAAA;IACd,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAuBN,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA0MxD,QAAA,MAAM,YAAY;;;;;SAlPN,MAAM;UAEL,CAAC,GAAG,GAAG;eACF,OAAO;6EAmPvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
export declare function useRatingScale(model: Ref<number>, max: () => number, stars: () => number | undefined): {
|
|
3
|
+
count: import("vue").ComputedRef<number>;
|
|
4
|
+
scaled: import("vue").ComputedRef<boolean>;
|
|
5
|
+
value: import("vue").WritableComputedRef<number, number>;
|
|
6
|
+
toScore: (value: number) => number;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=useRatingScale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRatingScale.d.ts","sourceRoot":"","sources":["../../../../../src/components/rating/composables/useRatingScale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAExC,wBAAgB,cAAc,CAC5B,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,EAClB,GAAG,EAAE,MAAM,MAAM,EACjB,KAAK,EAAE,MAAM,MAAM,GAAG,SAAS;;;;qBAKP,MAAM;EAa/B"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { StepperItem, StepperNavigation, StepperProps, StepperSlotProps } from './types';
|
|
2
|
+
declare const __VLS_export: <T extends StepperItem = StepperItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<StepperProps<T> & {
|
|
4
|
+
onError?: ((error: unknown) => any) | undefined;
|
|
5
|
+
"onUpdate:modelValue"?: ((step: number) => any) | undefined;
|
|
6
|
+
}> & (typeof globalThis extends {
|
|
7
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
8
|
+
} ? P : {});
|
|
9
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
10
|
+
step: import("vue").ComputedRef<number>;
|
|
11
|
+
pending: import("vue").Ref<boolean, boolean>;
|
|
12
|
+
next: () => Promise<boolean>;
|
|
13
|
+
prev: () => Promise<boolean>;
|
|
14
|
+
goTo: (target: number) => Promise<boolean>;
|
|
15
|
+
canNext: import("vue").ComputedRef<boolean>;
|
|
16
|
+
canPrev: import("vue").ComputedRef<boolean>;
|
|
17
|
+
}>) => void;
|
|
18
|
+
attrs: any;
|
|
19
|
+
slots: {
|
|
20
|
+
default?(props: StepperNavigation<T>): unknown;
|
|
21
|
+
indicator?(props: StepperSlotProps<T>): unknown;
|
|
22
|
+
title?(props: StepperSlotProps<T>): unknown;
|
|
23
|
+
description?(props: StepperSlotProps<T>): unknown;
|
|
24
|
+
};
|
|
25
|
+
emit: ((evt: "error", error: unknown) => void) & ((evt: "update:modelValue", step: number) => void);
|
|
26
|
+
}>) => import("vue").VNode & {
|
|
27
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
28
|
+
};
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
36
|
+
//# sourceMappingURL=Stepper.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/stepper/Stepper.vue"],"names":[],"mappings":"AA0GE,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE7F,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,WAAW,GAAG,WAAW,EAC3D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAsNO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;;;KAAmC,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,OAAO,KAAK,EAAE,gBAAgB;;;;;;;;MAAsB,KAAK,IAAI;WACxE,GAAG;;wBA7MS,iBAAiB,CAAC,CAAC,CAAC,GAAG,OAAO;0BAC5B,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO;sBACjC,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO;4BACvB,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO;;;EA8MjD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { StepperItem, StepperSlotProps, StepperOrientation } from './types';
|
|
2
|
+
declare const __VLS_export: <T extends StepperItem = StepperItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
+
props: import("vue").PublicProps & __VLS_PrettifyLocal<{
|
|
4
|
+
entry: StepperSlotProps<T>;
|
|
5
|
+
id: string;
|
|
6
|
+
panelId?: string;
|
|
7
|
+
pending: boolean;
|
|
8
|
+
last: boolean;
|
|
9
|
+
orientation: StepperOrientation;
|
|
10
|
+
} & {
|
|
11
|
+
onSelect?: ((step: number) => any) | undefined;
|
|
12
|
+
}> & (typeof globalThis extends {
|
|
13
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
14
|
+
} ? P : {});
|
|
15
|
+
expose: (exposed: {}) => void;
|
|
16
|
+
attrs: any;
|
|
17
|
+
slots: {
|
|
18
|
+
indicator?(props: StepperSlotProps<T>): unknown;
|
|
19
|
+
title?(props: StepperSlotProps<T>): unknown;
|
|
20
|
+
description?(props: StepperSlotProps<T>): unknown;
|
|
21
|
+
};
|
|
22
|
+
emit: (evt: "select", step: number) => void;
|
|
23
|
+
}>) => import("vue").VNode & {
|
|
24
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
25
|
+
};
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} : {
|
|
31
|
+
[K in keyof T as K]: T[K];
|
|
32
|
+
}) & {};
|
|
33
|
+
//# sourceMappingURL=StepperStep.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepperStep.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/stepper/StepperStep.vue"],"names":[],"mappings":"AAqHE,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAEhF,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,WAAW,GAAG,WAAW,EAC3D,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA0RO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;eAxR7C,gBAAgB,CAAC,CAAC,CAAC;YACtB,MAAM;kBACA,MAAM;iBACP,OAAO;cACV,OAAO;qBACA,kBAAkB;;;KAmRwD,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;0BA/QW,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO;sBACjC,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO;4BACvB,gBAAgB,CAAC,CAAC,CAAC,GAAG,OAAO;;;EAiRjD,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAA;CAAI,CAAC;wBACpE,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StepperItem, StepperNavigation, StepperProps, StepperSlotProps } from '../types';
|
|
2
|
+
export declare function useStepper<T extends StepperItem>(props: StepperProps<T>, update: (step: number) => void, onError: (error: unknown) => void): {
|
|
3
|
+
step: import("vue").ComputedRef<number>;
|
|
4
|
+
pending: import("vue").Ref<boolean, boolean>;
|
|
5
|
+
entries: import("vue").ComputedRef<StepperSlotProps<T>[]>;
|
|
6
|
+
navigation: import("vue").ComputedRef<StepperNavigation<T>>;
|
|
7
|
+
next: () => Promise<boolean>;
|
|
8
|
+
prev: () => Promise<boolean>;
|
|
9
|
+
goTo: (target: number) => Promise<boolean>;
|
|
10
|
+
canNext: import("vue").ComputedRef<boolean>;
|
|
11
|
+
canPrev: import("vue").ComputedRef<boolean>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=useStepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useStepper.d.ts","sourceRoot":"","sources":["../../../../../src/components/stepper/composables/useStepper.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAE9F,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,EAC9C,KAAK,EAAE,YAAY,CAAC,CAAC,CAAC,EACtB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,EAC9B,OAAO,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI;;;;;;;mBAkDL,MAAM;;;EAsDnC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare const stepper: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
size: {
|
|
3
|
+
sm: "text-sm [--hn-stepper-indicator:var(--hn-control-h-sm)]";
|
|
4
|
+
md: "text-sm [--hn-stepper-indicator:var(--hn-control-h-md)]";
|
|
5
|
+
lg: "text-base [--hn-stepper-indicator:var(--hn-control-h-lg)]";
|
|
6
|
+
};
|
|
7
|
+
}, undefined, "flex w-full min-w-0 flex-col gap-(--hn-stack-gap)", {
|
|
8
|
+
size: {
|
|
9
|
+
sm: "text-sm [--hn-stepper-indicator:var(--hn-control-h-sm)]";
|
|
10
|
+
md: "text-sm [--hn-stepper-indicator:var(--hn-control-h-md)]";
|
|
11
|
+
lg: "text-base [--hn-stepper-indicator:var(--hn-control-h-lg)]";
|
|
12
|
+
};
|
|
13
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
14
|
+
size: {
|
|
15
|
+
sm: "text-sm [--hn-stepper-indicator:var(--hn-control-h-sm)]";
|
|
16
|
+
md: "text-sm [--hn-stepper-indicator:var(--hn-control-h-md)]";
|
|
17
|
+
lg: "text-base [--hn-stepper-indicator:var(--hn-control-h-lg)]";
|
|
18
|
+
};
|
|
19
|
+
}, undefined>>;
|
|
20
|
+
export declare const stepperTrigger: import("tailwind-variants").TVReturnType<{
|
|
21
|
+
orientation: {
|
|
22
|
+
horizontal: "w-full flex-col items-center text-center";
|
|
23
|
+
vertical: "items-start text-start";
|
|
24
|
+
};
|
|
25
|
+
}, undefined, string[], {
|
|
26
|
+
orientation: {
|
|
27
|
+
horizontal: "w-full flex-col items-center text-center";
|
|
28
|
+
vertical: "items-start text-start";
|
|
29
|
+
};
|
|
30
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
31
|
+
orientation: {
|
|
32
|
+
horizontal: "w-full flex-col items-center text-center";
|
|
33
|
+
vertical: "items-start text-start";
|
|
34
|
+
};
|
|
35
|
+
}, undefined>>;
|
|
36
|
+
export declare const stepperIndicator: import("tailwind-variants").TVReturnType<{
|
|
37
|
+
state: {
|
|
38
|
+
inactive: "border-line text-muted bg-surface";
|
|
39
|
+
active: "border-accent bg-accent text-accent-on";
|
|
40
|
+
completed: "border-transparent bg-accent-soft text-accent-text";
|
|
41
|
+
error: "border-danger bg-danger-soft text-danger-text";
|
|
42
|
+
};
|
|
43
|
+
}, undefined, "hn-transition-base flex size-(--hn-stepper-indicator) shrink-0 items-center justify-center rounded-full border text-sm font-medium tabular-nums [&_svg]:size-[1em]", {
|
|
44
|
+
state: {
|
|
45
|
+
inactive: "border-line text-muted bg-surface";
|
|
46
|
+
active: "border-accent bg-accent text-accent-on";
|
|
47
|
+
completed: "border-transparent bg-accent-soft text-accent-text";
|
|
48
|
+
error: "border-danger bg-danger-soft text-danger-text";
|
|
49
|
+
};
|
|
50
|
+
}, undefined, import("tailwind-variants").TVReturnTypeLike<{
|
|
51
|
+
state: {
|
|
52
|
+
inactive: "border-line text-muted bg-surface";
|
|
53
|
+
active: "border-accent bg-accent text-accent-on";
|
|
54
|
+
completed: "border-transparent bg-accent-soft text-accent-text";
|
|
55
|
+
error: "border-danger bg-danger-soft text-danger-text";
|
|
56
|
+
};
|
|
57
|
+
}, undefined>>;
|
|
58
|
+
//# sourceMappingURL=stepper.variants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stepper.variants.d.ts","sourceRoot":"","sources":["../../../../src/components/stepper/stepper.variants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;cAUlB,CAAA;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;cAWzB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;cAW3B,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export type StepperOrientation = 'horizontal' | 'vertical';
|
|
2
|
+
export type StepperSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export type StepperState = 'inactive' | 'active' | 'completed' | 'error';
|
|
4
|
+
export type StepperBeforeChange = (step: number, previousStep: number) => boolean | void | Promise<boolean | void>;
|
|
5
|
+
export interface StepperItem {
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
completed?: boolean;
|
|
10
|
+
error?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface StepperProps<T extends StepperItem = StepperItem> {
|
|
13
|
+
items: T[];
|
|
14
|
+
modelValue?: number;
|
|
15
|
+
defaultValue?: number;
|
|
16
|
+
orientation?: StepperOrientation;
|
|
17
|
+
size?: StepperSize;
|
|
18
|
+
linear?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
beforeChange?: StepperBeforeChange;
|
|
21
|
+
label?: string;
|
|
22
|
+
dir?: 'ltr' | 'rtl';
|
|
23
|
+
class?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface StepperSlotProps<T extends StepperItem = StepperItem> {
|
|
26
|
+
item: T;
|
|
27
|
+
index: number;
|
|
28
|
+
step: number;
|
|
29
|
+
state: StepperState;
|
|
30
|
+
active: boolean;
|
|
31
|
+
pending: boolean;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface StepperNavigation<T extends StepperItem = StepperItem> {
|
|
35
|
+
step: number;
|
|
36
|
+
item: T | undefined;
|
|
37
|
+
total: number;
|
|
38
|
+
pending: boolean;
|
|
39
|
+
canNext: boolean;
|
|
40
|
+
canPrev: boolean;
|
|
41
|
+
next: () => Promise<boolean>;
|
|
42
|
+
prev: () => Promise<boolean>;
|
|
43
|
+
goTo: (step: number) => Promise<boolean>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=types.d.ts.map
|