@vmscloud/moz-ui-components-core 0.1.42

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 (146) hide show
  1. package/dist/components/avatar/avatar.core.d.ts +39 -0
  2. package/dist/components/avatar/index.d.ts +14 -0
  3. package/dist/components/bread-crumb/breadcrumb.core.d.ts +70 -0
  4. package/dist/components/bread-crumb/icons.d.ts +9 -0
  5. package/dist/components/bread-crumb/index.d.ts +10 -0
  6. package/dist/components/button/button.core.d.ts +59 -0
  7. package/dist/components/button/circleLoader.d.ts +8 -0
  8. package/dist/components/button/index.d.ts +12 -0
  9. package/dist/components/calendar/calendar.core.d.ts +25 -0
  10. package/dist/components/calendar/icons.d.ts +7 -0
  11. package/dist/components/calendar/index.d.ts +7 -0
  12. package/dist/components/checkbox/checkbox.core.d.ts +46 -0
  13. package/dist/components/checkbox/icons.d.ts +9 -0
  14. package/dist/components/checkbox/index.d.ts +10 -0
  15. package/dist/components/collapsible/collapsible.core.d.ts +34 -0
  16. package/dist/components/collapsible/index.d.ts +15 -0
  17. package/dist/components/context-menu/contextmenu.core.d.ts +58 -0
  18. package/dist/components/context-menu/index.d.ts +10 -0
  19. package/dist/components/controller/controller.core.d.ts +44 -0
  20. package/dist/components/controller/icons.d.ts +12 -0
  21. package/dist/components/controller/index.d.ts +12 -0
  22. package/dist/components/date-input/dateinput.core.d.ts +32 -0
  23. package/dist/components/date-input/icons.d.ts +6 -0
  24. package/dist/components/date-input/index.d.ts +7 -0
  25. package/dist/components/empty-state/emptystate.core.d.ts +25 -0
  26. package/dist/components/empty-state/emptystate.types.d.ts +17 -0
  27. package/dist/components/empty-state/index.d.ts +8 -0
  28. package/dist/components/input/icons.d.ts +4 -0
  29. package/dist/components/input/index.d.ts +10 -0
  30. package/dist/components/input/input.core.d.ts +38 -0
  31. package/dist/components/label/index.d.ts +6 -0
  32. package/dist/components/label/label.core.d.ts +22 -0
  33. package/dist/components/multi-select/icons.d.ts +14 -0
  34. package/dist/components/multi-select/index.d.ts +10 -0
  35. package/dist/components/multi-select/multiselect.core.d.ts +60 -0
  36. package/dist/components/number-input/icons.d.ts +7 -0
  37. package/dist/components/number-input/index.d.ts +7 -0
  38. package/dist/components/number-input/numberinput.core.d.ts +30 -0
  39. package/dist/components/password-input/icons.d.ts +7 -0
  40. package/dist/components/password-input/index.d.ts +7 -0
  41. package/dist/components/password-input/passwordinput.core.d.ts +29 -0
  42. package/dist/components/popover/index.d.ts +14 -0
  43. package/dist/components/popover/popover.core.d.ts +65 -0
  44. package/dist/components/popup/icons.d.ts +18 -0
  45. package/dist/components/popup/index.d.ts +14 -0
  46. package/dist/components/popup/popup.core.d.ts +132 -0
  47. package/dist/components/radio/index.d.ts +9 -0
  48. package/dist/components/radio/radio.core.d.ts +35 -0
  49. package/dist/components/scroll-area/index.d.ts +16 -0
  50. package/dist/components/scroll-area/scrollarea.core.d.ts +47 -0
  51. package/dist/components/select/icons.d.ts +16 -0
  52. package/dist/components/select/index.d.ts +10 -0
  53. package/dist/components/select/select.core.d.ts +48 -0
  54. package/dist/components/slider/index.d.ts +6 -0
  55. package/dist/components/slider/slider.core.d.ts +23 -0
  56. package/dist/components/split-pane/index.d.ts +15 -0
  57. package/dist/components/split-pane/splitpane.core.d.ts +24 -0
  58. package/dist/components/tab/icons.d.ts +4 -0
  59. package/dist/components/tab/index.d.ts +10 -0
  60. package/dist/components/tab/tab.core.d.ts +28 -0
  61. package/dist/components/table-select/index.d.ts +10 -0
  62. package/dist/components/table-select/tableselect.core.d.ts +45 -0
  63. package/dist/components/tag-input/icons.d.ts +9 -0
  64. package/dist/components/tag-input/index.d.ts +12 -0
  65. package/dist/components/tag-input/taginput.core.d.ts +32 -0
  66. package/dist/components/textarea/index.d.ts +6 -0
  67. package/dist/components/textarea/textarea.core.d.ts +35 -0
  68. package/dist/components/time-picker/icons.d.ts +9 -0
  69. package/dist/components/time-picker/index.d.ts +10 -0
  70. package/dist/components/time-picker/timepicker.core.d.ts +26 -0
  71. package/dist/components/toast/icons.d.ts +12 -0
  72. package/dist/components/toast/index.d.ts +13 -0
  73. package/dist/components/toast/timer.d.ts +17 -0
  74. package/dist/components/toast/toast.core.d.ts +48 -0
  75. package/dist/components/toast/useToast.d.ts +13 -0
  76. package/dist/components/toggle/index.d.ts +9 -0
  77. package/dist/components/toggle/toggle.core.d.ts +54 -0
  78. package/dist/components/tooltip/index.d.ts +18 -0
  79. package/dist/components/tooltip/placement.d.ts +9 -0
  80. package/dist/components/tooltip/tooltip.core.d.ts +50 -0
  81. package/dist/components/tree-select/icons.d.ts +14 -0
  82. package/dist/components/tree-select/index.d.ts +12 -0
  83. package/dist/components/tree-select/tree-utils.d.ts +63 -0
  84. package/dist/components/tree-select/treeselect.core.d.ts +45 -0
  85. package/dist/index.cjs +1887 -0
  86. package/dist/index.cjs.map +1 -0
  87. package/dist/index.d.ts +51 -0
  88. package/dist/index.js +9233 -0
  89. package/dist/index.js.map +1 -0
  90. package/dist/locale/en.d.ts +3 -0
  91. package/dist/locale/index.d.ts +10 -0
  92. package/dist/locale/ja.d.ts +3 -0
  93. package/dist/locale/ko.d.ts +3 -0
  94. package/dist/locale/types.d.ts +482 -0
  95. package/dist/locale/zh.d.ts +3 -0
  96. package/dist/overlay/DismissStack.d.ts +49 -0
  97. package/dist/overlay/Overlay.d.ts +39 -0
  98. package/dist/overlay/PortalHost.d.ts +11 -0
  99. package/dist/overlay/index.d.ts +5 -0
  100. package/dist/overlay/placement.d.ts +74 -0
  101. package/dist/runtime/ChromeComponent.d.ts +38 -0
  102. package/dist/runtime/Observable.d.ts +18 -0
  103. package/dist/runtime/SlotHost.d.ts +48 -0
  104. package/dist/runtime/defineHeadless.d.ts +28 -0
  105. package/dist/runtime/spread.d.ts +26 -0
  106. package/dist/runtime/types.d.ts +149 -0
  107. package/dist/shared/cn.d.ts +8 -0
  108. package/dist/shared/dayjs.d.ts +10 -0
  109. package/dist/shared/index.d.ts +5 -0
  110. package/dist/shared/utils.d.ts +58 -0
  111. package/dist/styles/default/avatar.css +94 -0
  112. package/dist/styles/default/breadcrumb.css +120 -0
  113. package/dist/styles/default/button.css +220 -0
  114. package/dist/styles/default/calendar.css +158 -0
  115. package/dist/styles/default/checkbox.css +128 -0
  116. package/dist/styles/default/collapsible.css +27 -0
  117. package/dist/styles/default/contextmenu.css +212 -0
  118. package/dist/styles/default/controller.css +157 -0
  119. package/dist/styles/default/dateinput.css +193 -0
  120. package/dist/styles/default/emptystate.css +91 -0
  121. package/dist/styles/default/index.css +3877 -0
  122. package/dist/styles/default/input.css +179 -0
  123. package/dist/styles/default/label.css +65 -0
  124. package/dist/styles/default/multiselect.css +394 -0
  125. package/dist/styles/default/numberinput.css +174 -0
  126. package/dist/styles/default/passwordinput.css +189 -0
  127. package/dist/styles/default/popover.css +92 -0
  128. package/dist/styles/default/popup.css +222 -0
  129. package/dist/styles/default/radio.css +264 -0
  130. package/dist/styles/default/scrollarea.css +133 -0
  131. package/dist/styles/default/select.css +287 -0
  132. package/dist/styles/default/slider.css +123 -0
  133. package/dist/styles/default/splitpane.css +62 -0
  134. package/dist/styles/default/tab.css +172 -0
  135. package/dist/styles/default/tableselect.css +313 -0
  136. package/dist/styles/default/taginput.css +296 -0
  137. package/dist/styles/default/textarea.css +145 -0
  138. package/dist/styles/default/timepicker.css +221 -0
  139. package/dist/styles/default/toast.css +165 -0
  140. package/dist/styles/default/toggle.css +129 -0
  141. package/dist/styles/default/tooltip.css +131 -0
  142. package/dist/styles/default/treeselect.css +382 -0
  143. package/dist/validator/createValidator.d.ts +7 -0
  144. package/dist/validator/index.d.ts +2 -0
  145. package/dist/validator/types.d.ts +26 -0
  146. package/package.json +57 -0
@@ -0,0 +1,179 @@
1
+ @charset "UTF-8";
2
+ /* moz color tokens — override in :root */
3
+ @layer moz {
4
+ :root {
5
+ /* ── 기본 팔레트 ── */
6
+ --moz-color-accent: #4568e0;
7
+ --moz-color-accent-strong: #3e5dc9;
8
+ --moz-color-accent-subtle: #e2e7fa;
9
+ --moz-color-danger: #dc5a5a;
10
+ --moz-color-warning: #fa9e23;
11
+ --moz-color-success: #357e63;
12
+ --moz-color-surface: #ffffff;
13
+ --moz-color-on-accent: #ffffff;
14
+ --moz-color-surface-subtle: #f4f4f9;
15
+ --moz-color-surface-muted: #f8f8fd;
16
+ --moz-color-border: #bac6d4;
17
+ --moz-color-border-subtle: #e1e3f0;
18
+ --moz-color-text: #28364e;
19
+ --moz-color-text-secondary: #6a7184;
20
+ --moz-color-text-subtle: #96a5be;
21
+ --moz-color-text-muted: #a7b1bc;
22
+ --moz-color-disabled: #e0e1ec;
23
+ /* 반전 표면 — 툴팁처럼 본문과 배경/전경이 뒤집힌 떠 있는 조각 */
24
+ --moz-color-inverse-surface: var(--moz-color-text);
25
+ --moz-color-inverse-text: var(--moz-color-surface);
26
+ /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
27
+ --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 20%, transparent);
28
+ --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
29
+ --moz-color-accent-soft: color-mix(in srgb, var(--moz-color-accent) 16%, transparent);
30
+ --moz-color-accent-ghost: color-mix(in srgb, var(--moz-color-accent) 9%, transparent);
31
+ --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 20%, transparent);
32
+ --moz-color-danger-ghost: color-mix(in srgb, var(--moz-color-danger) 13%, transparent);
33
+ --moz-color-muted-soft: color-mix(in srgb, var(--moz-color-text-subtle) 16%, transparent);
34
+ /* ── 그림자·스크림 ── */
35
+ --moz-color-shadow: rgb(57 55 122 / 0.1);
36
+ --moz-color-shadow-weak: rgb(0 0 0 / 0.05);
37
+ --moz-color-scrim: rgb(0 0 0 / 0.3);
38
+ --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
39
+ }
40
+ }
41
+ /* moz radius tokens — override in :root */
42
+ @layer moz {
43
+ :root {
44
+ /* 소형 마커 — 체크박스, 칩 내부 요소 */
45
+ --moz-radius-xs: 2px;
46
+ /* 컨트롤 박스 — 버튼·입력·셀렉트·탭·브레드크럼 (가장 많이 쓰이는 값) */
47
+ --moz-radius-control: 4px;
48
+ /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
49
+ --moz-radius-surface: 6px;
50
+ /* 떠 있는 패널 — 팝업·대화상자 */
51
+ --moz-radius-panel: 10px;
52
+ /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
53
+ 소비자가 panel 을 카드값으로 올려도 태그까지 알약이 되지 않도록 분리해 둔다) */
54
+ --moz-radius-chip: 10px;
55
+ /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
56
+ --moz-radius-pill: 999px;
57
+ /* 원 — 아바타 */
58
+ --moz-radius-circle: 50%;
59
+ }
60
+ }
61
+ /**
62
+ * Input 스타일 — Input.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ */
64
+ @layer moz {
65
+ .moz-input-wrapper {
66
+ display: flex;
67
+ flex-direction: column;
68
+ position: relative;
69
+ }
70
+ .moz-input-wrapper .input-wrapper {
71
+ display: flex;
72
+ flex-direction: column;
73
+ gap: 3px;
74
+ height: 100%;
75
+ }
76
+ .moz-input-wrapper .input-label {
77
+ display: flex;
78
+ align-items: center;
79
+ }
80
+ .moz-input-wrapper .moz-input {
81
+ height: 1.875rem;
82
+ padding: 0 0.625rem;
83
+ border: 1px solid var(--moz-color-border);
84
+ border-radius: var(--moz-radius-control);
85
+ background-color: var(--moz-color-surface);
86
+ box-sizing: border-box;
87
+ color: var(--moz-color-text);
88
+ font-size: 0.8125rem;
89
+ font-family: inherit;
90
+ text-overflow: ellipsis;
91
+ white-space: nowrap;
92
+ overflow: hidden;
93
+ }
94
+ .moz-input-wrapper .moz-input:hover {
95
+ border-color: var(--moz-color-accent);
96
+ }
97
+ .moz-input-wrapper .moz-input:focus {
98
+ border-color: var(--moz-color-accent);
99
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
100
+ outline: none;
101
+ }
102
+ .moz-input-wrapper .moz-input::placeholder {
103
+ color: var(--moz-color-text-subtle);
104
+ font-size: 0.8125rem;
105
+ }
106
+ .moz-input-wrapper .moz-input.has-inside-message {
107
+ padding-right: 50%;
108
+ }
109
+ .moz-input-wrapper .moz-input.has-invalid-icon {
110
+ padding-right: 1.875rem;
111
+ }
112
+ .moz-input-wrapper .moz-input.disabled {
113
+ user-select: none;
114
+ color: var(--moz-color-text-muted);
115
+ border: 1px solid var(--moz-color-text-muted);
116
+ background: var(--moz-color-surface-subtle);
117
+ cursor: not-allowed;
118
+ }
119
+ .moz-input-wrapper .moz-input.disabled::placeholder {
120
+ color: var(--moz-color-text-muted);
121
+ }
122
+ .moz-input-wrapper .moz-input.disabled:hover {
123
+ border: 1px solid var(--moz-color-text-muted);
124
+ }
125
+ .moz-input-wrapper .moz-input.read-only {
126
+ user-select: none;
127
+ border: 1px solid var(--moz-color-border);
128
+ background: var(--moz-color-surface-muted);
129
+ cursor: not-allowed;
130
+ border-color: var(--moz-color-border);
131
+ }
132
+ .moz-input-wrapper .moz-input.read-only::placeholder {
133
+ color: var(--moz-color-text-muted);
134
+ }
135
+ .moz-input-wrapper.is-invalid .moz-input {
136
+ border-color: var(--moz-color-danger);
137
+ box-shadow: 0 0 0 3px var(--moz-color-danger-ring);
138
+ }
139
+ .moz-input-wrapper .moz-input-invalid-message {
140
+ color: var(--moz-color-danger);
141
+ font-size: 0.75rem;
142
+ font-weight: 500;
143
+ cursor: default;
144
+ }
145
+ .moz-input-wrapper .moz-input-invalid-message.position-outside {
146
+ position: absolute;
147
+ bottom: calc((0.75rem + 7px) * -1);
148
+ left: 0;
149
+ max-width: 100%;
150
+ overflow: hidden;
151
+ text-overflow: ellipsis;
152
+ white-space: nowrap;
153
+ }
154
+ .moz-input-wrapper .moz-input-invalid-message.position-inside {
155
+ position: absolute;
156
+ top: 50%;
157
+ right: 2px;
158
+ transform: translateY(-50%);
159
+ white-space: nowrap;
160
+ padding: 0 2px;
161
+ pointer-events: auto;
162
+ max-width: 50%;
163
+ overflow: hidden;
164
+ text-overflow: ellipsis;
165
+ z-index: 1;
166
+ }
167
+ .moz-input-wrapper .moz-input-invalid-icon-v2 {
168
+ position: absolute;
169
+ bottom: 0;
170
+ right: 0;
171
+ width: 1.875rem;
172
+ height: 1.875rem;
173
+ display: flex;
174
+ align-items: center;
175
+ justify-content: center;
176
+ cursor: pointer;
177
+ z-index: 1;
178
+ }
179
+ }
@@ -0,0 +1,65 @@
1
+ @charset "UTF-8";
2
+ /* moz color tokens — override in :root */
3
+ @layer moz {
4
+ :root {
5
+ /* ── 기본 팔레트 ── */
6
+ --moz-color-accent: #4568e0;
7
+ --moz-color-accent-strong: #3e5dc9;
8
+ --moz-color-accent-subtle: #e2e7fa;
9
+ --moz-color-danger: #dc5a5a;
10
+ --moz-color-warning: #fa9e23;
11
+ --moz-color-success: #357e63;
12
+ --moz-color-surface: #ffffff;
13
+ --moz-color-on-accent: #ffffff;
14
+ --moz-color-surface-subtle: #f4f4f9;
15
+ --moz-color-surface-muted: #f8f8fd;
16
+ --moz-color-border: #bac6d4;
17
+ --moz-color-border-subtle: #e1e3f0;
18
+ --moz-color-text: #28364e;
19
+ --moz-color-text-secondary: #6a7184;
20
+ --moz-color-text-subtle: #96a5be;
21
+ --moz-color-text-muted: #a7b1bc;
22
+ --moz-color-disabled: #e0e1ec;
23
+ /* 반전 표면 — 툴팁처럼 본문과 배경/전경이 뒤집힌 떠 있는 조각 */
24
+ --moz-color-inverse-surface: var(--moz-color-text);
25
+ --moz-color-inverse-text: var(--moz-color-surface);
26
+ /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
27
+ --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 20%, transparent);
28
+ --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
29
+ --moz-color-accent-soft: color-mix(in srgb, var(--moz-color-accent) 16%, transparent);
30
+ --moz-color-accent-ghost: color-mix(in srgb, var(--moz-color-accent) 9%, transparent);
31
+ --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 20%, transparent);
32
+ --moz-color-danger-ghost: color-mix(in srgb, var(--moz-color-danger) 13%, transparent);
33
+ --moz-color-muted-soft: color-mix(in srgb, var(--moz-color-text-subtle) 16%, transparent);
34
+ /* ── 그림자·스크림 ── */
35
+ --moz-color-shadow: rgb(57 55 122 / 0.1);
36
+ --moz-color-shadow-weak: rgb(0 0 0 / 0.05);
37
+ --moz-color-scrim: rgb(0 0 0 / 0.3);
38
+ --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
39
+ }
40
+ }
41
+ /**
42
+ * Label 스타일 — Label.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
43
+ */
44
+ @layer moz {
45
+ .moz-label {
46
+ user-select: none;
47
+ font-size: 0.75rem;
48
+ color: var(--moz-color-text-secondary);
49
+ font-weight: 500;
50
+ line-height: 12px;
51
+ text-align: left;
52
+ }
53
+ .moz-label.disabled {
54
+ pointer-events: none;
55
+ color: var(--moz-color-text-muted);
56
+ }
57
+ .moz-label.read-only {
58
+ pointer-events: none;
59
+ color: var(--moz-color-text-secondary);
60
+ }
61
+ .moz-label .require-mark {
62
+ padding-left: 0.1875rem;
63
+ color: var(--moz-color-danger);
64
+ }
65
+ }
@@ -0,0 +1,394 @@
1
+ @charset "UTF-8";
2
+ /* moz color tokens — override in :root */
3
+ @layer moz {
4
+ :root {
5
+ /* ── 기본 팔레트 ── */
6
+ --moz-color-accent: #4568e0;
7
+ --moz-color-accent-strong: #3e5dc9;
8
+ --moz-color-accent-subtle: #e2e7fa;
9
+ --moz-color-danger: #dc5a5a;
10
+ --moz-color-warning: #fa9e23;
11
+ --moz-color-success: #357e63;
12
+ --moz-color-surface: #ffffff;
13
+ --moz-color-on-accent: #ffffff;
14
+ --moz-color-surface-subtle: #f4f4f9;
15
+ --moz-color-surface-muted: #f8f8fd;
16
+ --moz-color-border: #bac6d4;
17
+ --moz-color-border-subtle: #e1e3f0;
18
+ --moz-color-text: #28364e;
19
+ --moz-color-text-secondary: #6a7184;
20
+ --moz-color-text-subtle: #96a5be;
21
+ --moz-color-text-muted: #a7b1bc;
22
+ --moz-color-disabled: #e0e1ec;
23
+ /* 반전 표면 — 툴팁처럼 본문과 배경/전경이 뒤집힌 떠 있는 조각 */
24
+ --moz-color-inverse-surface: var(--moz-color-text);
25
+ --moz-color-inverse-text: var(--moz-color-surface);
26
+ /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
27
+ --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 20%, transparent);
28
+ --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
29
+ --moz-color-accent-soft: color-mix(in srgb, var(--moz-color-accent) 16%, transparent);
30
+ --moz-color-accent-ghost: color-mix(in srgb, var(--moz-color-accent) 9%, transparent);
31
+ --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 20%, transparent);
32
+ --moz-color-danger-ghost: color-mix(in srgb, var(--moz-color-danger) 13%, transparent);
33
+ --moz-color-muted-soft: color-mix(in srgb, var(--moz-color-text-subtle) 16%, transparent);
34
+ /* ── 그림자·스크림 ── */
35
+ --moz-color-shadow: rgb(57 55 122 / 0.1);
36
+ --moz-color-shadow-weak: rgb(0 0 0 / 0.05);
37
+ --moz-color-scrim: rgb(0 0 0 / 0.3);
38
+ --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
39
+ }
40
+ }
41
+ /* moz radius tokens — override in :root */
42
+ @layer moz {
43
+ :root {
44
+ /* 소형 마커 — 체크박스, 칩 내부 요소 */
45
+ --moz-radius-xs: 2px;
46
+ /* 컨트롤 박스 — 버튼·입력·셀렉트·탭·브레드크럼 (가장 많이 쓰이는 값) */
47
+ --moz-radius-control: 4px;
48
+ /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
49
+ --moz-radius-surface: 6px;
50
+ /* 떠 있는 패널 — 팝업·대화상자 */
51
+ --moz-radius-panel: 10px;
52
+ /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
53
+ 소비자가 panel 을 카드값으로 올려도 태그까지 알약이 되지 않도록 분리해 둔다) */
54
+ --moz-radius-chip: 10px;
55
+ /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
56
+ --moz-radius-pill: 999px;
57
+ /* 원 — 아바타 */
58
+ --moz-radius-circle: 50%;
59
+ }
60
+ }
61
+ /**
62
+ * MultiSelect 스타일 — MultiSelect.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ * 드롭다운(.list-box)은 body 포털 + position:absolute(코어 calcPosition). Label 은 label.css 도 함께 import.
64
+ * v-bind(widthValue) → width:100%(부모 폭 = 루트 widthValue). 죽은 .mozart-icons(폰트 아이콘) 규칙은 생략.
65
+ * 체크박스 비주얼은 data-URI SVG 배경(자체 완결).
66
+ */
67
+ @layer moz {
68
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list {
69
+ position: relative;
70
+ inset: auto;
71
+ width: 100%;
72
+ max-height: none;
73
+ margin: 0;
74
+ border: 0;
75
+ border-radius: 0;
76
+ box-shadow: none;
77
+ z-index: auto;
78
+ }
79
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list .filter-input {
80
+ height: 32px;
81
+ margin: 12px 16px 8px;
82
+ border: 1px solid var(--moz-color-border);
83
+ border-radius: var(--moz-radius-control);
84
+ }
85
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list .filter-input:focus-within {
86
+ border-color: var(--moz-color-accent);
87
+ }
88
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list .list-box-container {
89
+ height: var(--moz-multiselect-list-height, 224px);
90
+ max-height: min(var(--moz-multiselect-list-height, 224px), 40vh);
91
+ padding: 0;
92
+ overscroll-behavior: contain;
93
+ }
94
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list .list-box-item {
95
+ padding-inline: 16px;
96
+ }
97
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list .multi-select-all {
98
+ margin: 0 0 6px;
99
+ }
100
+ .moz-multi-select.moz-multi-select-inline > .list-box.moz-multiselect-inline-list [aria-disabled=true] {
101
+ cursor: not-allowed;
102
+ opacity: 0.5;
103
+ }
104
+ .moz-multi-select {
105
+ align-items: flex-start;
106
+ flex-direction: column;
107
+ margin: 0;
108
+ display: flex;
109
+ position: relative;
110
+ }
111
+ .moz-multi-select span.require-mark {
112
+ color: var(--moz-color-danger);
113
+ }
114
+ .moz-multi-select .moz-input-container {
115
+ width: 100%;
116
+ min-height: 30px;
117
+ height: 30px;
118
+ box-sizing: border-box;
119
+ border: 1px solid var(--moz-color-border);
120
+ border-radius: var(--moz-radius-control);
121
+ background-color: var(--moz-color-surface);
122
+ overflow: hidden;
123
+ display: flex;
124
+ }
125
+ .moz-multi-select .moz-input-container input {
126
+ width: 100%;
127
+ min-height: 100%;
128
+ height: 100%;
129
+ font-size: 0.813rem;
130
+ color: var(--moz-color-text);
131
+ border: none;
132
+ outline: none;
133
+ box-sizing: border-box;
134
+ padding: 0.375rem 0.625rem;
135
+ padding-right: 0;
136
+ background-color: transparent;
137
+ }
138
+ .moz-multi-select .moz-input-container input::placeholder {
139
+ color: var(--moz-color-text-subtle);
140
+ }
141
+ .moz-multi-select .moz-input-container .icon-container {
142
+ width: 34px;
143
+ min-width: 34px;
144
+ height: 100%;
145
+ -webkit-appearance: button;
146
+ background-color: transparent;
147
+ background-image: none;
148
+ border: none;
149
+ padding: 0;
150
+ display: flex;
151
+ justify-content: center;
152
+ align-items: center;
153
+ }
154
+ .moz-multi-select.disabled {
155
+ cursor: not-allowed;
156
+ }
157
+ .moz-multi-select.disabled .moz-input-container {
158
+ border-color: var(--moz-color-text-muted);
159
+ background-color: var(--moz-color-surface-subtle);
160
+ pointer-events: none;
161
+ }
162
+ .moz-multi-select.disabled input {
163
+ color: var(--moz-color-text-muted);
164
+ }
165
+ .moz-multi-select.disabled input::placeholder {
166
+ color: var(--moz-color-text-muted);
167
+ }
168
+ .moz-multi-select.disabled:hover, .moz-multi-select.disabled:focus, .moz-multi-select.disabled:focus-within, .moz-multi-select.disabled.is-open {
169
+ border-color: var(--moz-color-text-muted);
170
+ }
171
+ .moz-multi-select.disabled:hover .moz-input-container, .moz-multi-select.disabled:focus .moz-input-container, .moz-multi-select.disabled:focus-within .moz-input-container, .moz-multi-select.disabled.is-open .moz-input-container {
172
+ border-color: var(--moz-color-text-muted);
173
+ }
174
+ .moz-multi-select:hover .moz-input-container, .moz-multi-select:focus-within .moz-input-container, .moz-multi-select.is-open .moz-input-container {
175
+ border-color: var(--moz-color-accent);
176
+ }
177
+ .moz-multi-select:focus-within .moz-input-container {
178
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
179
+ }
180
+ .moz-multi-select .input-wrapper {
181
+ width: 100%;
182
+ display: flex;
183
+ flex-direction: column;
184
+ gap: 0.375rem;
185
+ }
186
+ .moz-multi-select.is-invalid .moz-input-container {
187
+ border-color: var(--moz-color-danger);
188
+ box-shadow: 0 0 0 3px var(--moz-color-danger-ring);
189
+ }
190
+ .moz-multi-select .moz-input-invalid-message {
191
+ position: absolute;
192
+ bottom: -1rem;
193
+ color: var(--moz-color-danger);
194
+ font-size: 0.688rem;
195
+ font-weight: 500;
196
+ }
197
+ .list-box {
198
+ position: fixed;
199
+ background-color: var(--moz-color-surface);
200
+ box-shadow: 0px 3px 4px 0px var(--moz-color-shadow);
201
+ border: 1px solid var(--moz-color-border);
202
+ border-radius: var(--moz-radius-control);
203
+ z-index: 1000;
204
+ max-height: 250px;
205
+ box-sizing: border-box;
206
+ margin: 0.25rem 0;
207
+ }
208
+ .list-box:not(.show-top) {
209
+ top: 48px;
210
+ }
211
+ .list-box.show-top {
212
+ transform: translateY(calc(-100% - 19px));
213
+ }
214
+ .list-box.no-label:not(.show-top) {
215
+ top: 34px;
216
+ }
217
+ .list-box.no-label.show-top {
218
+ transform: translateY(calc(-100% - 4px)));
219
+ }
220
+ .list-box .moz-checkbox:focus {
221
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
222
+ border-color: var(--moz-color-accent);
223
+ border-radius: var(--moz-radius-xs);
224
+ }
225
+ .list-box .search-icon {
226
+ display: flex;
227
+ justify-content: center;
228
+ align-items: center;
229
+ margin-right: 10px;
230
+ }
231
+ .list-box .list-box-container {
232
+ max-height: 250px;
233
+ overflow-y: auto;
234
+ padding: 0.375rem 0;
235
+ }
236
+ .list-box:has(.multi-select-all) .multi-select-all {
237
+ justify-content: space-between;
238
+ margin-top: 0.375rem;
239
+ }
240
+ .list-box:has(.multi-select-all) .multi-select-all.is-scrolled {
241
+ box-shadow: 0px 3px 4px 0px var(--moz-color-shadow);
242
+ }
243
+ .list-box:has(.multi-select-all) .list-box-container {
244
+ max-height: 188px;
245
+ padding-top: 0;
246
+ }
247
+ .list-box .filter-input {
248
+ border-bottom: 1px solid var(--moz-color-border);
249
+ position: relative;
250
+ height: 29px;
251
+ box-sizing: border-box;
252
+ display: flex;
253
+ border-radius: var(--moz-radius-control) var(--moz-radius-control) 0 0;
254
+ overflow: hidden;
255
+ }
256
+ .list-box .filter-input input {
257
+ width: 100%;
258
+ background-color: transparent;
259
+ color: var(--moz-color-text);
260
+ font-size: 0.813rem;
261
+ padding: 0.131rem 0.625rem;
262
+ border: none;
263
+ outline: none;
264
+ }
265
+ .list-box .filter-input input::placeholder {
266
+ color: var(--moz-color-text-subtle);
267
+ }
268
+ .list-box .list-box-item {
269
+ font-size: 0.813rem;
270
+ min-height: 24px;
271
+ line-height: 24px;
272
+ padding: 0 0.625rem;
273
+ box-sizing: border-box;
274
+ cursor: pointer;
275
+ display: flex;
276
+ justify-content: space-between;
277
+ align-items: center;
278
+ color: var(--moz-color-text);
279
+ gap: 0.375rem;
280
+ }
281
+ .list-box .list-box-item.loading.not-hover {
282
+ cursor: default;
283
+ color: var(--moz-color-text-subtle);
284
+ }
285
+ .list-box .list-box-item span {
286
+ text-overflow: ellipsis;
287
+ overflow: hidden;
288
+ white-space: nowrap;
289
+ }
290
+ .list-box .list-box-item .item-only {
291
+ font-size: 0.688rem;
292
+ color: var(--moz-color-text-secondary);
293
+ cursor: pointer;
294
+ padding: 0px;
295
+ display: none;
296
+ word-break: keep-all;
297
+ height: 15px;
298
+ line-height: 12px;
299
+ background: transparent;
300
+ border: none;
301
+ }
302
+ .list-box .list-box-item .item-only:focus {
303
+ outline: 1px solid var(--moz-color-accent);
304
+ outline-offset: 1px;
305
+ border-radius: var(--moz-radius-xs);
306
+ }
307
+ .list-box .list-box-item:hover:not(.not-hover), .list-box .list-box-item:focus-within:not(.not-hover) {
308
+ background-color: var(--moz-color-accent-ghost);
309
+ }
310
+ .list-box .list-box-item:hover:not(.not-hover) .item-only, .list-box .list-box-item:focus-within:not(.not-hover) .item-only {
311
+ display: block;
312
+ }
313
+ .list-box .list-box-item.moz-multi-focus {
314
+ background-color: var(--moz-color-accent-ghost);
315
+ }
316
+ .list-box .list-box-item.multi-select-item {
317
+ justify-content: flex-start;
318
+ user-select: none;
319
+ }
320
+ .highlight-container {
321
+ display: inline-block;
322
+ text-overflow: ellipsis;
323
+ overflow: hidden;
324
+ white-space: nowrap;
325
+ flex-grow: 1;
326
+ }
327
+ .highlight-container span {
328
+ text-overflow: initial;
329
+ overflow: initial;
330
+ white-space: inherit;
331
+ }
332
+ .highlight-container .highlight {
333
+ color: var(--moz-color-accent);
334
+ font-weight: bold;
335
+ }
336
+ .inner-container {
337
+ position: relative;
338
+ }
339
+ .virtual-row {
340
+ position: absolute;
341
+ width: 100%;
342
+ }
343
+ input[type=checkbox].moz-checkbox {
344
+ position: relative;
345
+ opacity: 1;
346
+ cursor: pointer;
347
+ -webkit-appearance: none;
348
+ -moz-appearance: none;
349
+ appearance: none;
350
+ box-sizing: border-box;
351
+ background-color: var(--moz-color-surface);
352
+ border: 1px solid var(--moz-color-border);
353
+ border-radius: var(--moz-radius-xs);
354
+ width: 12px;
355
+ height: 12px;
356
+ min-width: 12px;
357
+ min-height: 12px;
358
+ margin: 0;
359
+ }
360
+ input[type=checkbox].moz-checkbox:hover:not(:disabled) {
361
+ border-color: var(--moz-color-accent-strong);
362
+ }
363
+ input[type=checkbox].moz-checkbox:focus-visible {
364
+ outline: none;
365
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
366
+ }
367
+ input[type=checkbox].moz-checkbox:checked, input[type=checkbox].moz-checkbox.is-indeterminate {
368
+ background-color: var(--moz-color-accent);
369
+ border-color: var(--moz-color-accent);
370
+ }
371
+ input[type=checkbox].moz-checkbox:checked:hover:not(:disabled), input[type=checkbox].moz-checkbox.is-indeterminate:hover:not(:disabled) {
372
+ background-color: var(--moz-color-accent-strong);
373
+ }
374
+ input[type=checkbox].moz-checkbox:checked::after, input[type=checkbox].moz-checkbox.is-indeterminate::after {
375
+ content: "";
376
+ position: absolute;
377
+ inset: -1px;
378
+ background-color: var(--moz-color-on-accent);
379
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.276 6.142 4.667 8.294 9.723 3.469' fill='none' stroke='currentColor' stroke-width='1.33' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
380
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.276 6.142 4.667 8.294 9.723 3.469' fill='none' stroke='currentColor' stroke-width='1.33' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
381
+ }
382
+ input[type=checkbox].moz-checkbox.is-indeterminate::after {
383
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6H9' stroke='currentColor' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
384
+ mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6H9' stroke='currentColor' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
385
+ }
386
+ input[type=checkbox].moz-checkbox:disabled {
387
+ cursor: not-allowed;
388
+ background-color: var(--moz-color-disabled);
389
+ border-color: var(--moz-color-text-muted);
390
+ }
391
+ input[type=checkbox].moz-checkbox:checked:disabled, input[type=checkbox].moz-checkbox.is-indeterminate:disabled {
392
+ background-color: var(--moz-color-text-muted);
393
+ }
394
+ }