@vmscloud/moz-ui-components-core 0.1.65 → 0.1.66

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 (65) hide show
  1. package/dist/components/badge/badge.core.d.ts +2 -2
  2. package/dist/components/bread-crumb/icons.d.ts +2 -0
  3. package/dist/components/button/button.core.d.ts +17 -1
  4. package/dist/components/button/index.d.ts +2 -2
  5. package/dist/components/calendar/calendar.core.d.ts +2 -1
  6. package/dist/components/calendar/icons.d.ts +1 -1
  7. package/dist/components/checkbox/checkbox.core.d.ts +1 -1
  8. package/dist/components/checkbox/icons.d.ts +4 -1
  9. package/dist/components/chip/chip.core.d.ts +2 -2
  10. package/dist/components/input/input.core.d.ts +25 -1
  11. package/dist/components/multi-select/multiselect.core.d.ts +5 -1
  12. package/dist/components/notification/notification-item.core.d.ts +1 -1
  13. package/dist/components/number-input/numberinput.core.d.ts +3 -1
  14. package/dist/components/password-input/passwordinput.core.d.ts +14 -8
  15. package/dist/components/popup/popup.core.d.ts +5 -0
  16. package/dist/components/select/index.d.ts +1 -1
  17. package/dist/components/select/select.core.d.ts +13 -1
  18. package/dist/components/tab/icons.d.ts +2 -0
  19. package/dist/components/table-select/index.d.ts +1 -1
  20. package/dist/components/table-select/tableselect.core.d.ts +7 -11
  21. package/dist/components/time-picker/timepicker.core.d.ts +2 -1
  22. package/dist/components/toast/icons.d.ts +1 -0
  23. package/dist/components/tree-select/tree-utils.d.ts +2 -1
  24. package/dist/components/tree-select/treeselect.core.d.ts +5 -1
  25. package/dist/index.cjs +1047 -1119
  26. package/dist/index.cjs.map +1 -1
  27. package/dist/index.js +4049 -4136
  28. package/dist/index.js.map +1 -1
  29. package/dist/locale/types.d.ts +3 -0
  30. package/dist/styles/default/avatar.css +72 -12
  31. package/dist/styles/default/badge.css +96 -21
  32. package/dist/styles/default/breadcrumb.css +85 -16
  33. package/dist/styles/default/button.css +249 -30
  34. package/dist/styles/default/calendar.css +130 -26
  35. package/dist/styles/default/callout.css +75 -15
  36. package/dist/styles/default/checkbox.css +87 -24
  37. package/dist/styles/default/chip.css +117 -13
  38. package/dist/styles/default/contextmenu.css +117 -20
  39. package/dist/styles/default/controller.css +72 -12
  40. package/dist/styles/default/dateinput.css +112 -21
  41. package/dist/styles/default/emptystate.css +60 -12
  42. package/dist/styles/default/index.css +1457 -667
  43. package/dist/styles/default/input.css +155 -28
  44. package/dist/styles/default/label.css +96 -12
  45. package/dist/styles/default/multiselect.css +191 -15
  46. package/dist/styles/default/notification.css +99 -30
  47. package/dist/styles/default/numberinput.css +195 -27
  48. package/dist/styles/default/passwordinput.css +6 -198
  49. package/dist/styles/default/popover.css +73 -13
  50. package/dist/styles/default/popup.css +78 -14
  51. package/dist/styles/default/radio.css +182 -26
  52. package/dist/styles/default/scrollarea.css +73 -13
  53. package/dist/styles/default/select.css +347 -29
  54. package/dist/styles/default/slider.css +76 -16
  55. package/dist/styles/default/splitpane.css +54 -11
  56. package/dist/styles/default/tab.css +89 -12
  57. package/dist/styles/default/tableselect.css +95 -33
  58. package/dist/styles/default/taginput.css +77 -12
  59. package/dist/styles/default/textarea.css +98 -22
  60. package/dist/styles/default/timepicker.css +131 -33
  61. package/dist/styles/default/toast.css +101 -12
  62. package/dist/styles/default/toggle.css +86 -23
  63. package/dist/styles/default/tooltip.css +78 -18
  64. package/dist/styles/default/treeselect.css +98 -31
  65. package/package.json +1 -1
@@ -4,9 +4,9 @@
4
4
  :root {
5
5
  /* ── 기본 팔레트 ── */
6
6
  --moz-color-accent: #4568e0;
7
- --moz-color-accent-strong: #3e5dc9;
7
+ --moz-color-accent-strong: #3450b5;
8
8
  --moz-color-accent-subtle: #e2e7fa;
9
- --moz-color-danger: #dc5a5a;
9
+ --moz-color-danger: #d84a4b;
10
10
  --moz-color-warning: #fa9e23;
11
11
  --moz-color-success: #357e63;
12
12
  --moz-color-info: #2f86d6;
@@ -16,22 +16,65 @@
16
16
  --moz-color-on-warning: var(--moz-color-text);
17
17
  --moz-color-surface-subtle: #f4f4f9;
18
18
  --moz-color-surface-muted: #f8f8fd;
19
- --moz-color-border: #bac6d4;
20
- --moz-color-border-subtle: #e1e3f0;
21
- --moz-color-text: #28364e;
22
- --moz-color-text-secondary: #6a7184;
23
- --moz-color-text-subtle: #96a5be;
24
- --moz-color-text-muted: #a7b1bc;
25
- --moz-color-disabled: #e0e1ec;
19
+ --moz-color-neutral-subtle: #eef1f8;
20
+ --moz-color-segment-track: #dde1ed;
21
+ --moz-color-segment-hover: rgb(255 255 255 / 24%);
22
+ --moz-color-switch-track-off: #dae1f9;
23
+ --moz-color-switch-track-disabled-off: #dde1ed;
24
+ --moz-color-switch-track-disabled-on: #aeb7ca;
25
+ --moz-color-icon-button-foreground: #949eb8;
26
+ --moz-color-icon-button-hover: #f4f6fd;
27
+ --moz-color-icon-button-pressed: #ecf0fc;
28
+ --moz-color-icon-button-focus: #f8f8f8;
29
+ --moz-color-icon-button-weak: #ecf0fc;
30
+ --moz-color-icon-button-weak-interaction: #dae1f9;
31
+ --moz-color-button-outline-hover: #f4f6fd;
32
+ --moz-color-button-outline-pressed: #ecf0fc;
33
+ --moz-color-chip-selected: #ecf0fc;
34
+ --moz-color-chip-selected-hover: #f4f6fd;
35
+ --moz-color-chip-hover: #f7f9fd;
36
+ --moz-color-chip-border-disabled: #cbd2e1;
37
+ --moz-color-chip-close: #949eb8;
38
+ --moz-color-calendar-day-hover: #f4f6fd;
39
+ --moz-color-calendar-day-pressed: #ecf0fc;
40
+ --moz-color-context-menu-item-hover: #f4f6fd;
41
+ --moz-color-context-menu-arrow: #949eb8;
42
+ --moz-color-context-menu-arrow-disabled: #dde1ed;
43
+ --moz-color-calendar-nav-icon: #949eb8;
44
+ --moz-color-date-input-icon: #949eb8;
45
+ --moz-color-multi-select-search-icon: #949eb8;
46
+ --moz-color-notification-dot: #f58f8d;
47
+ --moz-color-notification-content: #f7f9fd;
48
+ --moz-color-notification-time: #949eb8;
49
+ --moz-color-time-picker-icon: #949eb8;
50
+ --moz-color-time-picker-option-hover: #f4f6fd;
51
+ --moz-color-time-picker-footer: #ecf0fc;
52
+ --moz-color-toast-info: #397bea;
53
+ --moz-color-border: #dde1ed;
54
+ --moz-color-border-marker: #cbd2e1;
55
+ --moz-color-border-marker-interaction: #949eb8;
56
+ --moz-color-border-subtle: #eef1f8;
57
+ --moz-color-text: #2d3752;
58
+ --moz-color-text-strong: #1d2340;
59
+ --moz-color-text-secondary: #646e8b;
60
+ --moz-color-breadcrumb-ancestor: #555f77;
61
+ --moz-color-breadcrumb-separator: #949eb8;
62
+ --moz-color-badge-line-warning-surface: #fff2e8;
63
+ --moz-color-badge-line-warning: #eb7114;
64
+ --moz-color-tab-close: #949EB8;
65
+ --moz-color-text-subtle: #aeb7ca;
66
+ --moz-color-text-muted: #cbd2e1;
67
+ --moz-color-disabled: #f7f9fd;
26
68
  /* 반전 표면 — 툴팁처럼 본문과 배경/전경이 뒤집힌 떠 있는 조각 */
27
69
  --moz-color-inverse-surface: var(--moz-color-text);
70
+ --moz-color-tooltip-surface: #555f77;
28
71
  --moz-color-inverse-text: var(--moz-color-surface);
29
72
  /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
30
- --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 20%, transparent);
73
+ --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 12%, transparent);
31
74
  --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
32
75
  --moz-color-accent-soft: color-mix(in srgb, var(--moz-color-accent) 16%, transparent);
33
76
  --moz-color-accent-ghost: color-mix(in srgb, var(--moz-color-accent) 9%, transparent);
34
- --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 20%, transparent);
77
+ --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 12%, transparent);
35
78
  --moz-color-danger-ghost: color-mix(in srgb, var(--moz-color-danger) 13%, transparent);
36
79
  --moz-color-muted-soft: color-mix(in srgb, var(--moz-color-text-subtle) 16%, transparent);
37
80
  --moz-color-info-soft: color-mix(in srgb, var(--moz-color-info) 16%, transparent);
@@ -50,10 +93,44 @@
50
93
  --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
51
94
  }
52
95
  }
53
- /**
54
- * NumberInput 스타일 — NumberInput.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
55
- * `:deep(path)` 는 light DOM 평문 셀렉터로 대체. (moz-button 기본 스타일은 button.css 를 함께 import)
56
- */
96
+ /* moz radius tokens — override in :root */
97
+ @layer moz {
98
+ :root {
99
+ /* 소형 마커 — 체크박스, 칩 내부 요소 */
100
+ --moz-radius-xs: 2px;
101
+ --moz-radius-marker: 4px;
102
+ /* 컨트롤 박스 — 버튼·입력·셀렉트·탭·브레드크럼 (가장 많이 쓰이는 값) */
103
+ --moz-radius-control: 8px;
104
+ --moz-radius-button-large: 10px;
105
+ --moz-radius-text-button: 6px;
106
+ --moz-radius-icon-button: 6px;
107
+ --moz-radius-segment-item: 6px;
108
+ /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
109
+ --moz-radius-surface: 6px;
110
+ --moz-radius-badge: 6px;
111
+ --moz-radius-textarea: 10px;
112
+ --moz-radius-select-panel: 12px;
113
+ --moz-radius-calendar-day: 10px;
114
+ --moz-radius-calendar-panel: 16px;
115
+ --moz-radius-calendar-option: 10px;
116
+ --moz-shadow-small: 0 2px 6px #00000014;
117
+ --moz-radius-popup: 16px;
118
+ --moz-shadow-medium: 0 4px 12px #0000001F;
119
+ /* 떠 있는 패널 — 팝업·대화상자 */
120
+ --moz-radius-panel: 10px;
121
+ /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
122
+ 소비자가 panel 을 카드값으로 올려도 태그까지 알약이 되지 않도록 분리해 둔다) */
123
+ --moz-radius-chip: 10px;
124
+ --moz-radius-radio-group-edge: 4px;
125
+ --moz-radius-select-filter: 4px;
126
+ /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
127
+ --moz-radius-pill: 999px;
128
+ /* 원 — 아바타 */
129
+ --moz-radius-circle: 50%;
130
+ --moz-font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
131
+ }
132
+ }
133
+ /** NumberInput: dedicated normal Quantity Picker paint; compact arrow mode retains its field styling. */
57
134
  @layer moz {
58
135
  .moz-number-input-container {
59
136
  display: flex;
@@ -72,17 +149,17 @@
72
149
  .moz-number-input-container .moz-number-input-wrapper:hover .moz-number-input, .moz-number-input-container .moz-number-input-wrapper:focus .moz-number-input, .moz-number-input-container .moz-number-input-wrapper:focus-within .moz-number-input {
73
150
  border-color: var(--moz-color-accent);
74
151
  }
75
- .moz-number-input-container .moz-number-input-wrapper:hover .moz-number-input .moz-number-input-btn-icon path, .moz-number-input-container .moz-number-input-wrapper:focus .moz-number-input .moz-number-input-btn-icon path, .moz-number-input-container .moz-number-input-wrapper:focus-within .moz-number-input .moz-number-input-btn-icon path {
152
+ .moz-number-input-container .moz-number-input-wrapper:hover .moz-number-input .moz-number-input-btn-icon:not(:disabled) path, .moz-number-input-container .moz-number-input-wrapper:focus .moz-number-input .moz-number-input-btn-icon:not(:disabled) path, .moz-number-input-container .moz-number-input-wrapper:focus-within .moz-number-input .moz-number-input-btn-icon:not(:disabled) path {
76
153
  fill: var(--moz-color-accent);
77
154
  }
78
155
  .moz-number-input-container .moz-number-input-wrapper:hover .num-change-btn.disabled, .moz-number-input-container .moz-number-input-wrapper:focus .num-change-btn.disabled, .moz-number-input-container .moz-number-input-wrapper:focus-within .num-change-btn.disabled {
79
- border-color: var(--moz-color-text-muted);
156
+ border-color: var(--moz-color-border);
80
157
  }
81
158
  .moz-number-input-container .moz-number-input-wrapper:hover .num-change-btn.disabled.min-disabled, .moz-number-input-container .moz-number-input-wrapper:focus .num-change-btn.disabled.min-disabled, .moz-number-input-container .moz-number-input-wrapper:focus-within .num-change-btn.disabled.min-disabled {
82
- border-right-color: var(--moz-color-text-muted);
159
+ border-right-color: var(--moz-color-border);
83
160
  }
84
161
  .moz-number-input-container .moz-number-input-wrapper:hover .num-change-btn.disabled.max-disabled, .moz-number-input-container .moz-number-input-wrapper:focus .num-change-btn.disabled.max-disabled, .moz-number-input-container .moz-number-input-wrapper:focus-within .num-change-btn.disabled.max-disabled {
85
- border-left-color: var(--moz-color-text-muted);
162
+ border-left-color: var(--moz-color-border);
86
163
  }
87
164
  .moz-number-input-container .moz-number-input-wrapper .num-change-btn {
88
165
  box-sizing: border-box;
@@ -92,8 +169,8 @@
92
169
  padding: 4px;
93
170
  }
94
171
  .moz-number-input-container .moz-number-input-wrapper .num-change-btn.disabled {
95
- border: 1px solid var(--moz-color-text-muted);
96
- background-color: var(--moz-color-surface-subtle);
172
+ border: 1px solid var(--moz-color-border);
173
+ background-color: var(--moz-color-disabled);
97
174
  }
98
175
  .moz-number-input-container .moz-number-input-wrapper .num-change-btn:focus {
99
176
  box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
@@ -132,7 +209,7 @@
132
209
  background-color: transparent;
133
210
  }
134
211
  .moz-number-input-container .moz-number-input-wrapper .moz-number-input:focus-within {
135
- box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
212
+ box-shadow: 0 0 0 4px var(--moz-color-accent-ring);
136
213
  z-index: 2;
137
214
  }
138
215
  .moz-number-input-container .moz-number-input-wrapper .moz-number-input-btn {
@@ -142,6 +219,10 @@
142
219
  border-style: none;
143
220
  }
144
221
  .moz-number-input-container .moz-number-input-wrapper .moz-number-input-btn-icon {
222
+ appearance: none;
223
+ border: 0;
224
+ padding: 0;
225
+ background: transparent;
145
226
  display: flex;
146
227
  align-items: center;
147
228
  justify-content: center;
@@ -163,15 +244,15 @@
163
244
  margin-right: 9px;
164
245
  }
165
246
  .moz-number-input-container.disabled .moz-number-input-wrapper .num-change-btn {
166
- border: 1px solid var(--moz-color-text-muted);
167
- background-color: var(--moz-color-surface-subtle);
247
+ border: 1px solid var(--moz-color-border);
248
+ background-color: var(--moz-color-disabled);
168
249
  }
169
250
  .moz-number-input-container.disabled .moz-number-input-wrapper .num-change-btn:hover {
170
- background-color: var(--moz-color-surface-subtle);
251
+ background-color: var(--moz-color-disabled);
171
252
  }
172
253
  .moz-number-input-container.disabled .moz-number-input-wrapper .moz-number-input {
173
- border-color: var(--moz-color-text-muted);
174
- background-color: var(--moz-color-surface-subtle);
254
+ border-color: var(--moz-color-border);
255
+ background-color: var(--moz-color-disabled);
175
256
  }
176
257
  .moz-number-input-container.disabled .moz-number-input-wrapper .moz-number-input input {
177
258
  cursor: not-allowed;
@@ -183,4 +264,91 @@
183
264
  .moz-number-input-container.disabled:hover .moz-date-input, .moz-number-input-container.disabled:focus .moz-date-input, .moz-number-input-container.disabled:focus-within .moz-date-input {
184
265
  border-color: var(--moz-color-text-muted);
185
266
  }
267
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity {
268
+ --moz-radius-number-input-button: 7px;
269
+ box-sizing: border-box;
270
+ height: 32px;
271
+ border: 1px solid var(--moz-color-border);
272
+ border-radius: var(--moz-radius-control);
273
+ background-color: var(--moz-color-surface);
274
+ }
275
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .moz-number-input {
276
+ flex: 1 1 0;
277
+ min-width: 0;
278
+ height: 100%;
279
+ min-height: 0;
280
+ border: 0;
281
+ background: transparent;
282
+ box-shadow: none;
283
+ }
284
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .moz-number-input input {
285
+ min-width: 0;
286
+ padding: 0;
287
+ font-family: var(--moz-font-family);
288
+ font-size: 0.875rem;
289
+ line-height: 20px;
290
+ font-weight: 400;
291
+ }
292
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn {
293
+ position: relative;
294
+ appearance: none;
295
+ display: flex;
296
+ align-items: center;
297
+ justify-content: center;
298
+ flex: 0 0 30px;
299
+ width: 30px;
300
+ min-width: 0;
301
+ height: 100%;
302
+ padding: 8px;
303
+ border: 0;
304
+ background: transparent;
305
+ color: var(--moz-color-text-secondary);
306
+ cursor: pointer;
307
+ border-radius: var(--moz-radius-number-input-button);
308
+ }
309
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn svg {
310
+ flex: none;
311
+ }
312
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn::after {
313
+ content: "";
314
+ position: absolute;
315
+ top: 7px;
316
+ height: 16px;
317
+ width: 1px;
318
+ border-radius: var(--moz-radius-pill);
319
+ background: var(--moz-color-border);
320
+ }
321
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:first-child::after {
322
+ right: 0;
323
+ }
324
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:last-child::after {
325
+ left: 0;
326
+ }
327
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:hover:not(.disabled), .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:active:not(.disabled) {
328
+ background-color: var(--moz-color-icon-button-hover);
329
+ }
330
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn.disabled {
331
+ border: 0;
332
+ background: transparent;
333
+ color: var(--moz-color-text-muted);
334
+ cursor: not-allowed;
335
+ }
336
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:focus {
337
+ box-shadow: none;
338
+ }
339
+ .moz-number-input-container .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:focus-visible:not(.disabled) {
340
+ background-color: var(--moz-color-surface);
341
+ outline: none;
342
+ box-shadow: 0 0 0 4px var(--moz-color-accent-ring);
343
+ }
344
+ .moz-number-input-container.disabled .moz-number-input-wrapper.moz-number-input-quantity {
345
+ background-color: var(--moz-color-disabled);
346
+ }
347
+ .moz-number-input-container.disabled .moz-number-input-wrapper.moz-number-input-quantity .moz-number-input {
348
+ background: transparent;
349
+ }
350
+ .moz-number-input-container.disabled .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn, .moz-number-input-container.disabled .moz-number-input-wrapper.moz-number-input-quantity .num-change-btn:hover {
351
+ background: transparent;
352
+ border: 0;
353
+ }
186
354
  }
@@ -1,201 +1,9 @@
1
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-info: #2f86d6;
13
- --moz-color-surface: #ffffff;
14
- --moz-color-on-accent: #ffffff;
15
- --moz-color-on-status: #ffffff;
16
- --moz-color-on-warning: var(--moz-color-text);
17
- --moz-color-surface-subtle: #f4f4f9;
18
- --moz-color-surface-muted: #f8f8fd;
19
- --moz-color-border: #bac6d4;
20
- --moz-color-border-subtle: #e1e3f0;
21
- --moz-color-text: #28364e;
22
- --moz-color-text-secondary: #6a7184;
23
- --moz-color-text-subtle: #96a5be;
24
- --moz-color-text-muted: #a7b1bc;
25
- --moz-color-disabled: #e0e1ec;
26
- /* 반전 표면 — 툴팁처럼 본문과 배경/전경이 뒤집힌 떠 있는 조각 */
27
- --moz-color-inverse-surface: var(--moz-color-text);
28
- --moz-color-inverse-text: var(--moz-color-surface);
29
- /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
30
- --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 20%, transparent);
31
- --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
32
- --moz-color-accent-soft: color-mix(in srgb, var(--moz-color-accent) 16%, transparent);
33
- --moz-color-accent-ghost: color-mix(in srgb, var(--moz-color-accent) 9%, transparent);
34
- --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 20%, transparent);
35
- --moz-color-danger-ghost: color-mix(in srgb, var(--moz-color-danger) 13%, transparent);
36
- --moz-color-muted-soft: color-mix(in srgb, var(--moz-color-text-subtle) 16%, transparent);
37
- --moz-color-info-soft: color-mix(in srgb, var(--moz-color-info) 16%, transparent);
38
- --moz-color-success-soft: color-mix(in srgb, var(--moz-color-success) 16%, transparent);
39
- --moz-color-warning-soft: color-mix(in srgb, var(--moz-color-warning) 16%, transparent);
40
- --moz-color-danger-soft: color-mix(in srgb, var(--moz-color-danger) 16%, transparent);
41
- --moz-color-accent-edge: color-mix(in srgb, var(--moz-color-accent) 32%, transparent);
42
- --moz-color-info-edge: color-mix(in srgb, var(--moz-color-info) 32%, transparent);
43
- --moz-color-success-edge: color-mix(in srgb, var(--moz-color-success) 32%, transparent);
44
- --moz-color-warning-edge: color-mix(in srgb, var(--moz-color-warning) 32%, transparent);
45
- --moz-color-danger-edge: color-mix(in srgb, var(--moz-color-danger) 32%, transparent);
46
- /* ── 그림자·스크림 ── */
47
- --moz-color-shadow: rgb(57 55 122 / 0.1);
48
- --moz-color-shadow-weak: rgb(0 0 0 / 0.05);
49
- --moz-color-scrim: rgb(0 0 0 / 0.3);
50
- --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
51
- }
52
- }
53
- /* moz radius tokens — override in :root */
54
- @layer moz {
55
- :root {
56
- /* 소형 마커 — 체크박스, 칩 내부 요소 */
57
- --moz-radius-xs: 2px;
58
- /* 컨트롤 박스 — 버튼·입력·셀렉트·탭·브레드크럼 (가장 많이 쓰이는 값) */
59
- --moz-radius-control: 4px;
60
- /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
61
- --moz-radius-surface: 6px;
62
- /* 떠 있는 패널 — 팝업·대화상자 */
63
- --moz-radius-panel: 10px;
64
- /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
65
- 소비자가 panel 을 카드값으로 올려도 태그까지 알약이 되지 않도록 분리해 둔다) */
66
- --moz-radius-chip: 10px;
67
- /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
68
- --moz-radius-pill: 999px;
69
- /* 원 — 아바타 */
70
- --moz-radius-circle: 50%;
71
- }
72
- }
73
2
  /**
74
- * PasswordInput 스타일 — PasswordInput.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
3
+ * PasswordInput 스타일 — Input 으로 통합됐다.
4
+ *
5
+ * PasswordInput 은 `Input type="password"` 의 호환 래퍼이며 모든 규칙(필드·토글·오류)은
6
+ * input.scss 의 `.moz-input-wrapper` 아래에 있다. 루트에 남는 `moz-password-input-container`
7
+ * class 는 소비자 재정의 호환 훅일 뿐 기본 스타일을 갖지 않는다.
8
+ * 이 파일은 `@use './passwordinput'`·`dist/styles/default/passwordinput.css` 경로 호환을 위해 남긴다.
75
9
  */
76
- @layer moz {
77
- .moz-password-input-container {
78
- position: relative;
79
- display: flex;
80
- flex-direction: column;
81
- }
82
- .moz-password-input-container.is-invalid .moz-input {
83
- border-color: var(--moz-color-danger);
84
- box-shadow: 0 0 0 3px var(--moz-color-danger-ring);
85
- }
86
- .moz-password-input-container .input-wrapper {
87
- display: flex;
88
- height: 100%;
89
- flex-direction: column;
90
- gap: 6px;
91
- }
92
- .moz-password-input-container .moz-input-label {
93
- display: flex;
94
- align-items: center;
95
- }
96
- .moz-password-input-container .moz-password-input-wrapper {
97
- position: relative;
98
- }
99
- .moz-password-input-container .moz-input {
100
- height: 1.875rem;
101
- padding: 0 10px;
102
- padding-right: 33px;
103
- box-sizing: border-box;
104
- border-radius: var(--moz-radius-control);
105
- border: 1px solid var(--moz-color-border);
106
- background-color: var(--moz-color-surface);
107
- font-family: inherit;
108
- font-size: 0.8125rem;
109
- color: var(--moz-color-text);
110
- text-overflow: ellipsis;
111
- white-space: nowrap;
112
- overflow: hidden;
113
- }
114
- .moz-password-input-container .moz-input:hover {
115
- border-color: var(--moz-color-accent);
116
- }
117
- .moz-password-input-container .moz-input:focus {
118
- border-color: var(--moz-color-accent);
119
- box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
120
- outline: none;
121
- }
122
- .moz-password-input-container .moz-input::placeholder {
123
- color: var(--moz-color-text-subtle);
124
- font-size: 0.8125rem;
125
- }
126
- .moz-password-input-container .moz-input.edge-password::-ms-reveal, .moz-password-input-container .moz-input.edge-password::-ms-clear {
127
- display: none;
128
- }
129
- .moz-password-input-container .moz-input.disabled {
130
- cursor: not-allowed;
131
- user-select: none;
132
- border-color: var(--moz-color-text-muted);
133
- background-color: var(--moz-color-surface-subtle);
134
- color: var(--moz-color-text-muted);
135
- }
136
- .moz-password-input-container .moz-input.has-inside-message {
137
- padding-right: 50%;
138
- }
139
- .moz-password-input-container .moz-input.has-invalid-icon {
140
- padding-right: 60px;
141
- }
142
- .moz-password-input-container .icon-container.password-icon {
143
- position: absolute;
144
- top: 0;
145
- right: 0;
146
- z-index: 1;
147
- margin: 3px;
148
- margin-right: 7px;
149
- display: flex;
150
- height: 24px;
151
- width: 24px;
152
- align-items: center;
153
- justify-content: center;
154
- border-radius: var(--moz-radius-control);
155
- padding: 0;
156
- border: none;
157
- background: transparent;
158
- outline: none;
159
- }
160
- .moz-password-input-container .icon-container.password-icon:focus {
161
- box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
162
- }
163
- .moz-password-input-container .moz-input-invalid-icon-v2 {
164
- position: absolute;
165
- right: 31px;
166
- bottom: 1px;
167
- z-index: 1;
168
- display: flex;
169
- height: 30px;
170
- width: 30px;
171
- cursor: pointer;
172
- align-items: center;
173
- justify-content: center;
174
- }
175
- .moz-password-input-container .moz-input-invalid-message {
176
- cursor: default;
177
- font-size: 0.75rem;
178
- font-weight: 500;
179
- color: var(--moz-color-danger);
180
- }
181
- .moz-password-input-container .moz-input-invalid-message.position-outside {
182
- position: absolute;
183
- bottom: calc((0.75rem + 7px) * -1);
184
- left: 0;
185
- max-width: 100%;
186
- overflow: hidden;
187
- text-overflow: ellipsis;
188
- white-space: nowrap;
189
- }
190
- .moz-password-input-container .moz-input-invalid-message.position-inside {
191
- position: absolute;
192
- top: 50%;
193
- right: 2px;
194
- z-index: 1;
195
- max-width: 50%;
196
- transform: translateY(-50%);
197
- overflow: hidden;
198
- text-overflow: ellipsis;
199
- white-space: nowrap;
200
- }
201
- }
@@ -4,9 +4,9 @@
4
4
  :root {
5
5
  /* ── 기본 팔레트 ── */
6
6
  --moz-color-accent: #4568e0;
7
- --moz-color-accent-strong: #3e5dc9;
7
+ --moz-color-accent-strong: #3450b5;
8
8
  --moz-color-accent-subtle: #e2e7fa;
9
- --moz-color-danger: #dc5a5a;
9
+ --moz-color-danger: #d84a4b;
10
10
  --moz-color-warning: #fa9e23;
11
11
  --moz-color-success: #357e63;
12
12
  --moz-color-info: #2f86d6;
@@ -16,22 +16,65 @@
16
16
  --moz-color-on-warning: var(--moz-color-text);
17
17
  --moz-color-surface-subtle: #f4f4f9;
18
18
  --moz-color-surface-muted: #f8f8fd;
19
- --moz-color-border: #bac6d4;
20
- --moz-color-border-subtle: #e1e3f0;
21
- --moz-color-text: #28364e;
22
- --moz-color-text-secondary: #6a7184;
23
- --moz-color-text-subtle: #96a5be;
24
- --moz-color-text-muted: #a7b1bc;
25
- --moz-color-disabled: #e0e1ec;
19
+ --moz-color-neutral-subtle: #eef1f8;
20
+ --moz-color-segment-track: #dde1ed;
21
+ --moz-color-segment-hover: rgb(255 255 255 / 24%);
22
+ --moz-color-switch-track-off: #dae1f9;
23
+ --moz-color-switch-track-disabled-off: #dde1ed;
24
+ --moz-color-switch-track-disabled-on: #aeb7ca;
25
+ --moz-color-icon-button-foreground: #949eb8;
26
+ --moz-color-icon-button-hover: #f4f6fd;
27
+ --moz-color-icon-button-pressed: #ecf0fc;
28
+ --moz-color-icon-button-focus: #f8f8f8;
29
+ --moz-color-icon-button-weak: #ecf0fc;
30
+ --moz-color-icon-button-weak-interaction: #dae1f9;
31
+ --moz-color-button-outline-hover: #f4f6fd;
32
+ --moz-color-button-outline-pressed: #ecf0fc;
33
+ --moz-color-chip-selected: #ecf0fc;
34
+ --moz-color-chip-selected-hover: #f4f6fd;
35
+ --moz-color-chip-hover: #f7f9fd;
36
+ --moz-color-chip-border-disabled: #cbd2e1;
37
+ --moz-color-chip-close: #949eb8;
38
+ --moz-color-calendar-day-hover: #f4f6fd;
39
+ --moz-color-calendar-day-pressed: #ecf0fc;
40
+ --moz-color-context-menu-item-hover: #f4f6fd;
41
+ --moz-color-context-menu-arrow: #949eb8;
42
+ --moz-color-context-menu-arrow-disabled: #dde1ed;
43
+ --moz-color-calendar-nav-icon: #949eb8;
44
+ --moz-color-date-input-icon: #949eb8;
45
+ --moz-color-multi-select-search-icon: #949eb8;
46
+ --moz-color-notification-dot: #f58f8d;
47
+ --moz-color-notification-content: #f7f9fd;
48
+ --moz-color-notification-time: #949eb8;
49
+ --moz-color-time-picker-icon: #949eb8;
50
+ --moz-color-time-picker-option-hover: #f4f6fd;
51
+ --moz-color-time-picker-footer: #ecf0fc;
52
+ --moz-color-toast-info: #397bea;
53
+ --moz-color-border: #dde1ed;
54
+ --moz-color-border-marker: #cbd2e1;
55
+ --moz-color-border-marker-interaction: #949eb8;
56
+ --moz-color-border-subtle: #eef1f8;
57
+ --moz-color-text: #2d3752;
58
+ --moz-color-text-strong: #1d2340;
59
+ --moz-color-text-secondary: #646e8b;
60
+ --moz-color-breadcrumb-ancestor: #555f77;
61
+ --moz-color-breadcrumb-separator: #949eb8;
62
+ --moz-color-badge-line-warning-surface: #fff2e8;
63
+ --moz-color-badge-line-warning: #eb7114;
64
+ --moz-color-tab-close: #949EB8;
65
+ --moz-color-text-subtle: #aeb7ca;
66
+ --moz-color-text-muted: #cbd2e1;
67
+ --moz-color-disabled: #f7f9fd;
26
68
  /* 반전 표면 — 툴팁처럼 본문과 배경/전경이 뒤집힌 떠 있는 조각 */
27
69
  --moz-color-inverse-surface: var(--moz-color-text);
70
+ --moz-color-tooltip-surface: #555f77;
28
71
  --moz-color-inverse-text: var(--moz-color-surface);
29
72
  /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
30
- --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 20%, transparent);
73
+ --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 12%, transparent);
31
74
  --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
32
75
  --moz-color-accent-soft: color-mix(in srgb, var(--moz-color-accent) 16%, transparent);
33
76
  --moz-color-accent-ghost: color-mix(in srgb, var(--moz-color-accent) 9%, transparent);
34
- --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 20%, transparent);
77
+ --moz-color-danger-ring: color-mix(in srgb, var(--moz-color-danger) 12%, transparent);
35
78
  --moz-color-danger-ghost: color-mix(in srgb, var(--moz-color-danger) 13%, transparent);
36
79
  --moz-color-muted-soft: color-mix(in srgb, var(--moz-color-text-subtle) 16%, transparent);
37
80
  --moz-color-info-soft: color-mix(in srgb, var(--moz-color-info) 16%, transparent);
@@ -55,19 +98,36 @@
55
98
  :root {
56
99
  /* 소형 마커 — 체크박스, 칩 내부 요소 */
57
100
  --moz-radius-xs: 2px;
101
+ --moz-radius-marker: 4px;
58
102
  /* 컨트롤 박스 — 버튼·입력·셀렉트·탭·브레드크럼 (가장 많이 쓰이는 값) */
59
- --moz-radius-control: 4px;
103
+ --moz-radius-control: 8px;
104
+ --moz-radius-button-large: 10px;
105
+ --moz-radius-text-button: 6px;
106
+ --moz-radius-icon-button: 6px;
107
+ --moz-radius-segment-item: 6px;
60
108
  /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
61
109
  --moz-radius-surface: 6px;
110
+ --moz-radius-badge: 6px;
111
+ --moz-radius-textarea: 10px;
112
+ --moz-radius-select-panel: 12px;
113
+ --moz-radius-calendar-day: 10px;
114
+ --moz-radius-calendar-panel: 16px;
115
+ --moz-radius-calendar-option: 10px;
116
+ --moz-shadow-small: 0 2px 6px #00000014;
117
+ --moz-radius-popup: 16px;
118
+ --moz-shadow-medium: 0 4px 12px #0000001F;
62
119
  /* 떠 있는 패널 — 팝업·대화상자 */
63
120
  --moz-radius-panel: 10px;
64
121
  /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
65
122
  소비자가 panel 을 카드값으로 올려도 태그까지 알약이 되지 않도록 분리해 둔다) */
66
123
  --moz-radius-chip: 10px;
124
+ --moz-radius-radio-group-edge: 4px;
125
+ --moz-radius-select-filter: 4px;
67
126
  /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
68
127
  --moz-radius-pill: 999px;
69
128
  /* 원 — 아바타 */
70
129
  --moz-radius-circle: 50%;
130
+ --moz-font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
71
131
  }
72
132
  }
73
133
  /* moz popover — 앵커에 붙는 임의 콘텐츠 패널 (패널만 body 포털에 렌더, 트리거는 소비처 소유) */
@@ -82,7 +142,7 @@
82
142
  border-radius: var(--moz-radius-panel);
83
143
  background-color: var(--moz-color-surface);
84
144
  color: var(--moz-color-text);
85
- box-shadow: 0 8px 24px var(--moz-color-shadow);
145
+ box-shadow: 0 2px 6px var(--moz-color-shadow);
86
146
  outline: none;
87
147
  animation: moz-popover-in 120ms ease-out;
88
148
  }