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

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 (66) hide show
  1. package/MIGRATION.md +50 -0
  2. package/README.md +5 -0
  3. package/dist/components/button/button.core.d.ts +14 -1
  4. package/dist/components/button/circleLoader.d.ts +6 -0
  5. package/dist/components/button/index.d.ts +1 -1
  6. package/dist/components/callout/callout.core.d.ts +4 -0
  7. package/dist/components/callout/index.d.ts +2 -2
  8. package/dist/components/chip/chip.core.d.ts +4 -3
  9. package/dist/components/input/index.d.ts +3 -2
  10. package/dist/components/input/input.core.d.ts +13 -0
  11. package/dist/components/number-input/numberinput.core.d.ts +7 -0
  12. package/dist/components/radio/radio.core.d.ts +2 -0
  13. package/dist/components/select/index.d.ts +1 -1
  14. package/dist/components/select/select.core.d.ts +8 -0
  15. package/dist/components/slider/slider.core.d.ts +1 -1
  16. package/dist/components/textarea/index.d.ts +1 -1
  17. package/dist/components/textarea/textarea.core.d.ts +21 -0
  18. package/dist/components/time-picker/index.d.ts +1 -1
  19. package/dist/components/time-picker/timepicker.core.d.ts +1 -1
  20. package/dist/components/tooltip/index.d.ts +1 -1
  21. package/dist/components/tooltip/tooltip.core.d.ts +19 -1
  22. package/dist/index.cjs +888 -855
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.ts +0 -1
  25. package/dist/index.js +3592 -3391
  26. package/dist/index.js.map +1 -1
  27. package/dist/runtime/ChromeComponent.d.ts +5 -0
  28. package/dist/styles/default/avatar.css +184 -1
  29. package/dist/styles/default/badge.css +195 -1
  30. package/dist/styles/default/breadcrumb.css +186 -3
  31. package/dist/styles/default/button.css +360 -1
  32. package/dist/styles/default/calendar.css +212 -1
  33. package/dist/styles/default/callout.css +262 -1
  34. package/dist/styles/default/checkbox.css +187 -1
  35. package/dist/styles/default/chip.css +235 -4
  36. package/dist/styles/default/contextmenu.css +192 -9
  37. package/dist/styles/default/controller.css +185 -2
  38. package/dist/styles/default/dateinput.css +184 -1
  39. package/dist/styles/default/emptystate.css +128 -0
  40. package/dist/styles/default/index.css +1161 -187
  41. package/dist/styles/default/input.css +223 -1
  42. package/dist/styles/default/label.css +184 -1
  43. package/dist/styles/default/multiselect.css +213 -18
  44. package/dist/styles/default/notification.css +185 -2
  45. package/dist/styles/default/numberinput.css +219 -1
  46. package/dist/styles/default/popover.css +186 -3
  47. package/dist/styles/default/popup.css +269 -1
  48. package/dist/styles/default/radio.css +203 -1
  49. package/dist/styles/default/scrollarea.css +184 -1
  50. package/dist/styles/default/select.css +270 -21
  51. package/dist/styles/default/slider.css +285 -15
  52. package/dist/styles/default/splitpane.css +128 -0
  53. package/dist/styles/default/tab.css +192 -1
  54. package/dist/styles/default/tableselect.css +185 -2
  55. package/dist/styles/default/taginput.css +187 -4
  56. package/dist/styles/default/textarea.css +247 -3
  57. package/dist/styles/default/timepicker.css +209 -4
  58. package/dist/styles/default/toast.css +192 -2
  59. package/dist/styles/default/toggle.css +184 -1
  60. package/dist/styles/default/tooltip.css +198 -1
  61. package/dist/styles/default/treeselect.css +280 -12
  62. package/package.json +4 -2
  63. package/dist/components/password-input/index.d.ts +0 -7
  64. package/dist/components/password-input/passwordinput.core.d.ts +0 -35
  65. package/dist/styles/default/passwordinput.css +0 -9
  66. /package/dist/components/{password-input/icons.d.ts → input/passwordIcons.d.ts} +0 -0
@@ -22,6 +22,7 @@
22
22
  --moz-color-switch-track-off: #dae1f9;
23
23
  --moz-color-switch-track-disabled-off: #dde1ed;
24
24
  --moz-color-switch-track-disabled-on: #aeb7ca;
25
+ --moz-color-slider-track-disabled: #aeb7ca;
25
26
  --moz-color-icon-button-foreground: #949eb8;
26
27
  --moz-color-icon-button-hover: #f4f6fd;
27
28
  --moz-color-icon-button-pressed: #ecf0fc;
@@ -30,6 +31,11 @@
30
31
  --moz-color-icon-button-weak-interaction: #dae1f9;
31
32
  --moz-color-button-outline-hover: #f4f6fd;
32
33
  --moz-color-button-outline-pressed: #ecf0fc;
34
+ --moz-color-button-selected: var(--moz-color-neutral-subtle);
35
+ --moz-color-button-solid-selected: var(--moz-color-accent-strong);
36
+ --moz-color-button-weak-selected: var(--moz-color-icon-button-weak-interaction);
37
+ --moz-color-button-critical-selected: #b6373b;
38
+ --moz-color-button-critical-weak-selected: #fdd4d3;
33
39
  --moz-color-chip-selected: #ecf0fc;
34
40
  --moz-color-chip-selected-hover: #f4f6fd;
35
41
  --moz-color-chip-hover: #f7f9fd;
@@ -37,6 +43,7 @@
37
43
  --moz-color-chip-close: #949eb8;
38
44
  --moz-color-calendar-day-hover: #f4f6fd;
39
45
  --moz-color-calendar-day-pressed: #ecf0fc;
46
+ --moz-color-calendar-option-selected: #ecf0fc;
40
47
  --moz-color-context-menu-item-hover: #f4f6fd;
41
48
  --moz-color-context-menu-arrow: #949eb8;
42
49
  --moz-color-context-menu-arrow-disabled: #dde1ed;
@@ -69,6 +76,19 @@
69
76
  --moz-color-inverse-surface: var(--moz-color-text);
70
77
  --moz-color-tooltip-surface: #555f77;
71
78
  --moz-color-inverse-text: var(--moz-color-surface);
79
+ --moz-color-rail-surface: #1d2340;
80
+ --moz-color-rail-button-foreground: #cbd2e1;
81
+ --moz-color-rail-button-selected-foreground: #ffffff;
82
+ --moz-color-rail-button-hover: #ffffff17;
83
+ --moz-color-rail-button-selected: #ffffff3c;
84
+ --moz-color-rail-home-surface: #253b88;
85
+ --moz-color-rail-home-hover: #394d93;
86
+ --moz-color-rail-profile-surface: #ffffff2e;
87
+ --moz-color-rail-profile-foreground: #ffffff;
88
+ --moz-color-rail-profile-hover: #ffffff3c;
89
+ --moz-color-rail-focus-ring: #cbd2e1;
90
+ --moz-color-rail-tooltip-surface: #555f77;
91
+ --moz-color-rail-tooltip-foreground: #ffffff;
72
92
  /* ── 파생(알파) — 위 solid 토큰을 따라간다 ── */
73
93
  --moz-color-accent-ring: color-mix(in srgb, var(--moz-color-accent) 12%, transparent);
74
94
  --moz-color-accent-ring-strong: color-mix(in srgb, var(--moz-color-accent) 30%, transparent);
@@ -93,6 +113,114 @@
93
113
  --moz-color-scrim-strong: rgb(66 72 83 / 0.5);
94
114
  }
95
115
  }
116
+ @layer moz {
117
+ :root {
118
+ --moz-color-gray-00: #ffffff;
119
+ --moz-color-gray-100: #f7f9fd;
120
+ --moz-color-gray-200: #eef1f8;
121
+ --moz-color-gray-300: #dde1ed;
122
+ --moz-color-gray-400: #cbd2e1;
123
+ --moz-color-gray-500: #aeb7ca;
124
+ --moz-color-gray-600: #949eb8;
125
+ --moz-color-gray-700: #646e8b;
126
+ --moz-color-gray-800: #555f77;
127
+ --moz-color-gray-900: #2d3752;
128
+ --moz-color-gray-1000: #1d2340;
129
+ --moz-color-brand-100: #f4f6fd;
130
+ --moz-color-brand-200: #ecf0fc;
131
+ --moz-color-brand-300: #dae1f9;
132
+ --moz-color-brand-400: #c4cff5;
133
+ --moz-color-brand-500: #8fa4ec;
134
+ --moz-color-brand-600: #6a86e6;
135
+ --moz-color-brand-700: #4568e0;
136
+ --moz-color-brand-800: #3450b5;
137
+ --moz-color-brand-900: #253b88;
138
+ --moz-color-brand-1000: #172655;
139
+ --moz-color-red-100: #fdf0f0;
140
+ --moz-color-red-200: #fde7e7;
141
+ --moz-color-red-300: #fdd4d3;
142
+ --moz-color-red-400: #fbb8b5;
143
+ --moz-color-red-500: #f58f8d;
144
+ --moz-color-red-600: #e96b69;
145
+ --moz-color-red-700: #d84a4b;
146
+ --moz-color-red-800: #b6373b;
147
+ --moz-color-red-900: #8b292d;
148
+ --moz-color-red-1000: #59191d;
149
+ --moz-color-orange-100: #fff2e8;
150
+ --moz-color-orange-200: #ffe7d6;
151
+ --moz-color-orange-300: #ffd3b4;
152
+ --moz-color-orange-400: #ffb77d;
153
+ --moz-color-orange-500: #fa9340;
154
+ --moz-color-orange-600: #eb7114;
155
+ --moz-color-orange-700: #ce560a;
156
+ --moz-color-orange-800: #a43e05;
157
+ --moz-color-orange-900: #792c02;
158
+ --moz-color-orange-1000: #4a1900;
159
+ --moz-color-yellow-100: #fff7de;
160
+ --moz-color-yellow-200: #fff0b9;
161
+ --moz-color-yellow-300: #ffdd65;
162
+ --moz-color-yellow-400: #f4c83d;
163
+ --moz-color-yellow-500: #dcad1f;
164
+ --moz-color-yellow-600: #c39813;
165
+ --moz-color-yellow-700: #9d7910;
166
+ --moz-color-yellow-800: #785c0d;
167
+ --moz-color-yellow-900: #56420a;
168
+ --moz-color-yellow-1000: #352806;
169
+ --moz-color-green-100: #edfaf4;
170
+ --moz-color-green-200: #d9f6e5;
171
+ --moz-color-green-300: #b8e9ca;
172
+ --moz-color-green-400: #7edca1;
173
+ --moz-color-green-500: #45c77a;
174
+ --moz-color-green-600: #20ab60;
175
+ --moz-color-green-700: #168e50;
176
+ --moz-color-green-800: #106f40;
177
+ --moz-color-green-900: #0b5130;
178
+ --moz-color-green-1000: #07331e;
179
+ --moz-color-blue-100: #eff6ff;
180
+ --moz-color-blue-200: #e2edfc;
181
+ --moz-color-blue-300: #cbdefa;
182
+ --moz-color-blue-400: #a9cdfd;
183
+ --moz-color-blue-500: #84b7fc;
184
+ --moz-color-blue-600: #5e98f9;
185
+ --moz-color-blue-700: #397bea;
186
+ --moz-color-blue-800: #2a5dbb;
187
+ --moz-color-blue-900: #1d458a;
188
+ --moz-color-blue-1000: #102a55;
189
+ --moz-color-purple-100: #f6f2fe;
190
+ --moz-color-purple-200: #eeeafe;
191
+ --moz-color-purple-300: #e0d8fc;
192
+ --moz-color-purple-400: #cfc0fa;
193
+ --moz-color-purple-500: #b7a0f6;
194
+ --moz-color-purple-600: #9e83ed;
195
+ --moz-color-purple-700: #8568d9;
196
+ --moz-color-purple-800: #694ea9;
197
+ --moz-color-purple-900: #4d387d;
198
+ --moz-color-purple-1000: #30224d;
199
+ --moz-color-static-black: #000000;
200
+ --moz-color-static-black-alpha-100: #00000007;
201
+ --moz-color-static-black-alpha-200: #0000000c;
202
+ --moz-color-static-black-alpha-300: #00000010;
203
+ --moz-color-static-black-alpha-400: #00000021;
204
+ --moz-color-static-black-alpha-500: #0000002c;
205
+ --moz-color-static-black-alpha-600: #0000004c;
206
+ --moz-color-static-black-alpha-700: #00000074;
207
+ --moz-color-static-black-alpha-800: #000000a2;
208
+ --moz-color-static-black-alpha-900: #000000d0;
209
+ --moz-color-static-black-alpha-1000: #000000e3;
210
+ --moz-color-static-white: #ffffff;
211
+ --moz-color-static-white-alpha-50: #ffffff0c;
212
+ --moz-color-static-white-alpha-100: #ffffff17;
213
+ --moz-color-static-white-alpha-200: #ffffff20;
214
+ --moz-color-static-white-alpha-300: #ffffff2e;
215
+ --moz-color-static-white-alpha-400: #ffffff3c;
216
+ --moz-color-static-white-alpha-500: #ffffff60;
217
+ --moz-color-static-white-alpha-600: #ffffff8b;
218
+ --moz-color-static-white-alpha-700: #ffffffb3;
219
+ --moz-color-static-white-alpha-800: #ffffffde;
220
+ --moz-color-static-white-alpha-900: #ffffffea;
221
+ --moz-color-static-white-alpha-1000: #fffffff4;
222
+ }
223
+ }
96
224
  /* moz radius tokens — override in :root */
97
225
  @layer moz {
98
226
  :root {
@@ -104,6 +232,9 @@
104
232
  --moz-radius-button-large: 10px;
105
233
  --moz-radius-text-button: 6px;
106
234
  --moz-radius-icon-button: 6px;
235
+ --moz-radius-rail-button: 8px;
236
+ --moz-radius-rail-profile: 50%;
237
+ --moz-radius-rail-tooltip: 8px;
107
238
  --moz-radius-segment-item: 6px;
108
239
  /* 보조 표면 — 캘린더 컨테이너, 슬라이더 트랙, 세그먼트 그룹 */
109
240
  --moz-radius-surface: 6px;
@@ -115,7 +246,9 @@
115
246
  --moz-radius-calendar-option: 10px;
116
247
  --moz-shadow-small: 0 2px 6px #00000014;
117
248
  --moz-radius-popup: 16px;
249
+ --moz-radius-popover: 16px;
118
250
  --moz-shadow-medium: 0 4px 12px #0000001F;
251
+ --moz-shadow-large: 0 8px 24px #00000029;
119
252
  /* 떠 있는 패널 — 팝업·대화상자 */
120
253
  --moz-radius-panel: 10px;
121
254
  /* 칩 — 태그 아이템처럼 컨트롤보다 작은 조각 (panel 과 기본값은 같지만 역할이 다르다:
@@ -124,12 +257,62 @@
124
257
  --moz-radius-radio-group-edge: 4px;
125
258
  --moz-radius-select-filter: 4px;
126
259
  /* 알약 — 토글, 토스트, 라디오 도트, 슬라이더 핸들 */
127
- --moz-radius-pill: 999px;
260
+ --moz-radius-pill: 9999px;
128
261
  /* 원 — 아바타 */
129
262
  --moz-radius-circle: 50%;
130
263
  --moz-font-family: 'Pretendard', 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', Roboto, sans-serif;
131
264
  }
132
265
  }
266
+ @layer moz {
267
+ :root {
268
+ --moz-radius-r1: 4px;
269
+ --moz-radius-r1_5: 6px;
270
+ --moz-radius-r2: 8px;
271
+ --moz-radius-r2_5: 10px;
272
+ --moz-radius-r3: 12px;
273
+ --moz-radius-r4: 16px;
274
+ --moz-radius-full: 9999px;
275
+ --moz-dimension-x0_5: 2px;
276
+ --moz-dimension-x1: 4px;
277
+ --moz-dimension-x1_5: 6px;
278
+ --moz-dimension-x2: 8px;
279
+ --moz-dimension-x2_5: 10px;
280
+ --moz-dimension-x3: 12px;
281
+ --moz-dimension-x4: 16px;
282
+ --moz-dimension-x5: 20px;
283
+ --moz-dimension-x6: 24px;
284
+ --moz-dimension-x7: 32px;
285
+ --moz-dimension-x8: 40px;
286
+ --moz-dimension-x9: 48px;
287
+ --moz-dimension-x10: 64px;
288
+ --moz-font-size-t1: 0.6875rem;
289
+ --moz-font-size-t2: 0.75rem;
290
+ --moz-font-size-t3: 0.8125rem;
291
+ --moz-font-size-t4: 0.875rem;
292
+ --moz-font-size-t5: 1rem;
293
+ --moz-font-size-t6: 1.125rem;
294
+ --moz-font-size-t7: 1.25rem;
295
+ --moz-font-size-t8: 1.375rem;
296
+ --moz-font-size-t9: 1.5rem;
297
+ --moz-font-size-t10: 2rem;
298
+ --moz-line-height-t1: 0.875rem;
299
+ --moz-line-height-t2: 1rem;
300
+ --moz-line-height-t3: 1.125rem;
301
+ --moz-line-height-t4: 1.25rem;
302
+ --moz-line-height-t5: 1.375rem;
303
+ --moz-line-height-t6: 1.5rem;
304
+ --moz-line-height-t7: 1.625rem;
305
+ --moz-line-height-t8: 1.875rem;
306
+ --moz-line-height-t9: 2rem;
307
+ --moz-line-height-t10: 2.625rem;
308
+ --moz-font-weight-regular: 400;
309
+ --moz-font-weight-medium: 500;
310
+ --moz-font-weight-bold: 700;
311
+ --moz-shadow-s1: 0px 2px 6px 0px #00000014;
312
+ --moz-shadow-s2: 0px 4px 12px 0px #0000001F;
313
+ --moz-shadow-s3: 0px 8px 24px 0px #00000029;
314
+ }
315
+ }
133
316
  /**
134
317
  * TreeSelect 스타일 — TreeSelect.vue + TreeSelectItem.vue 1:1 (하드코딩 hex). 자체 완결.
135
318
  * 골격은 MultiSelect 공유 클래스(moz-multi-select/list-box/multi-select-all 등) + 트리 전용.
@@ -252,22 +435,33 @@
252
435
  display: flex;
253
436
  align-items: center;
254
437
  justify-content: space-between;
255
- border-bottom: 1px solid var(--moz-color-border);
438
+ margin: 8px 8px 4px;
439
+ height: 32px;
440
+ box-sizing: border-box;
441
+ flex-shrink: 0;
442
+ border: 1px solid var(--moz-color-border);
443
+ border-radius: var(--moz-radius-control);
256
444
  }
257
445
  .list-box:where(.moz-tree-select-list) .filter-input {
258
446
  position: relative;
259
447
  box-sizing: border-box;
260
448
  display: flex;
261
- height: 29px;
449
+ height: 32px;
262
450
  overflow: hidden;
263
451
  flex: 1;
452
+ min-width: 0;
453
+ align-items: center;
454
+ gap: 6px;
455
+ padding-left: 12px;
264
456
  }
265
457
  .list-box:where(.moz-tree-select-list) .filter-input input {
266
458
  width: 100%;
459
+ min-width: 0;
267
460
  background-color: transparent;
268
461
  color: var(--moz-color-text);
269
- font-size: 0.813rem;
270
- padding: 0.131rem 0.625rem;
462
+ font-size: 0.8125rem;
463
+ line-height: 1.125rem;
464
+ padding: 0;
271
465
  border: none;
272
466
  outline: none;
273
467
  }
@@ -278,8 +472,13 @@
278
472
  display: flex;
279
473
  justify-content: center;
280
474
  align-items: center;
281
- margin-right: 6px;
282
- padding-left: 6px;
475
+ width: 14px;
476
+ height: 14px;
477
+ flex-shrink: 0;
478
+ }
479
+ .list-box:where(.moz-tree-select-list) .search-icon svg {
480
+ width: 14px;
481
+ height: 14px;
283
482
  }
284
483
  .list-box:where(.moz-tree-select-list) .list-box-container {
285
484
  max-height: 250px;
@@ -292,7 +491,7 @@
292
491
  margin-top: 0.375rem;
293
492
  }
294
493
  .list-box:where(.moz-tree-select-list) .multi-select-all.is-scrolled {
295
- box-shadow: 0px 3px 4px 0px var(--moz-color-shadow);
494
+ box-shadow: var(--moz-shadow-small);
296
495
  }
297
496
  .list-box:where(.moz-tree-select-list) .multi-select-all .select-all-content {
298
497
  display: flex;
@@ -332,6 +531,9 @@
332
531
  :where(.moz-tree-select-list) .inner-container {
333
532
  position: relative;
334
533
  }
534
+ :where(.moz-tree-select-list) .checkbox-input:focus-visible:not(:disabled) + .checkbox-visual {
535
+ box-shadow: 0 0 0 4px var(--moz-color-accent-ring);
536
+ }
335
537
  :where(.moz-tree-select-list) .tree-controls {
336
538
  display: flex;
337
539
  gap: 8px;
@@ -366,6 +568,60 @@
366
568
  font-weight: 500;
367
569
  line-height: 100%;
368
570
  }
571
+ .list-box:where(.moz-tree-select-list) .list-box-item.multi-select-all {
572
+ height: 28px;
573
+ min-height: 28px;
574
+ flex-shrink: 0;
575
+ margin-top: 8px;
576
+ padding: 0 12px;
577
+ color: var(--moz-color-text-strong);
578
+ font-size: 0.8125rem;
579
+ line-height: 1.125rem;
580
+ }
581
+ :where(.moz-tree-select-list) .list-footer {
582
+ border-top: none;
583
+ padding: 4px 8px 8px;
584
+ }
585
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox {
586
+ height: 36px;
587
+ box-sizing: border-box;
588
+ padding: 0 12px;
589
+ border-radius: var(--moz-radius-control);
590
+ background: var(--moz-color-disabled);
591
+ flex-direction: row-reverse;
592
+ justify-content: space-between;
593
+ }
594
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox > span {
595
+ line-height: 16px;
596
+ }
597
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox .checkbox-icon-wrapper {
598
+ width: 36px;
599
+ height: 20px;
600
+ }
601
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox .checkbox-visual {
602
+ border-radius: var(--moz-radius-pill);
603
+ background: var(--moz-color-switch-track-off);
604
+ }
605
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox .checkbox-visual > svg {
606
+ display: none;
607
+ }
608
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox .checkbox-visual::after {
609
+ content: "";
610
+ position: absolute;
611
+ width: 16px;
612
+ height: 16px;
613
+ left: 2px;
614
+ top: 2px;
615
+ border-radius: var(--moz-radius-pill);
616
+ background: var(--moz-color-surface);
617
+ box-shadow: var(--moz-shadow-small);
618
+ }
619
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox .checkbox-input:checked + .checkbox-visual {
620
+ background: var(--moz-color-accent);
621
+ }
622
+ :where(.moz-tree-select-list) .list-footer .footer-checkbox .checkbox-input:checked + .checkbox-visual::after {
623
+ transform: translateX(16px);
624
+ }
369
625
  :where(.moz-tree-select-list) .tree-item {
370
626
  min-height: 1.5rem;
371
627
  font-size: 0.8125rem;
@@ -390,18 +646,27 @@
390
646
  }
391
647
  .list-box:where(.moz-tree-select-list) .list-box-item.tree-item {
392
648
  min-height: var(--moz-tree-select-row-height, 28px);
649
+ font-size: 0.8125rem;
393
650
  line-height: 1.125rem;
394
651
  padding-left: 0.75rem;
652
+ padding-right: 12px;
653
+ gap: 0;
654
+ --tree-indent-step: 12px;
395
655
  color: var(--moz-color-text-strong);
396
656
  }
657
+ .list-box:where(.moz-tree-select-list) .list-box-item.tree-item.multi-select-item {
658
+ padding-left: 24px;
659
+ --tree-indent-step: 16px;
660
+ }
397
661
  :where(.moz-tree-select-list) .depth-indicator {
398
662
  min-height: var(--moz-tree-select-row-height, 28px);
663
+ flex-shrink: 0;
399
664
  }
400
665
  :where(.moz-tree-select-list) .depth-indicator--parent {
401
- width: calc(var(--depth) * 1.125rem);
666
+ width: calc(var(--depth) * var(--tree-indent-step));
402
667
  }
403
668
  :where(.moz-tree-select-list) .depth-indicator--last-depth {
404
- width: calc((var(--depth) + 1) * 1.125rem);
669
+ width: calc(max(0, var(--depth) - 1) * var(--tree-indent-step) + 20px);
405
670
  }
406
671
  :where(.moz-tree-select-list) .item-content {
407
672
  display: flex;
@@ -412,6 +677,7 @@
412
677
  }
413
678
  :where(.moz-tree-select-list) .item-content .icon-container {
414
679
  display: flex;
680
+ flex-shrink: 0;
415
681
  height: 100%;
416
682
  align-items: center;
417
683
  justify-content: center;
@@ -440,8 +706,9 @@
440
706
  opacity: 0;
441
707
  }
442
708
  :where(.moz-tree-select-list) .item-content .item-only-btn:focus {
709
+ opacity: 1;
443
710
  outline: 1px solid var(--moz-color-accent);
444
- border-radius: var(--moz-radius-xs);
711
+ border-radius: var(--moz-radius-marker);
445
712
  outline-offset: 1px;
446
713
  }
447
714
  :where(.moz-tree-select-list) .highlight-container {
@@ -456,6 +723,7 @@
456
723
  color: var(--moz-color-accent);
457
724
  }
458
725
  :where(.moz-tree-select-list) .icon-check {
459
- min-width: 12px;
726
+ min-width: 14px;
727
+ flex-shrink: 0;
460
728
  }
461
729
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vmscloud/moz-ui-components-core",
3
- "version": "0.1.66",
3
+ "version": "0.1.68",
4
4
  "description": "Framework-agnostic headless UI primitives (lit-html) for @vmscloud/moz-ui-components — mount-function factory core. References the moz-ui-grid runtime pattern but has ZERO dependency on any grid package.",
5
5
  "license": "ISC",
6
6
  "type": "module",
@@ -22,7 +22,9 @@
22
22
  "./package.json": "./package.json"
23
23
  },
24
24
  "files": [
25
- "dist"
25
+ "dist",
26
+ "MIGRATION.md",
27
+ "README.md"
26
28
  ],
27
29
  "publishConfig": {
28
30
  "registry": "https://registry.npmjs.org",
@@ -1,7 +0,0 @@
1
- import { MozSpec } from '../../runtime/types';
2
- import { PasswordInputProps, PasswordInputEmits } from './passwordinput.core';
3
-
4
- export { createPasswordInput } from './passwordinput.core';
5
- export type { PasswordInputProps, PasswordInputEmits } from './passwordinput.core';
6
- export { iconPasswordHidden, iconPasswordVisible } from './icons';
7
- export declare const PASSWORDINPUT_SPEC: MozSpec<PasswordInputProps, PasswordInputEmits, void>;
@@ -1,35 +0,0 @@
1
- import { Rule } from '../../validator/types';
2
- import { InputEmits } from '../input/input.core';
3
-
4
- /**
5
- * PasswordInput 코어 — Input password 모드(`Input type="password"`)의 호환 래퍼.
6
- *
7
- * 구현은 Input 하나다(`setupInput`). 래퍼가 유지하는 기존 동작:
8
- * - 공개 type 은 password 고정(전달된 type 은 무시), 표시/숨김 토글 자동 제공.
9
- * - 기본 autocomplete="new-password"(사용자가 준 autocomplete 가 이긴다).
10
- * - 레거시 class 훅: 루트 `moz-password-input-container`(+ disabled), label `moz-input-label`,
11
- * 필드 묶음 `moz-password-input-wrapper`, 토글 `icon-container password-icon`.
12
- * - disabled 가 되면 다시 마스킹.
13
- * 디자인·검증(isReadOnly 포함)은 Input 계약을 그대로 따른다.
14
- */
15
- export interface PasswordInputProps {
16
- /** Native input id; omitted values receive a stable instance id for the label. */
17
- id?: string;
18
- label?: string;
19
- value?: string;
20
- name?: string;
21
- placeholder?: string;
22
- required?: boolean;
23
- disabled?: boolean;
24
- rules?: Rule[];
25
- width?: string | number;
26
- messagePosition?: 'outside' | 'inside';
27
- requiredMessage?: string;
28
- useInvalidV2?: boolean;
29
- modelValue?: string;
30
- class?: unknown;
31
- style?: unknown;
32
- [attr: string]: unknown;
33
- }
34
- export type PasswordInputEmits = InputEmits;
35
- export declare const createPasswordInput: import('../..').CoreFactory<PasswordInputProps, InputEmits, void>;
@@ -1,9 +0,0 @@
1
- @charset "UTF-8";
2
- /**
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` 경로 호환을 위해 남긴다.
9
- */