@loafacto/ui 0.6.0 → 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.
Files changed (41) hide show
  1. package/dist/applyTheme-EBr0eOKY.js +260 -0
  2. package/dist/applyTheme-EBr0eOKY.js.map +1 -0
  3. package/dist/components/LfAlert.vue.d.ts +37 -0
  4. package/dist/components/LfAvatar.vue.d.ts +11 -0
  5. package/dist/components/LfBadge.vue.d.ts +37 -0
  6. package/dist/components/LfButton.vue.d.ts +44 -0
  7. package/dist/components/LfCard.vue.d.ts +34 -0
  8. package/dist/components/LfCheckbox.vue.d.ts +29 -0
  9. package/dist/components/LfDivider.vue.d.ts +18 -0
  10. package/dist/components/LfEmptyState.vue.d.ts +29 -0
  11. package/dist/components/LfField.vue.d.ts +23 -0
  12. package/dist/components/LfIcon.vue.d.ts +19 -0
  13. package/dist/components/LfIconButton.vue.d.ts +20 -0
  14. package/dist/components/LfMenu.vue.d.ts +38 -0
  15. package/dist/components/LfModal.vue.d.ts +45 -0
  16. package/dist/components/LfPageHeader.vue.d.ts +28 -0
  17. package/dist/components/LfPagination.vue.d.ts +38 -0
  18. package/dist/components/LfRadioGroup.vue.d.ts +24 -0
  19. package/dist/components/LfSelect.vue.d.ts +29 -0
  20. package/dist/components/LfSkeleton.vue.d.ts +14 -0
  21. package/dist/components/LfSpinner.vue.d.ts +10 -0
  22. package/dist/components/LfStatCard.vue.d.ts +38 -0
  23. package/dist/components/LfSwitch.vue.d.ts +28 -0
  24. package/dist/components/LfTable.vue.d.ts +47 -0
  25. package/dist/components/LfTextField.vue.d.ts +33 -0
  26. package/dist/components/LfTextarea.vue.d.ts +33 -0
  27. package/dist/components/LfTooltip.vue.d.ts +21 -0
  28. package/dist/icons.d.ts +55 -0
  29. package/dist/index.d.ts +29 -1
  30. package/dist/index.js +2026 -313
  31. package/dist/index.js.map +1 -1
  32. package/dist/lib/apiClient.d.ts +72 -0
  33. package/dist/loafacto-ui.css +1655 -16
  34. package/dist/stores/confirm.d.ts +25 -3
  35. package/dist/theme/themeColors.d.ts +8 -0
  36. package/dist/types.d.ts +34 -0
  37. package/dist/vuetify.d.ts +115 -0
  38. package/dist/vuetify.js +51 -0
  39. package/dist/vuetify.js.map +1 -0
  40. package/package.json +10 -3
  41. package/vuetify.css +383 -0
@@ -4,8 +4,18 @@ export interface ConfirmOptions {
4
4
  confirmText?: string;
5
5
  cancelText?: string;
6
6
  danger?: boolean;
7
+ /**
8
+ * 되돌릴 수 없는 작업용. 값을 주면 사용자가 그 문구를 **그대로 입력해야** 확인 버튼이
9
+ * 열린다(예: 삭제할 서비스의 식별자). 버튼 한 번으로 지워지는 사고를 막는다.
10
+ *
11
+ * hub 가 자기 확인 모달에 갖고 있던 기능이다. 라이브러리에 없으면 hub 가 이걸 쓰는
12
+ * 화면(서비스 삭제 등) 때문에 자기 사본을 계속 들고 있어야 해서 함께 올렸다.
13
+ */
14
+ requireText?: string;
15
+ /** 입력칸 위에 붙는 라벨. requireText 가 있을 때만 쓰인다. */
16
+ requireLabel?: string;
7
17
  }
8
- /** 전역 확인 모달 — 네이티브 confirm() 대체. 바깥 클릭으로는 닫히지 않음(버튼으로만). */
18
+ /** 전역 확인 모달 — 네이티브 confirm()/prompt() 대체. 바깥 클릭으로는 닫히지 않음(버튼으로만). */
9
19
  export declare const useConfirmStore: import("pinia").StoreDefinition<"confirm", Pick<{
10
20
  open: import("vue").Ref<boolean, boolean>;
11
21
  title: import("vue").Ref<string, string>;
@@ -13,24 +23,36 @@ export declare const useConfirmStore: import("pinia").StoreDefinition<"confirm",
13
23
  confirmText: import("vue").Ref<string, string>;
14
24
  cancelText: import("vue").Ref<string, string>;
15
25
  danger: import("vue").Ref<boolean, boolean>;
26
+ requireText: import("vue").Ref<string, string>;
27
+ requireLabel: import("vue").Ref<string, string>;
28
+ typedText: import("vue").Ref<string, string>;
29
+ canConfirm: import("vue").ComputedRef<boolean>;
16
30
  ask: (opts: ConfirmOptions) => Promise<boolean>;
17
31
  resolve: (v: boolean) => void;
18
- }, "message" | "title" | "open" | "confirmText" | "cancelText" | "danger">, Pick<{
32
+ }, "message" | "title" | "open" | "confirmText" | "cancelText" | "danger" | "requireText" | "requireLabel" | "typedText">, Pick<{
19
33
  open: import("vue").Ref<boolean, boolean>;
20
34
  title: import("vue").Ref<string, string>;
21
35
  message: import("vue").Ref<string, string>;
22
36
  confirmText: import("vue").Ref<string, string>;
23
37
  cancelText: import("vue").Ref<string, string>;
24
38
  danger: import("vue").Ref<boolean, boolean>;
39
+ requireText: import("vue").Ref<string, string>;
40
+ requireLabel: import("vue").Ref<string, string>;
41
+ typedText: import("vue").Ref<string, string>;
42
+ canConfirm: import("vue").ComputedRef<boolean>;
25
43
  ask: (opts: ConfirmOptions) => Promise<boolean>;
26
44
  resolve: (v: boolean) => void;
27
- }, never>, Pick<{
45
+ }, "canConfirm">, Pick<{
28
46
  open: import("vue").Ref<boolean, boolean>;
29
47
  title: import("vue").Ref<string, string>;
30
48
  message: import("vue").Ref<string, string>;
31
49
  confirmText: import("vue").Ref<string, string>;
32
50
  cancelText: import("vue").Ref<string, string>;
33
51
  danger: import("vue").Ref<boolean, boolean>;
52
+ requireText: import("vue").Ref<string, string>;
53
+ requireLabel: import("vue").Ref<string, string>;
54
+ typedText: import("vue").Ref<string, string>;
55
+ canConfirm: import("vue").ComputedRef<boolean>;
34
56
  ask: (opts: ConfirmOptions) => Promise<boolean>;
35
57
  resolve: (v: boolean) => void;
36
58
  }, "ask" | "resolve">>;
@@ -42,6 +42,14 @@ export interface SemanticPalette {
42
42
  statusNeutral: string;
43
43
  statusPurple: string;
44
44
  statusTeal: string;
45
+ /** 위 상태 색의 `"r,g,b"`. `rgb(var(--admin-status-error-rgb), 0.12)` 처럼 옅게 깔 때 쓴다. */
46
+ statusSuccessRgb: string;
47
+ statusErrorRgb: string;
48
+ statusWarningRgb: string;
49
+ statusInfoRgb: string;
50
+ statusNeutralRgb: string;
51
+ statusPurpleRgb: string;
52
+ statusTealRgb: string;
45
53
  sidebarText: string;
46
54
  sidebarTextMuted: string;
47
55
  sidebarActive: string;
package/dist/types.d.ts CHANGED
@@ -1,3 +1,37 @@
1
+ /**
2
+ * 선택지 하나. LfSelect·LfRadioGroup·LfMenu 가 같은 모양을 쓴다.
3
+ *
4
+ * 타입이 `<script setup>` 안이 아니라 여기 있는 것은 문법 제약이다 —
5
+ * `<script setup>` 블록은 ES 모듈 export 를 담을 수 없다.
6
+ */
7
+ export interface LfOption {
8
+ value: string | number;
9
+ label: string;
10
+ disabled?: boolean;
11
+ /** 목록에 아이콘을 곁들일 때. 24x24 path 데이터거나 레지스트리 이름이다. */
12
+ icon?: string;
13
+ /** 라벨 아래 한 줄 설명. LfRadioGroup·LfMenu 만 쓴다(네이티브 select 는 못 그린다). */
14
+ description?: string;
15
+ }
16
+ /** LfTable 의 열 하나 */
17
+ export interface LfTableColumn {
18
+ /** 행 객체에서 값을 꺼낼 키이자, 셀 슬롯 이름(`cell-<key>`)이다. */
19
+ key: string;
20
+ /** 머리글에 보일 이름 */
21
+ label: string;
22
+ /** CSS 길이. 주지 않으면 내용에 맞춰 늘어난다. */
23
+ width?: string;
24
+ align?: 'left' | 'center' | 'right';
25
+ /** 머리글을 눌러 정렬할 수 있게 한다. 실제 정렬은 `sort` 이벤트를 받아 바깥에서 한다. */
26
+ sortable?: boolean;
27
+ /** 좁은 화면에서 이 열을 숨긴다. 표를 가로로 미는 대신 덜 중요한 열을 접는다. */
28
+ hideOnMobile?: boolean;
29
+ }
30
+ /** 정렬 상태. 서버 페이지네이션과 함께 쓰려고 문자열 키를 그대로 노출한다. */
31
+ export interface LfTableSort {
32
+ key: string;
33
+ order: 'asc' | 'desc';
34
+ }
1
35
  /**
2
36
  * 플랫폼에 편입된 서비스 하나를 기술한다.
3
37
  *
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Vuetify 브리지 — 선택 진입점.
3
+ *
4
+ * import { vuetifyThemes, syncVuetifyTheme } from '@loafacto/ui/vuetify'
5
+ * import '@loafacto/ui/vuetify.css'
6
+ *
7
+ * 이 라이브러리는 Vuetify 에 **의존하지 않는다.** 여기 있는 것도 Vuetify 를 import 하지
8
+ * 않는다 — 색 객체를 만들어 줄 뿐이고, `createVuetify()` 는 앱이 부른다. 그래서 서비스마다
9
+ * Vuetify 버전을 따로 올려도 이 파일이 발목을 잡지 않는다.
10
+ *
11
+ * 왜 필요한가: hub·macro 는 Vuetify 를 쓰지만 두 앱의 실제 디자인 시스템은 Vuetify 테마가
12
+ * 아니라 플랫폼의 CSS 변수(`--admin-*`)다. 그 둘을 잇는 코드를 두 저장소가 각자 들고 있으면
13
+ * 플랫폼이 팔레트를 손볼 때 한쪽만 옛 색으로 남는다. macro 가 그 코드를 먼저 갖고 있었고,
14
+ * 여기로 올려 hub 도 같은 것을 쓰게 한다.
15
+ *
16
+ * Vuetify 는 CSS 변수가 아니라 **실제 색 문자열**을 요구한다(자기 방식으로 on-surface 등을
17
+ * 또 파생하기 때문이다). 그래서 `applyTheme()` 이 CSS 변수를 세팅하는 것과 별개로
18
+ * 이 변환이 한 번 더 필요하다.
19
+ */
20
+ import { type ThemeConfig } from './theme/applyTheme';
21
+ import type { ThemeMode } from './theme/useTheme';
22
+ /** Vuetify `theme.themes.<name>.colors` 에 그대로 넣는 객체 */
23
+ export interface VuetifyColors {
24
+ background: string;
25
+ surface: string;
26
+ 'surface-bright': string;
27
+ primary: string;
28
+ secondary: string;
29
+ success: string;
30
+ warning: string;
31
+ error: string;
32
+ info: string;
33
+ purple: string;
34
+ teal: string;
35
+ grey: string;
36
+ }
37
+ /**
38
+ * 다섯 기본색 → Vuetify 색.
39
+ *
40
+ * `surface` 와 `surface-bright` 를 나누는 것이 중요하다. 플랫폼 팔레트에서
41
+ * `surface-bright` 가 **카드 색**이고 `background` 가 페이지 색인데, 둘 다 같은 값을 주면
42
+ * 카드와 배경이 한 면이 되어 테두리 하나로만 구분된다 — 종이가 떠 있다는 느낌이 사라진다.
43
+ *
44
+ * purple·teal·grey 를 넣어 두는 이유: Vuetify 테마에 없는 이름을 `rgb(var(--v-theme-x))`
45
+ * 로 읽으면 **그 선언 자체가 버려진다.** macro 의 흐름도에서 갈래 셋이 통째로 안 그려진
46
+ * 적이 있는데 원인이 이것이었다.
47
+ */
48
+ export declare function vuetifyColors(config: ThemeConfig): VuetifyColors;
49
+ /**
50
+ * `createVuetify({ theme: { defaultTheme: 'dark', themes: vuetifyThemes() } })`
51
+ *
52
+ * 프리셋을 앱이 직접 정의하지 않게 하는 것이 요점이다 — 사본을 들고 있으면 플랫폼이
53
+ * 프리셋을 손볼 때 그 앱만 옛 색으로 남는다.
54
+ */
55
+ export declare function vuetifyThemes(): Record<ThemeMode, {
56
+ dark: boolean;
57
+ colors: VuetifyColors;
58
+ }>;
59
+ /**
60
+ * Vuetify 테마 인스턴스의 이름만 바꾼다.
61
+ *
62
+ * 인자를 Vuetify 타입으로 받지 않고 구조로 받는 것은 의도적이다 — 타입을 쓰려면
63
+ * 이 패키지가 vuetify 에 의존해야 하고, 그러면 Vuetify 를 안 쓰는 앱까지 끌려온다.
64
+ *
65
+ * const vuetifyTheme = useTheme() // from 'vuetify'
66
+ * const { mode } = usePlatformTheme() // from '@loafacto/ui'
67
+ * watchEffect(() => syncVuetifyTheme(vuetifyTheme, mode.value))
68
+ */
69
+ export declare function syncVuetifyTheme(theme: {
70
+ global: {
71
+ name: {
72
+ value: string;
73
+ };
74
+ };
75
+ }, mode: ThemeMode): void;
76
+ /**
77
+ * `createVuetify({ defaults: VUETIFY_DEFAULTS })`
78
+ *
79
+ * 입력칸을 **테두리 변형으로 못 박는다.** vuetify.css 가 칸의 키를 38px 로 줄이는데,
80
+ * 채움 변형(filled)은 떠오른 이름표를 칸 안쪽 위에 두므로 그 키에 이름표와 값이 함께
81
+ * 들어가지 못하고 겹친다.
82
+ */
83
+ export declare const VUETIFY_DEFAULTS: {
84
+ readonly VCard: {
85
+ readonly rounded: "lg";
86
+ };
87
+ readonly VBtn: {
88
+ readonly rounded: "md";
89
+ };
90
+ readonly VTextField: {
91
+ readonly variant: "outlined";
92
+ readonly density: "comfortable";
93
+ readonly hideDetails: "auto";
94
+ };
95
+ readonly VTextarea: {
96
+ readonly variant: "outlined";
97
+ readonly density: "comfortable";
98
+ readonly hideDetails: "auto";
99
+ };
100
+ readonly VSelect: {
101
+ readonly variant: "outlined";
102
+ readonly density: "comfortable";
103
+ readonly hideDetails: "auto";
104
+ };
105
+ readonly VCombobox: {
106
+ readonly variant: "outlined";
107
+ readonly density: "comfortable";
108
+ readonly hideDetails: "auto";
109
+ };
110
+ readonly VAutocomplete: {
111
+ readonly variant: "outlined";
112
+ readonly density: "comfortable";
113
+ readonly hideDetails: "auto";
114
+ };
115
+ };
@@ -0,0 +1,51 @@
1
+ import { f as deriveSemanticPalette, L as LIGHT_THEME, D as DARK_THEME } from "./applyTheme-EBr0eOKY.js";
2
+ function vuetifyColors(config) {
3
+ const palette = deriveSemanticPalette(
4
+ config.bg,
5
+ config.sidebar,
6
+ config.header,
7
+ config.card,
8
+ config.accent
9
+ );
10
+ return {
11
+ background: config.bg,
12
+ surface: palette.surfaceAlt,
13
+ "surface-bright": palette.surface,
14
+ primary: palette.accent,
15
+ secondary: palette.statusPurple,
16
+ success: palette.statusSuccess,
17
+ warning: palette.statusWarning,
18
+ error: palette.statusError,
19
+ info: palette.statusInfo,
20
+ purple: palette.statusPurple,
21
+ teal: palette.statusTeal,
22
+ grey: palette.statusNeutral
23
+ };
24
+ }
25
+ function vuetifyThemes() {
26
+ return {
27
+ dark: { dark: true, colors: vuetifyColors(DARK_THEME) },
28
+ light: { dark: false, colors: vuetifyColors(LIGHT_THEME) }
29
+ };
30
+ }
31
+ function syncVuetifyTheme(theme, mode) {
32
+ theme.global.name.value = mode;
33
+ }
34
+ const VUETIFY_DEFAULTS = {
35
+ VCard: { rounded: "lg" },
36
+ VBtn: { rounded: "md" },
37
+ // 입력 계열은 **하나도 빠뜨리면 안 된다.** 빠진 칸만 Vuetify 기본값인 채움으로 그려지고,
38
+ // 그 칸에서만 이름표가 값 위에 겹친다. macro 에서 콤보상자가 실제로 그랬다.
39
+ VTextField: { variant: "outlined", density: "comfortable", hideDetails: "auto" },
40
+ VTextarea: { variant: "outlined", density: "comfortable", hideDetails: "auto" },
41
+ VSelect: { variant: "outlined", density: "comfortable", hideDetails: "auto" },
42
+ VCombobox: { variant: "outlined", density: "comfortable", hideDetails: "auto" },
43
+ VAutocomplete: { variant: "outlined", density: "comfortable", hideDetails: "auto" }
44
+ };
45
+ export {
46
+ VUETIFY_DEFAULTS,
47
+ syncVuetifyTheme,
48
+ vuetifyColors,
49
+ vuetifyThemes
50
+ };
51
+ //# sourceMappingURL=vuetify.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vuetify.js","sources":["../src/vuetify.ts"],"sourcesContent":["/**\n * Vuetify 브리지 — 선택 진입점.\n *\n * import { vuetifyThemes, syncVuetifyTheme } from '@loafacto/ui/vuetify'\n * import '@loafacto/ui/vuetify.css'\n *\n * 이 라이브러리는 Vuetify 에 **의존하지 않는다.** 여기 있는 것도 Vuetify 를 import 하지\n * 않는다 — 색 객체를 만들어 줄 뿐이고, `createVuetify()` 는 앱이 부른다. 그래서 서비스마다\n * Vuetify 버전을 따로 올려도 이 파일이 발목을 잡지 않는다.\n *\n * 왜 필요한가: hub·macro 는 Vuetify 를 쓰지만 두 앱의 실제 디자인 시스템은 Vuetify 테마가\n * 아니라 플랫폼의 CSS 변수(`--admin-*`)다. 그 둘을 잇는 코드를 두 저장소가 각자 들고 있으면\n * 플랫폼이 팔레트를 손볼 때 한쪽만 옛 색으로 남는다. macro 가 그 코드를 먼저 갖고 있었고,\n * 여기로 올려 hub 도 같은 것을 쓰게 한다.\n *\n * Vuetify 는 CSS 변수가 아니라 **실제 색 문자열**을 요구한다(자기 방식으로 on-surface 등을\n * 또 파생하기 때문이다). 그래서 `applyTheme()` 이 CSS 변수를 세팅하는 것과 별개로\n * 이 변환이 한 번 더 필요하다.\n */\nimport { DARK_THEME, LIGHT_THEME, type ThemeConfig } from './theme/applyTheme'\nimport { deriveSemanticPalette } from './theme/themeColors'\nimport type { ThemeMode } from './theme/useTheme'\n\n/** Vuetify `theme.themes.<name>.colors` 에 그대로 넣는 객체 */\nexport interface VuetifyColors {\n background: string\n surface: string\n 'surface-bright': string\n primary: string\n secondary: string\n success: string\n warning: string\n error: string\n info: string\n purple: string\n teal: string\n grey: string\n}\n\n/**\n * 다섯 기본색 → Vuetify 색.\n *\n * `surface` 와 `surface-bright` 를 나누는 것이 중요하다. 플랫폼 팔레트에서\n * `surface-bright` 가 **카드 색**이고 `background` 가 페이지 색인데, 둘 다 같은 값을 주면\n * 카드와 배경이 한 면이 되어 테두리 하나로만 구분된다 — 종이가 떠 있다는 느낌이 사라진다.\n *\n * purple·teal·grey 를 넣어 두는 이유: Vuetify 테마에 없는 이름을 `rgb(var(--v-theme-x))`\n * 로 읽으면 **그 선언 자체가 버려진다.** macro 의 흐름도에서 갈래 셋이 통째로 안 그려진\n * 적이 있는데 원인이 이것이었다.\n */\nexport function vuetifyColors(config: ThemeConfig): VuetifyColors {\n const palette = deriveSemanticPalette(\n config.bg,\n config.sidebar,\n config.header,\n config.card,\n config.accent,\n )\n return {\n background: config.bg,\n surface: palette.surfaceAlt,\n 'surface-bright': palette.surface,\n primary: palette.accent,\n secondary: palette.statusPurple,\n success: palette.statusSuccess,\n warning: palette.statusWarning,\n error: palette.statusError,\n info: palette.statusInfo,\n purple: palette.statusPurple,\n teal: palette.statusTeal,\n grey: palette.statusNeutral,\n }\n}\n\n/**\n * `createVuetify({ theme: { defaultTheme: 'dark', themes: vuetifyThemes() } })`\n *\n * 프리셋을 앱이 직접 정의하지 않게 하는 것이 요점이다 — 사본을 들고 있으면 플랫폼이\n * 프리셋을 손볼 때 그 앱만 옛 색으로 남는다.\n */\nexport function vuetifyThemes(): Record<ThemeMode, { dark: boolean; colors: VuetifyColors }> {\n return {\n dark: { dark: true, colors: vuetifyColors(DARK_THEME) },\n light: { dark: false, colors: vuetifyColors(LIGHT_THEME) },\n }\n}\n\n/**\n * Vuetify 테마 인스턴스의 이름만 바꾼다.\n *\n * 인자를 Vuetify 타입으로 받지 않고 구조로 받는 것은 의도적이다 — 타입을 쓰려면\n * 이 패키지가 vuetify 에 의존해야 하고, 그러면 Vuetify 를 안 쓰는 앱까지 끌려온다.\n *\n * const vuetifyTheme = useTheme() // from 'vuetify'\n * const { mode } = usePlatformTheme() // from '@loafacto/ui'\n * watchEffect(() => syncVuetifyTheme(vuetifyTheme, mode.value))\n */\nexport function syncVuetifyTheme(\n theme: { global: { name: { value: string } } },\n mode: ThemeMode,\n): void {\n theme.global.name.value = mode\n}\n\n/**\n * `createVuetify({ defaults: VUETIFY_DEFAULTS })`\n *\n * 입력칸을 **테두리 변형으로 못 박는다.** vuetify.css 가 칸의 키를 38px 로 줄이는데,\n * 채움 변형(filled)은 떠오른 이름표를 칸 안쪽 위에 두므로 그 키에 이름표와 값이 함께\n * 들어가지 못하고 겹친다.\n */\nexport const VUETIFY_DEFAULTS = {\n VCard: { rounded: 'lg' },\n VBtn: { rounded: 'md' },\n // 입력 계열은 **하나도 빠뜨리면 안 된다.** 빠진 칸만 Vuetify 기본값인 채움으로 그려지고,\n // 그 칸에서만 이름표가 값 위에 겹친다. macro 에서 콤보상자가 실제로 그랬다.\n VTextField: { variant: 'outlined', density: 'comfortable', hideDetails: 'auto' },\n VTextarea: { variant: 'outlined', density: 'comfortable', hideDetails: 'auto' },\n VSelect: { variant: 'outlined', density: 'comfortable', hideDetails: 'auto' },\n VCombobox: { variant: 'outlined', density: 'comfortable', hideDetails: 'auto' },\n VAutocomplete: { variant: 'outlined', density: 'comfortable', hideDetails: 'auto' },\n} as const\n"],"names":[],"mappings":";AAkDO,SAAS,cAAc,QAAoC;AAChE,QAAM,UAAU;AAAA,IACd,OAAO;AAAA,IACP,OAAO;AAAA,IACP,OAAO;AAAA,IACP,OAAO;AAAA,IACP,OAAO;AAAA,EAAA;AAET,SAAO;AAAA,IACL,YAAY,OAAO;AAAA,IACnB,SAAS,QAAQ;AAAA,IACjB,kBAAkB,QAAQ;AAAA,IAC1B,SAAS,QAAQ;AAAA,IACjB,WAAW,QAAQ;AAAA,IACnB,SAAS,QAAQ;AAAA,IACjB,SAAS,QAAQ;AAAA,IACjB,OAAO,QAAQ;AAAA,IACf,MAAM,QAAQ;AAAA,IACd,QAAQ,QAAQ;AAAA,IAChB,MAAM,QAAQ;AAAA,IACd,MAAM,QAAQ;AAAA,EAAA;AAElB;AAQO,SAAS,gBAA6E;AAC3F,SAAO;AAAA,IACL,MAAM,EAAE,MAAM,MAAM,QAAQ,cAAc,UAAU,EAAA;AAAA,IACpD,OAAO,EAAE,MAAM,OAAO,QAAQ,cAAc,WAAW,EAAA;AAAA,EAAE;AAE7D;AAYO,SAAS,iBACd,OACA,MACM;AACN,QAAM,OAAO,KAAK,QAAQ;AAC5B;AASO,MAAM,mBAAmB;AAAA,EAC9B,OAAO,EAAE,SAAS,KAAA;AAAA,EAClB,MAAM,EAAE,SAAS,KAAA;AAAA;AAAA;AAAA,EAGjB,YAAY,EAAE,SAAS,YAAY,SAAS,eAAe,aAAa,OAAA;AAAA,EACxE,WAAW,EAAE,SAAS,YAAY,SAAS,eAAe,aAAa,OAAA;AAAA,EACvE,SAAS,EAAE,SAAS,YAAY,SAAS,eAAe,aAAa,OAAA;AAAA,EACrE,WAAW,EAAE,SAAS,YAAY,SAAS,eAAe,aAAa,OAAA;AAAA,EACvE,eAAe,EAAE,SAAS,YAAY,SAAS,eAAe,aAAa,OAAA;AAC7E;"}
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@loafacto/ui",
3
- "version": "0.6.0",
4
- "description": "Loafacto 공용 UI — 테마(시맨틱 팔레트 파생), 애플리케이션 셸, 공통 오버레이 컴포넌트",
3
+ "version": "0.8.0",
4
+ "description": "Loafacto 공용 UI — 테마(시맨틱 팔레트 파생), 애플리케이션 셸, 공통 오버레이, Vuetify 없는 프리미티브",
5
5
  "type": "module",
6
6
  "files": [
7
- "dist"
7
+ "dist",
8
+ "vuetify.css"
8
9
  ],
9
10
  "main": "./dist/index.js",
10
11
  "module": "./dist/index.js",
@@ -14,12 +15,18 @@
14
15
  "types": "./dist/index.d.ts",
15
16
  "import": "./dist/index.js"
16
17
  },
18
+ "./vuetify": {
19
+ "types": "./dist/vuetify.d.ts",
20
+ "import": "./dist/vuetify.js"
21
+ },
17
22
  "./styles.css": "./dist/loafacto-ui.css",
23
+ "./vuetify.css": "./vuetify.css",
18
24
  "./package.json": "./package.json"
19
25
  },
20
26
  "sideEffects": [
21
27
  "**/*.css"
22
28
  ],
29
+ "//exports": "`.` 는 Vuetify 를 모른다. `./vuetify` 와 `./vuetify.css` 는 Vuetify 를 쓰는 서비스(hub·macro)만 가져가는 선택 진입점이며, vuetify.css 는 빌드를 거치지 않고 그대로 실린다.",
23
30
  "publishConfig": {
24
31
  "registry": "https://registry.npmjs.org",
25
32
  "//access": "스코프 패키지는 기본이 restricted 다. public 을 명시하지 않으면 유료 플랜을 요구하며 거부된다.",