@loafacto/ui 0.11.1 → 0.12.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/dist/components/AppShell.vue.d.ts +7 -3
- package/dist/components/LfNavRail.vue.d.ts +18 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +380 -253
- package/dist/index.js.map +1 -1
- package/dist/loafacto-ui.css +237 -53
- package/dist/stores/toast.d.ts +1 -1
- package/dist/types.d.ts +19 -0
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ type __VLS_Props = {
|
|
|
34
34
|
backgroundColor?: string;
|
|
35
35
|
backgroundImage?: string;
|
|
36
36
|
};
|
|
37
|
-
declare var __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {};
|
|
37
|
+
declare var __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_19: {}, __VLS_21: {}, __VLS_23: {};
|
|
38
38
|
type __VLS_Slots = {} & {
|
|
39
39
|
'user-menu'?: (props: typeof __VLS_11) => any;
|
|
40
40
|
} & {
|
|
@@ -42,9 +42,13 @@ type __VLS_Slots = {} & {
|
|
|
42
42
|
} & {
|
|
43
43
|
actions?: (props: typeof __VLS_15) => any;
|
|
44
44
|
} & {
|
|
45
|
-
|
|
45
|
+
rail?: (props: typeof __VLS_17) => any;
|
|
46
46
|
} & {
|
|
47
|
-
|
|
47
|
+
default?: (props: typeof __VLS_19) => any;
|
|
48
|
+
} & {
|
|
49
|
+
default?: (props: typeof __VLS_21) => any;
|
|
50
|
+
} & {
|
|
51
|
+
footer?: (props: typeof __VLS_23) => any;
|
|
48
52
|
};
|
|
49
53
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
54
|
navigate: (payload: {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { RailItem } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
items: RailItem[];
|
|
5
|
+
/** 지금 경로. 주면 여기서 활성을 가른다 — 라우터 링크를 쓰면 안 줘도 된다. */
|
|
6
|
+
current?: string;
|
|
7
|
+
/** 링크 요소. 기본 `a`. SPA 는 RouterLink 를 넘긴다. */
|
|
8
|
+
link?: string | Component;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
navigate: (item: RailItem) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onNavigate?: ((item: RailItem) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
link: string | Component;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export { default as LfSkeleton } from './components/LfSkeleton.vue';
|
|
|
43
43
|
export { default as LfStatCard } from './components/LfStatCard.vue';
|
|
44
44
|
export { default as LfTooltip } from './components/LfTooltip.vue';
|
|
45
45
|
export { default as LfMenu } from './components/LfMenu.vue';
|
|
46
|
+
export { default as LfNavRail } from './components/LfNavRail.vue';
|
|
46
47
|
export { default as LfDivider } from './components/LfDivider.vue';
|
|
47
48
|
export { LF_ICONS, type LfIconName } from './icons';
|
|
48
49
|
export { createApiClient, ApiError, type ApiClient, type ApiClientOptions, type ApiRequestOptions, } from './lib/apiClient';
|
|
@@ -55,4 +56,4 @@ export { applyTheme, DARK_THEME, LIGHT_THEME, DEFAULT_THEME, type ThemeConfig, }
|
|
|
55
56
|
export { initTheme, useTheme, type ThemeMode } from './theme/useTheme';
|
|
56
57
|
export { deriveSemanticPalette, applySemanticPalette, isLightBackground, colorToRgb, hexToRgb, luminance, contrastRatio, type SemanticPalette, } from './theme/themeColors';
|
|
57
58
|
export { LOAFACTO_SERVICES, serviceIdForPath, isServicePath, } from './services';
|
|
58
|
-
export type { ServiceDescriptor, ShellUser, ShortcutLink, LfOption, LfTableColumn, LfTableSort, } from './types';
|
|
59
|
+
export type { ServiceDescriptor, ShellUser, RailItem, ShortcutLink, LfOption, LfTableColumn, LfTableSort, } from './types';
|