@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,174 @@
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
+ * NumberInput 스타일 — NumberInput.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
43
+ * `:deep(path)` 는 light DOM 평문 셀렉터로 대체. (moz-button 기본 스타일은 button.css 를 함께 import)
44
+ */
45
+ @layer moz {
46
+ .moz-number-input-container {
47
+ display: flex;
48
+ flex-direction: column;
49
+ align-items: flex-start;
50
+ margin: 0;
51
+ gap: 6px;
52
+ }
53
+ .moz-number-input-container span.require-mark {
54
+ color: var(--moz-color-danger);
55
+ }
56
+ .moz-number-input-container .moz-number-input-wrapper {
57
+ display: flex;
58
+ align-items: center;
59
+ }
60
+ .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 {
61
+ border-color: var(--moz-color-accent);
62
+ }
63
+ .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 {
64
+ fill: var(--moz-color-accent);
65
+ }
66
+ .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 {
67
+ border-color: var(--moz-color-text-muted);
68
+ }
69
+ .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 {
70
+ border-right-color: var(--moz-color-text-muted);
71
+ }
72
+ .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 {
73
+ border-left-color: var(--moz-color-text-muted);
74
+ }
75
+ .moz-number-input-container .moz-number-input-wrapper .num-change-btn {
76
+ box-sizing: border-box;
77
+ width: 30px;
78
+ height: 30px;
79
+ min-width: 30px;
80
+ padding: 4px;
81
+ }
82
+ .moz-number-input-container .moz-number-input-wrapper .num-change-btn.disabled {
83
+ border: 1px solid var(--moz-color-text-muted);
84
+ background-color: var(--moz-color-surface-subtle);
85
+ }
86
+ .moz-number-input-container .moz-number-input-wrapper .num-change-btn:focus {
87
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
88
+ z-index: 2;
89
+ }
90
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input {
91
+ display: flex;
92
+ box-sizing: border-box;
93
+ flex-grow: 1;
94
+ min-height: 30px;
95
+ height: 30px;
96
+ border: 1px solid var(--moz-color-border);
97
+ border-left: none;
98
+ border-right: none;
99
+ background-color: var(--moz-color-surface);
100
+ overflow: hidden;
101
+ }
102
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input input::-webkit-outer-spin-button,
103
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input input::-webkit-inner-spin-button {
104
+ -webkit-appearance: none;
105
+ margin: 0;
106
+ }
107
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input input[type=number] {
108
+ -moz-appearance: textfield;
109
+ }
110
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input input {
111
+ min-height: 100%;
112
+ height: 100%;
113
+ width: 100%;
114
+ font-size: 0.8125rem;
115
+ color: var(--moz-color-text);
116
+ border: none;
117
+ outline: none;
118
+ box-sizing: border-box;
119
+ text-align: center;
120
+ background-color: transparent;
121
+ }
122
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input:focus-within {
123
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
124
+ z-index: 2;
125
+ }
126
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input-btn {
127
+ display: flex;
128
+ flex-direction: column;
129
+ justify-content: space-between;
130
+ border-style: none;
131
+ }
132
+ .moz-number-input-container .moz-number-input-wrapper .moz-number-input-btn-icon {
133
+ display: flex;
134
+ align-items: center;
135
+ justify-content: center;
136
+ margin-top: 1px;
137
+ margin-bottom: 1px;
138
+ cursor: pointer;
139
+ }
140
+ .moz-number-input-container .moz-number-input-wrapper .input-border {
141
+ border: 1px solid var(--moz-color-border);
142
+ width: 100%;
143
+ }
144
+ .moz-number-input-container .moz-number-input-wrapper .input-border input {
145
+ text-align: left;
146
+ padding: 5px 7px;
147
+ padding-right: 0;
148
+ }
149
+ .moz-number-input-container .moz-number-input-wrapper .input-border .moz-number-input-btn {
150
+ margin-left: 9px;
151
+ margin-right: 9px;
152
+ }
153
+ .moz-number-input-container.disabled .moz-number-input-wrapper .num-change-btn {
154
+ border: 1px solid var(--moz-color-text-muted);
155
+ background-color: var(--moz-color-surface-subtle);
156
+ }
157
+ .moz-number-input-container.disabled .moz-number-input-wrapper .num-change-btn:hover {
158
+ background-color: var(--moz-color-surface-subtle);
159
+ }
160
+ .moz-number-input-container.disabled .moz-number-input-wrapper .moz-number-input {
161
+ border-color: var(--moz-color-text-muted);
162
+ background-color: var(--moz-color-surface-subtle);
163
+ }
164
+ .moz-number-input-container.disabled .moz-number-input-wrapper .moz-number-input input {
165
+ cursor: not-allowed;
166
+ color: var(--moz-color-text-muted);
167
+ }
168
+ .moz-number-input-container.disabled:hover, .moz-number-input-container.disabled:focus, .moz-number-input-container.disabled:focus-within {
169
+ border-color: var(--moz-color-text-muted);
170
+ }
171
+ .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 {
172
+ border-color: var(--moz-color-text-muted);
173
+ }
174
+ }
@@ -0,0 +1,189 @@
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
+ * PasswordInput 스타일 — PasswordInput.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ */
64
+ @layer moz {
65
+ .moz-password-input-container {
66
+ position: relative;
67
+ display: flex;
68
+ flex-direction: column;
69
+ }
70
+ .moz-password-input-container.is-invalid .moz-input {
71
+ border-color: var(--moz-color-danger);
72
+ box-shadow: 0 0 0 3px var(--moz-color-danger-ring);
73
+ }
74
+ .moz-password-input-container .input-wrapper {
75
+ display: flex;
76
+ height: 100%;
77
+ flex-direction: column;
78
+ gap: 6px;
79
+ }
80
+ .moz-password-input-container .moz-input-label {
81
+ display: flex;
82
+ align-items: center;
83
+ }
84
+ .moz-password-input-container .moz-password-input-wrapper {
85
+ position: relative;
86
+ }
87
+ .moz-password-input-container .moz-input {
88
+ height: 1.875rem;
89
+ padding: 0 10px;
90
+ padding-right: 33px;
91
+ box-sizing: border-box;
92
+ border-radius: var(--moz-radius-control);
93
+ border: 1px solid var(--moz-color-border);
94
+ background-color: var(--moz-color-surface);
95
+ font-family: inherit;
96
+ font-size: 0.8125rem;
97
+ color: var(--moz-color-text);
98
+ text-overflow: ellipsis;
99
+ white-space: nowrap;
100
+ overflow: hidden;
101
+ }
102
+ .moz-password-input-container .moz-input:hover {
103
+ border-color: var(--moz-color-accent);
104
+ }
105
+ .moz-password-input-container .moz-input:focus {
106
+ border-color: var(--moz-color-accent);
107
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
108
+ outline: none;
109
+ }
110
+ .moz-password-input-container .moz-input::placeholder {
111
+ color: var(--moz-color-text-subtle);
112
+ font-size: 0.8125rem;
113
+ }
114
+ .moz-password-input-container .moz-input.edge-password::-ms-reveal, .moz-password-input-container .moz-input.edge-password::-ms-clear {
115
+ display: none;
116
+ }
117
+ .moz-password-input-container .moz-input.disabled {
118
+ cursor: not-allowed;
119
+ user-select: none;
120
+ border-color: var(--moz-color-text-muted);
121
+ background-color: var(--moz-color-surface-subtle);
122
+ color: var(--moz-color-text-muted);
123
+ }
124
+ .moz-password-input-container .moz-input.has-inside-message {
125
+ padding-right: 50%;
126
+ }
127
+ .moz-password-input-container .moz-input.has-invalid-icon {
128
+ padding-right: 60px;
129
+ }
130
+ .moz-password-input-container .icon-container.password-icon {
131
+ position: absolute;
132
+ top: 0;
133
+ right: 0;
134
+ z-index: 1;
135
+ margin: 3px;
136
+ margin-right: 7px;
137
+ display: flex;
138
+ height: 24px;
139
+ width: 24px;
140
+ align-items: center;
141
+ justify-content: center;
142
+ border-radius: var(--moz-radius-control);
143
+ padding: 0;
144
+ border: none;
145
+ background: transparent;
146
+ outline: none;
147
+ }
148
+ .moz-password-input-container .icon-container.password-icon:focus {
149
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
150
+ }
151
+ .moz-password-input-container .moz-input-invalid-icon-v2 {
152
+ position: absolute;
153
+ right: 31px;
154
+ bottom: 1px;
155
+ z-index: 1;
156
+ display: flex;
157
+ height: 30px;
158
+ width: 30px;
159
+ cursor: pointer;
160
+ align-items: center;
161
+ justify-content: center;
162
+ }
163
+ .moz-password-input-container .moz-input-invalid-message {
164
+ cursor: default;
165
+ font-size: 0.75rem;
166
+ font-weight: 500;
167
+ color: var(--moz-color-danger);
168
+ }
169
+ .moz-password-input-container .moz-input-invalid-message.position-outside {
170
+ position: absolute;
171
+ bottom: calc((0.75rem + 7px) * -1);
172
+ left: 0;
173
+ max-width: 100%;
174
+ overflow: hidden;
175
+ text-overflow: ellipsis;
176
+ white-space: nowrap;
177
+ }
178
+ .moz-password-input-container .moz-input-invalid-message.position-inside {
179
+ position: absolute;
180
+ top: 50%;
181
+ right: 2px;
182
+ z-index: 1;
183
+ max-width: 50%;
184
+ transform: translateY(-50%);
185
+ overflow: hidden;
186
+ text-overflow: ellipsis;
187
+ white-space: nowrap;
188
+ }
189
+ }
@@ -0,0 +1,92 @@
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
+ /* moz popover — 앵커에 붙는 임의 콘텐츠 패널 (패널만 body 포털에 렌더, 트리거는 소비처 소유) */
62
+ @layer moz {
63
+ .moz-popover {
64
+ /* 팝업(1000) 아래, 일반 콘텐츠 위. 소비자가 자기 z 사다리로 덮어쓸 수 있게 변수로 둔다 */
65
+ z-index: var(--moz-popover-z, 900);
66
+ min-width: 8rem;
67
+ max-height: calc(100vh - 2rem);
68
+ padding: 0.25rem;
69
+ border: 1px solid var(--moz-color-border-subtle);
70
+ border-radius: var(--moz-radius-panel);
71
+ background-color: var(--moz-color-surface);
72
+ color: var(--moz-color-text);
73
+ box-shadow: 0 8px 24px var(--moz-color-shadow);
74
+ outline: none;
75
+ animation: moz-popover-in 120ms ease-out;
76
+ }
77
+ @keyframes moz-popover-in {
78
+ from {
79
+ opacity: 0;
80
+ transform: scale(0.97);
81
+ }
82
+ to {
83
+ opacity: 1;
84
+ transform: none;
85
+ }
86
+ }
87
+ @media (prefers-reduced-motion: reduce) {
88
+ .moz-popover {
89
+ animation: none;
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,222 @@
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
+ * Popup 스타일 — Popup.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ * teleport → body portal 로 렌더되므로 scoped 없이 평문 셀렉터. close/preset 버튼은 moz-button
64
+ * 클래스를 쓰므로 button.css 도 함께 import. 원본 `:deep(.moz-button)` 는 평문 셀렉터로 대체.
65
+ */
66
+ @layer moz {
67
+ .moz-popup-container {
68
+ position: fixed;
69
+ top: 0;
70
+ left: 0;
71
+ z-index: 1000;
72
+ height: 100dvh;
73
+ width: 100dvw;
74
+ overflow: hidden;
75
+ }
76
+ .moz-popup-backdrop {
77
+ height: 100%;
78
+ width: 100%;
79
+ background-color: var(--moz-color-scrim-strong);
80
+ }
81
+ .moz-popup {
82
+ pointer-events: auto;
83
+ position: absolute;
84
+ display: flex;
85
+ flex-direction: column;
86
+ overflow: hidden;
87
+ font-weight: 500;
88
+ border-radius: var(--moz-radius-panel);
89
+ background-color: var(--moz-color-surface);
90
+ }
91
+ .moz-popup-title {
92
+ display: flex;
93
+ height: 2.8125rem;
94
+ min-height: 2.8125rem;
95
+ align-items: center;
96
+ justify-content: space-between;
97
+ line-height: 2.8125rem;
98
+ font-size: 1rem;
99
+ font-weight: 500;
100
+ color: var(--moz-color-text);
101
+ box-sizing: border-box;
102
+ border-bottom: 1px solid var(--moz-color-border-subtle);
103
+ padding: 0 16px;
104
+ }
105
+ .moz-popup-title.draggable {
106
+ cursor: move;
107
+ }
108
+ .moz-popup-title .close-button {
109
+ cursor: pointer;
110
+ }
111
+ .moz-popup-description {
112
+ padding: 8px 16px 0;
113
+ font-size: 0.8125rem;
114
+ line-height: 1.4;
115
+ color: var(--moz-color-text-secondary);
116
+ }
117
+ .moz-popup-body {
118
+ height: 100%;
119
+ overflow-y: auto;
120
+ font-weight: 400;
121
+ color: var(--moz-color-text);
122
+ box-sizing: content-box;
123
+ }
124
+ .moz-dialog-body {
125
+ display: flex;
126
+ align-items: center;
127
+ gap: 16px;
128
+ font-size: 0.875rem;
129
+ line-height: normal;
130
+ word-break: keep-all;
131
+ }
132
+ .moz-dialog-body .dialog-icon {
133
+ margin-left: 4px;
134
+ min-width: 30px;
135
+ }
136
+ .moz-dialog-body .dialog-message {
137
+ white-space: pre-wrap;
138
+ }
139
+ .moz-popup-footer {
140
+ box-sizing: border-box;
141
+ width: 100%;
142
+ display: flex;
143
+ justify-content: flex-end;
144
+ gap: 6px;
145
+ padding: 16px;
146
+ font-weight: 400;
147
+ border: none;
148
+ }
149
+ .moz-popup-footer.with-border {
150
+ border-top: 1px solid var(--moz-color-border-subtle);
151
+ }
152
+ .moz-popup-footer .preset-btn {
153
+ width: 5rem;
154
+ min-width: 5rem;
155
+ padding: 0 !important;
156
+ }
157
+ .resize-handler {
158
+ position: absolute;
159
+ right: 0;
160
+ bottom: 0;
161
+ height: 15px;
162
+ width: 15px;
163
+ cursor: nwse-resize;
164
+ }
165
+ .moz-popup-footer .moz-button {
166
+ min-width: 80px;
167
+ }
168
+ /* ── 드로어 변형 (side prop, mozart-cloud issue 890) — 코어는 인라인 left/top 을 내지 않고 여기서 위치를 정한다 ── */
169
+ .moz-popup-side .moz-popup {
170
+ border-radius: 0;
171
+ max-width: 100dvw;
172
+ max-height: 100dvh;
173
+ animation: moz-popup-slide-in 200ms ease-out;
174
+ }
175
+ .moz-popup-side-right .moz-popup,
176
+ .moz-popup-side-left .moz-popup {
177
+ top: 0;
178
+ bottom: 0;
179
+ height: 100dvh;
180
+ width: 20rem;
181
+ }
182
+ .moz-popup-side-right .moz-popup {
183
+ right: 0;
184
+ left: auto;
185
+ --moz-popup-slide-from: translateX(100%);
186
+ }
187
+ .moz-popup-side-left .moz-popup {
188
+ left: 0;
189
+ --moz-popup-slide-from: translateX(-100%);
190
+ }
191
+ .moz-popup-side-top .moz-popup,
192
+ .moz-popup-side-bottom .moz-popup {
193
+ left: 0;
194
+ right: 0;
195
+ width: 100dvw;
196
+ height: 20rem;
197
+ }
198
+ .moz-popup-side-top .moz-popup {
199
+ top: 0;
200
+ --moz-popup-slide-from: translateY(-100%);
201
+ }
202
+ .moz-popup-side-bottom .moz-popup {
203
+ bottom: 0;
204
+ top: auto;
205
+ --moz-popup-slide-from: translateY(100%);
206
+ }
207
+ /* 도킹 모드 — backdrop 없이 페이지 상호작용을 유지한다(dialog 자신만 이벤트를 받는다) */
208
+ .moz-popup-no-backdrop {
209
+ pointer-events: none;
210
+ }
211
+ .moz-popup-no-backdrop .moz-popup {
212
+ pointer-events: auto;
213
+ }
214
+ @keyframes moz-popup-slide-in {
215
+ from {
216
+ transform: var(--moz-popup-slide-from, none);
217
+ }
218
+ to {
219
+ transform: none;
220
+ }
221
+ }
222
+ }