@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,220 @@
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
+ * Button 스타일 — Button.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ *
64
+ * 소비자는 이 파일을 import 하거나, 통째로 교체/override 한다.
65
+ * - scoped 제거 → 전역 `.moz-button` 클래스 (DOM 단순화 + 커스터마이징 용이)
66
+ * - Button.vue 의 `v-bind(width)` 는 `var(--moz-btn-loading-width)` 로 대체 (코어가 주입)
67
+ */
68
+ @layer moz {
69
+ @keyframes moz-spin {
70
+ to {
71
+ transform: rotate(360deg);
72
+ }
73
+ }
74
+ .moz-circle-loader {
75
+ display: flex;
76
+ justify-content: center;
77
+ align-items: center;
78
+ width: 14px;
79
+ height: 14px;
80
+ color: var(--moz-color-surface);
81
+ animation: moz-spin 1s linear infinite;
82
+ }
83
+ .moz-button {
84
+ display: flex;
85
+ justify-content: center;
86
+ align-items: center;
87
+ text-align: center;
88
+ height: 30px;
89
+ border: 1px solid var(--moz-color-accent);
90
+ border-radius: var(--moz-radius-control);
91
+ background-color: var(--moz-color-surface);
92
+ font-size: 0.875rem;
93
+ padding: 0 14px;
94
+ gap: 8px;
95
+ }
96
+ .moz-button .text {
97
+ text-overflow: ellipsis;
98
+ white-space: nowrap;
99
+ overflow: hidden;
100
+ user-select: none;
101
+ display: flex;
102
+ justify-content: center;
103
+ align-items: center;
104
+ font-size: 0.875rem;
105
+ line-height: normal;
106
+ }
107
+ .moz-button:disabled {
108
+ cursor: not-allowed;
109
+ }
110
+ .moz-button:focus {
111
+ border-color: var(--moz-color-accent);
112
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
113
+ }
114
+ .moz-button.loading {
115
+ width: var(--moz-btn-loading-width);
116
+ }
117
+ .moz-button.loading .spinner {
118
+ font-size: 0;
119
+ }
120
+ .moz-button.loading span.text {
121
+ display: none;
122
+ }
123
+ .moz-button.moz-default-button {
124
+ background-color: var(--moz-color-accent);
125
+ color: var(--moz-color-surface);
126
+ border-color: var(--moz-color-accent);
127
+ padding: 0 0.6875rem;
128
+ font-weight: 300;
129
+ }
130
+ .moz-button.moz-default-button:hover {
131
+ background-color: var(--moz-color-accent-strong);
132
+ border-color: var(--moz-color-accent-strong);
133
+ }
134
+ .moz-button.moz-default-button:disabled {
135
+ background-color: var(--moz-color-disabled);
136
+ border-color: var(--moz-color-disabled);
137
+ color: var(--moz-color-text-muted);
138
+ }
139
+ .moz-button.moz-default-button:disabled .mozart-icons::before {
140
+ color: var(--moz-color-text-muted);
141
+ }
142
+ .moz-button.moz-icon-text-button {
143
+ padding: 0 12px;
144
+ }
145
+ .moz-button.moz-text-button {
146
+ min-width: unset;
147
+ background-color: transparent;
148
+ color: var(--moz-color-accent);
149
+ border-color: transparent;
150
+ gap: 5px;
151
+ padding: 0;
152
+ }
153
+ .moz-button.moz-text-button .text {
154
+ font-weight: 400;
155
+ }
156
+ .moz-button.moz-text-button:disabled {
157
+ color: var(--moz-color-text-muted);
158
+ }
159
+ .moz-button.moz-text-button:disabled:hover {
160
+ background-color: transparent;
161
+ cursor: not-allowed;
162
+ }
163
+ .moz-button.moz-icon-button {
164
+ display: flex;
165
+ justify-content: center;
166
+ align-items: center;
167
+ padding: 0;
168
+ background-color: transparent;
169
+ color: var(--moz-color-surface);
170
+ min-width: 26px;
171
+ min-height: 26px;
172
+ width: 26px;
173
+ height: 26px;
174
+ border-color: transparent;
175
+ font-weight: 300;
176
+ }
177
+ .moz-button.moz-icon-button.small {
178
+ min-width: 20px;
179
+ min-height: 20px;
180
+ width: 20px;
181
+ height: 20px;
182
+ }
183
+ .moz-button.moz-icon-button:hover {
184
+ background-color: var(--moz-color-muted-soft);
185
+ }
186
+ .moz-button.moz-icon-button:disabled {
187
+ background-color: transparent;
188
+ color: var(--moz-color-surface);
189
+ }
190
+ .moz-button.moz-icon-button.moz-icon-accent-button {
191
+ background-color: var(--moz-color-accent);
192
+ }
193
+ .moz-button.moz-icon-button.moz-icon-accent-button:hover {
194
+ background-color: var(--moz-color-accent-strong);
195
+ color: var(--moz-color-surface);
196
+ }
197
+ .moz-button.moz-icon-button.moz-icon-accent-button:disabled {
198
+ background-color: var(--moz-color-disabled);
199
+ }
200
+ .moz-button.moz-outline-button {
201
+ background-color: transparent;
202
+ border-color: var(--moz-color-accent);
203
+ color: var(--moz-color-accent);
204
+ font-weight: 400;
205
+ }
206
+ .moz-button.moz-outline-button:hover {
207
+ border-color: var(--moz-color-accent-strong);
208
+ color: var(--moz-color-accent-strong);
209
+ }
210
+ .moz-button.moz-outline-button:disabled {
211
+ border-color: var(--moz-color-text-muted);
212
+ color: var(--moz-color-text-muted);
213
+ }
214
+ .moz-button.moz-no-interaction-button:hover {
215
+ background-color: transparent;
216
+ }
217
+ .moz-button.moz-no-interaction-button:focus {
218
+ box-shadow: none;
219
+ }
220
+ }
@@ -0,0 +1,158 @@
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
+ * Calendar 스타일 — Calendar.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ * 헤더 아이콘 버튼은 moz-button(icon) 클래스를 인라인 재현 → button.css 도 함께 import 필요.
64
+ */
65
+ @layer moz {
66
+ .moz-calendar-container {
67
+ box-sizing: border-box;
68
+ width: 20.9375rem;
69
+ overflow: hidden;
70
+ padding: 0.625rem;
71
+ border: 1px solid var(--moz-color-border);
72
+ border-radius: var(--moz-radius-surface);
73
+ background-color: var(--moz-color-surface);
74
+ box-shadow: 0 3px 4px 0 var(--moz-color-shadow);
75
+ user-select: none;
76
+ }
77
+ .moz-calendar-header {
78
+ display: flex;
79
+ height: 26px;
80
+ min-width: 19rem;
81
+ flex-shrink: 0;
82
+ flex-grow: 0;
83
+ align-items: center;
84
+ justify-content: space-between;
85
+ margin-bottom: 0.5rem;
86
+ }
87
+ .moz-calendar-header__spacer {
88
+ flex-grow: 1;
89
+ }
90
+ .moz-calendar-select {
91
+ display: flex;
92
+ margin: 0.375rem;
93
+ margin-left: 0.25rem;
94
+ cursor: pointer;
95
+ align-items: center;
96
+ font-size: 0.875rem;
97
+ font-weight: bold;
98
+ }
99
+ .moz-calendar-select__text {
100
+ margin-left: 0.25rem;
101
+ }
102
+ .moz-calendar-select__text:hover {
103
+ color: var(--moz-color-accent);
104
+ }
105
+ .moz-calendar-select-btn {
106
+ margin-left: 0.625rem;
107
+ cursor: pointer;
108
+ padding-top: 0.125rem;
109
+ color: var(--moz-color-text-subtle);
110
+ }
111
+ .moz-calendar-select-btn:hover {
112
+ color: var(--moz-color-accent);
113
+ }
114
+ .moz-calendar-select-btn-group {
115
+ display: flex;
116
+ align-items: center;
117
+ }
118
+ .moz-calendar-row {
119
+ display: flex;
120
+ align-items: center;
121
+ justify-content: center;
122
+ font-size: 0.875rem;
123
+ }
124
+ .moz-calendar-row--wrap {
125
+ flex-wrap: wrap;
126
+ overflow-y: auto;
127
+ }
128
+ .moz-calendar-column {
129
+ box-sizing: border-box;
130
+ display: flex;
131
+ cursor: pointer;
132
+ align-items: center;
133
+ justify-content: center;
134
+ border-radius: var(--moz-radius-control);
135
+ border: 1px solid transparent;
136
+ color: var(--moz-color-text);
137
+ }
138
+ .moz-calendar-column--hoverable:hover {
139
+ background-color: var(--moz-color-accent-ghost);
140
+ }
141
+ .moz-calendar-column-day {
142
+ cursor: default;
143
+ color: var(--moz-color-text-subtle);
144
+ }
145
+ .moz-calendar-column-otherMonth {
146
+ color: var(--moz-color-text-subtle);
147
+ }
148
+ .moz-calendar-selected {
149
+ border-color: var(--moz-color-accent);
150
+ background-color: var(--moz-color-accent-soft);
151
+ font-weight: 500;
152
+ color: var(--moz-color-accent);
153
+ }
154
+ .date-disable {
155
+ cursor: not-allowed !important;
156
+ color: var(--moz-color-text-muted);
157
+ }
158
+ }
@@ -0,0 +1,128 @@
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
+ * CheckBox 스타일 — CheckBox.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
63
+ * light DOM 이므로 원본의 `:deep(path)` 는 평범한 descendant 셀렉터로 대체 (:deep 제거).
64
+ */
65
+ @layer moz {
66
+ .moz-checkbox {
67
+ user-select: none;
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: center;
71
+ flex-direction: row !important;
72
+ position: relative;
73
+ }
74
+ .moz-checkbox.disabled {
75
+ cursor: not-allowed;
76
+ }
77
+ .moz-checkbox:hover:not(.disabled) .check-icon path:last-of-type {
78
+ stroke: var(--moz-color-accent-strong);
79
+ }
80
+ .moz-checkbox:hover:not(.disabled) .checked-icon path {
81
+ fill: var(--moz-color-accent-strong);
82
+ }
83
+ .moz-checkbox:focus {
84
+ outline: none;
85
+ }
86
+ .moz-checkbox .checkbox-icon-wrapper {
87
+ position: relative;
88
+ height: 12px;
89
+ min-height: 12px;
90
+ width: 12px;
91
+ min-width: 12px;
92
+ }
93
+ .moz-checkbox .checkbox-input {
94
+ position: absolute;
95
+ inset: 0;
96
+ z-index: 1;
97
+ margin: 0;
98
+ height: 100%;
99
+ width: 100%;
100
+ border-radius: var(--moz-radius-xs);
101
+ opacity: 0;
102
+ }
103
+ .moz-checkbox .checkbox-visual {
104
+ pointer-events: none;
105
+ position: absolute;
106
+ inset: 0;
107
+ display: flex;
108
+ align-items: center;
109
+ justify-content: center;
110
+ border-radius: var(--moz-radius-xs);
111
+ transition: box-shadow 0.15s ease-in-out;
112
+ }
113
+ .moz-checkbox .checkbox-visual.focused {
114
+ box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
115
+ }
116
+ .moz-checkbox .moz-checkbox-label {
117
+ font-weight: 500;
118
+ line-height: 0.75rem;
119
+ font-size: 0.75rem;
120
+ display: flex;
121
+ align-items: center;
122
+ padding-left: 6px;
123
+ overflow: hidden;
124
+ text-overflow: ellipsis;
125
+ white-space: nowrap;
126
+ cursor: pointer;
127
+ }
128
+ }
@@ -0,0 +1,27 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ * Collapsible 스타일 — 콘텐츠 패널만 담당한다(트리거는 소비처 엘리먼트라 코어가 그리지 않는다).
4
+ *
5
+ * 기본값은 "레이아웃을 건드리지 않는다" 다. 접힘/펼침 자체는 코어가 DOM 존재로 처리하므로
6
+ * 여기서 필요한 것은 넘침 잘라내기와 전환 훅뿐이다. 높이 전환은 opt-in(`.animated`) 이며,
7
+ * 코어가 실측해 실어 주는 `--moz-collapsible-content-height` 를 읽는다.
8
+ */
9
+ @layer moz {
10
+ .moz-collapsible-content {
11
+ overflow: hidden;
12
+ }
13
+ .moz-collapsible-content[hidden] {
14
+ display: none;
15
+ }
16
+ .moz-collapsible-content.animated[data-state=open] {
17
+ animation: moz-collapsible-expand 160ms ease-out;
18
+ }
19
+ @keyframes moz-collapsible-expand {
20
+ from {
21
+ height: 0;
22
+ }
23
+ to {
24
+ height: var(--moz-collapsible-content-height, auto);
25
+ }
26
+ }
27
+ }