@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.
- package/dist/components/avatar/avatar.core.d.ts +39 -0
- package/dist/components/avatar/index.d.ts +14 -0
- package/dist/components/bread-crumb/breadcrumb.core.d.ts +70 -0
- package/dist/components/bread-crumb/icons.d.ts +9 -0
- package/dist/components/bread-crumb/index.d.ts +10 -0
- package/dist/components/button/button.core.d.ts +59 -0
- package/dist/components/button/circleLoader.d.ts +8 -0
- package/dist/components/button/index.d.ts +12 -0
- package/dist/components/calendar/calendar.core.d.ts +25 -0
- package/dist/components/calendar/icons.d.ts +7 -0
- package/dist/components/calendar/index.d.ts +7 -0
- package/dist/components/checkbox/checkbox.core.d.ts +46 -0
- package/dist/components/checkbox/icons.d.ts +9 -0
- package/dist/components/checkbox/index.d.ts +10 -0
- package/dist/components/collapsible/collapsible.core.d.ts +34 -0
- package/dist/components/collapsible/index.d.ts +15 -0
- package/dist/components/context-menu/contextmenu.core.d.ts +58 -0
- package/dist/components/context-menu/index.d.ts +10 -0
- package/dist/components/controller/controller.core.d.ts +44 -0
- package/dist/components/controller/icons.d.ts +12 -0
- package/dist/components/controller/index.d.ts +12 -0
- package/dist/components/date-input/dateinput.core.d.ts +32 -0
- package/dist/components/date-input/icons.d.ts +6 -0
- package/dist/components/date-input/index.d.ts +7 -0
- package/dist/components/empty-state/emptystate.core.d.ts +25 -0
- package/dist/components/empty-state/emptystate.types.d.ts +17 -0
- package/dist/components/empty-state/index.d.ts +8 -0
- package/dist/components/input/icons.d.ts +4 -0
- package/dist/components/input/index.d.ts +10 -0
- package/dist/components/input/input.core.d.ts +38 -0
- package/dist/components/label/index.d.ts +6 -0
- package/dist/components/label/label.core.d.ts +22 -0
- package/dist/components/multi-select/icons.d.ts +14 -0
- package/dist/components/multi-select/index.d.ts +10 -0
- package/dist/components/multi-select/multiselect.core.d.ts +60 -0
- package/dist/components/number-input/icons.d.ts +7 -0
- package/dist/components/number-input/index.d.ts +7 -0
- package/dist/components/number-input/numberinput.core.d.ts +30 -0
- package/dist/components/password-input/icons.d.ts +7 -0
- package/dist/components/password-input/index.d.ts +7 -0
- package/dist/components/password-input/passwordinput.core.d.ts +29 -0
- package/dist/components/popover/index.d.ts +14 -0
- package/dist/components/popover/popover.core.d.ts +65 -0
- package/dist/components/popup/icons.d.ts +18 -0
- package/dist/components/popup/index.d.ts +14 -0
- package/dist/components/popup/popup.core.d.ts +132 -0
- package/dist/components/radio/index.d.ts +9 -0
- package/dist/components/radio/radio.core.d.ts +35 -0
- package/dist/components/scroll-area/index.d.ts +16 -0
- package/dist/components/scroll-area/scrollarea.core.d.ts +47 -0
- package/dist/components/select/icons.d.ts +16 -0
- package/dist/components/select/index.d.ts +10 -0
- package/dist/components/select/select.core.d.ts +48 -0
- package/dist/components/slider/index.d.ts +6 -0
- package/dist/components/slider/slider.core.d.ts +23 -0
- package/dist/components/split-pane/index.d.ts +15 -0
- package/dist/components/split-pane/splitpane.core.d.ts +24 -0
- package/dist/components/tab/icons.d.ts +4 -0
- package/dist/components/tab/index.d.ts +10 -0
- package/dist/components/tab/tab.core.d.ts +28 -0
- package/dist/components/table-select/index.d.ts +10 -0
- package/dist/components/table-select/tableselect.core.d.ts +45 -0
- package/dist/components/tag-input/icons.d.ts +9 -0
- package/dist/components/tag-input/index.d.ts +12 -0
- package/dist/components/tag-input/taginput.core.d.ts +32 -0
- package/dist/components/textarea/index.d.ts +6 -0
- package/dist/components/textarea/textarea.core.d.ts +35 -0
- package/dist/components/time-picker/icons.d.ts +9 -0
- package/dist/components/time-picker/index.d.ts +10 -0
- package/dist/components/time-picker/timepicker.core.d.ts +26 -0
- package/dist/components/toast/icons.d.ts +12 -0
- package/dist/components/toast/index.d.ts +13 -0
- package/dist/components/toast/timer.d.ts +17 -0
- package/dist/components/toast/toast.core.d.ts +48 -0
- package/dist/components/toast/useToast.d.ts +13 -0
- package/dist/components/toggle/index.d.ts +9 -0
- package/dist/components/toggle/toggle.core.d.ts +54 -0
- package/dist/components/tooltip/index.d.ts +18 -0
- package/dist/components/tooltip/placement.d.ts +9 -0
- package/dist/components/tooltip/tooltip.core.d.ts +50 -0
- package/dist/components/tree-select/icons.d.ts +14 -0
- package/dist/components/tree-select/index.d.ts +12 -0
- package/dist/components/tree-select/tree-utils.d.ts +63 -0
- package/dist/components/tree-select/treeselect.core.d.ts +45 -0
- package/dist/index.cjs +1887 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +51 -0
- package/dist/index.js +9233 -0
- package/dist/index.js.map +1 -0
- package/dist/locale/en.d.ts +3 -0
- package/dist/locale/index.d.ts +10 -0
- package/dist/locale/ja.d.ts +3 -0
- package/dist/locale/ko.d.ts +3 -0
- package/dist/locale/types.d.ts +482 -0
- package/dist/locale/zh.d.ts +3 -0
- package/dist/overlay/DismissStack.d.ts +49 -0
- package/dist/overlay/Overlay.d.ts +39 -0
- package/dist/overlay/PortalHost.d.ts +11 -0
- package/dist/overlay/index.d.ts +5 -0
- package/dist/overlay/placement.d.ts +74 -0
- package/dist/runtime/ChromeComponent.d.ts +38 -0
- package/dist/runtime/Observable.d.ts +18 -0
- package/dist/runtime/SlotHost.d.ts +48 -0
- package/dist/runtime/defineHeadless.d.ts +28 -0
- package/dist/runtime/spread.d.ts +26 -0
- package/dist/runtime/types.d.ts +149 -0
- package/dist/shared/cn.d.ts +8 -0
- package/dist/shared/dayjs.d.ts +10 -0
- package/dist/shared/index.d.ts +5 -0
- package/dist/shared/utils.d.ts +58 -0
- package/dist/styles/default/avatar.css +94 -0
- package/dist/styles/default/breadcrumb.css +120 -0
- package/dist/styles/default/button.css +220 -0
- package/dist/styles/default/calendar.css +158 -0
- package/dist/styles/default/checkbox.css +128 -0
- package/dist/styles/default/collapsible.css +27 -0
- package/dist/styles/default/contextmenu.css +212 -0
- package/dist/styles/default/controller.css +157 -0
- package/dist/styles/default/dateinput.css +193 -0
- package/dist/styles/default/emptystate.css +91 -0
- package/dist/styles/default/index.css +3877 -0
- package/dist/styles/default/input.css +179 -0
- package/dist/styles/default/label.css +65 -0
- package/dist/styles/default/multiselect.css +394 -0
- package/dist/styles/default/numberinput.css +174 -0
- package/dist/styles/default/passwordinput.css +189 -0
- package/dist/styles/default/popover.css +92 -0
- package/dist/styles/default/popup.css +222 -0
- package/dist/styles/default/radio.css +264 -0
- package/dist/styles/default/scrollarea.css +133 -0
- package/dist/styles/default/select.css +287 -0
- package/dist/styles/default/slider.css +123 -0
- package/dist/styles/default/splitpane.css +62 -0
- package/dist/styles/default/tab.css +172 -0
- package/dist/styles/default/tableselect.css +313 -0
- package/dist/styles/default/taginput.css +296 -0
- package/dist/styles/default/textarea.css +145 -0
- package/dist/styles/default/timepicker.css +221 -0
- package/dist/styles/default/toast.css +165 -0
- package/dist/styles/default/toggle.css +129 -0
- package/dist/styles/default/tooltip.css +131 -0
- package/dist/styles/default/treeselect.css +382 -0
- package/dist/validator/createValidator.d.ts +7 -0
- package/dist/validator/index.d.ts +2 -0
- package/dist/validator/types.d.ts +26 -0
- package/package.json +57 -0
|
@@ -0,0 +1,212 @@
|
|
|
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
|
+
* ContextMenu 스타일 — ContextMenu.vue 의 (전역) SCSS 를 그대로 분리 (1:1, 하드코딩 hex 유지).
|
|
63
|
+
* backdrop/content 는 body 포털. 서브메뉴 화살표는 base64 PNG 배경(자체 완결).
|
|
64
|
+
*/
|
|
65
|
+
@layer moz {
|
|
66
|
+
.context-menu-wrapper {
|
|
67
|
+
position: fixed;
|
|
68
|
+
width: 100%;
|
|
69
|
+
height: 100%;
|
|
70
|
+
left: 0;
|
|
71
|
+
top: 0;
|
|
72
|
+
z-index: 1502;
|
|
73
|
+
}
|
|
74
|
+
.context-menu-wrapper > * {
|
|
75
|
+
pointer-events: auto;
|
|
76
|
+
}
|
|
77
|
+
.context-menu-content-hide {
|
|
78
|
+
pointer-events: none;
|
|
79
|
+
}
|
|
80
|
+
.context-menu-content-init {
|
|
81
|
+
position: absolute;
|
|
82
|
+
transition-timing-function: cubic-bezier(0.5, 0.25, 0, 1);
|
|
83
|
+
transition-property: opacity;
|
|
84
|
+
z-index: 1501;
|
|
85
|
+
}
|
|
86
|
+
.context-menu-content-init-right {
|
|
87
|
+
position: absolute;
|
|
88
|
+
transform: translateX(-100%);
|
|
89
|
+
}
|
|
90
|
+
.context-menu-content-init-bottom {
|
|
91
|
+
position: absolute;
|
|
92
|
+
transform: translateY(-100%);
|
|
93
|
+
}
|
|
94
|
+
.context-menu-content-init-bottom-right {
|
|
95
|
+
position: absolute;
|
|
96
|
+
transform: translate(-100%, -100%);
|
|
97
|
+
}
|
|
98
|
+
.context-menu-content-wrapper {
|
|
99
|
+
background-color: var(--moz-color-surface);
|
|
100
|
+
border: 1px solid var(--moz-color-border);
|
|
101
|
+
margin-top: 0.25rem;
|
|
102
|
+
border-radius: var(--moz-radius-control);
|
|
103
|
+
box-shadow: 0 3px 4px 0 var(--moz-color-shadow);
|
|
104
|
+
min-width: 140px;
|
|
105
|
+
}
|
|
106
|
+
.context-menu-content-wrapper[data-noPadding=false] {
|
|
107
|
+
padding: 0.25rem 0;
|
|
108
|
+
}
|
|
109
|
+
.context-menu-item-enable-hover:hover {
|
|
110
|
+
background: var(--moz-color-accent-ghost);
|
|
111
|
+
}
|
|
112
|
+
.context-menu-item-enable-hover {
|
|
113
|
+
cursor: pointer;
|
|
114
|
+
}
|
|
115
|
+
.context-menu-item-wrapper {
|
|
116
|
+
position: relative;
|
|
117
|
+
}
|
|
118
|
+
.context-menu-item-wrapper-selected {
|
|
119
|
+
background: var(--moz-color-accent-ghost);
|
|
120
|
+
}
|
|
121
|
+
.context-menu-item-wrapper-disabled {
|
|
122
|
+
opacity: 0.6;
|
|
123
|
+
color: var(--moz-color-text-muted);
|
|
124
|
+
cursor: not-allowed !important;
|
|
125
|
+
}
|
|
126
|
+
.context-menu-item-wrapper-disabled * {
|
|
127
|
+
pointer-events: none;
|
|
128
|
+
}
|
|
129
|
+
.context-menu-item {
|
|
130
|
+
color: var(--moz-color-text);
|
|
131
|
+
padding: 0 13px;
|
|
132
|
+
height: 30px;
|
|
133
|
+
font-size: 0.8125rem;
|
|
134
|
+
line-height: 100%;
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: center;
|
|
137
|
+
justify-content: space-between;
|
|
138
|
+
gap: 10px;
|
|
139
|
+
user-select: none;
|
|
140
|
+
cursor: pointer;
|
|
141
|
+
white-space: nowrap;
|
|
142
|
+
}
|
|
143
|
+
.context-menu-item-template {
|
|
144
|
+
color: var(--moz-color-text);
|
|
145
|
+
font-size: 0.8125rem;
|
|
146
|
+
line-height: 100%;
|
|
147
|
+
white-space: nowrap;
|
|
148
|
+
}
|
|
149
|
+
.context-menu-item-template[data-layout=col-padding] {
|
|
150
|
+
padding: 0.5rem 0.875rem;
|
|
151
|
+
}
|
|
152
|
+
.context-menu-item-template[data-layout=row-padding] {
|
|
153
|
+
padding: 0.5rem 0;
|
|
154
|
+
}
|
|
155
|
+
.context-menu-item-template[data-layout=padding] {
|
|
156
|
+
padding: 0.5rem 0.875rem;
|
|
157
|
+
}
|
|
158
|
+
.context-menu-sub-items-wrapper-hide {
|
|
159
|
+
visibility: hidden;
|
|
160
|
+
pointer-events: none;
|
|
161
|
+
}
|
|
162
|
+
.context-menu-sub-items-wrapper {
|
|
163
|
+
position: absolute;
|
|
164
|
+
top: -8px;
|
|
165
|
+
right: 0;
|
|
166
|
+
transform: translateX(100%);
|
|
167
|
+
}
|
|
168
|
+
.context-menu-sub-items-wrapper-right {
|
|
169
|
+
position: absolute;
|
|
170
|
+
transform: translateX(calc(-100% - 2px));
|
|
171
|
+
}
|
|
172
|
+
.context-menu-sub-items-wrapper-bottom {
|
|
173
|
+
position: absolute;
|
|
174
|
+
transform: translate(100%, calc(-100% + 26px));
|
|
175
|
+
}
|
|
176
|
+
.context-menu-sub-items-wrapper-bottom-right {
|
|
177
|
+
position: absolute;
|
|
178
|
+
transform: translate(calc(-100% - 2px), calc(-100% + 26px));
|
|
179
|
+
}
|
|
180
|
+
.context-menu-item-left {
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: center;
|
|
183
|
+
}
|
|
184
|
+
.context-menu-item-right {
|
|
185
|
+
width: 6px;
|
|
186
|
+
height: 10px;
|
|
187
|
+
background-position: center center;
|
|
188
|
+
background-repeat: no-repeat;
|
|
189
|
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAICAYAAAAx8TU7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACLSURBVHgBbU07DoJQEJxdSGg9Akfw3cDehncEago7EzsrSWgsUS9BojHaeQWPgDewI5CwC48EQsEUu5P5ZJBd3rvT9R5hBhZI5KlXpPljM4lBVdv+l8RcZLfn2onkTpq/Qib5OF4FjWEswB9TpFi1aMwxtn+fSc+9GUJgDokthyFF+xNFvE+237HeAebpK4t5Dh02AAAAAElFTkSuQmCC);
|
|
190
|
+
}
|
|
191
|
+
.context-menu-separator {
|
|
192
|
+
height: 1px;
|
|
193
|
+
width: 100%;
|
|
194
|
+
background-color: var(--moz-color-border);
|
|
195
|
+
margin-top: 0.375rem;
|
|
196
|
+
margin-bottom: 0.375rem;
|
|
197
|
+
}
|
|
198
|
+
.context-menu-active {
|
|
199
|
+
opacity: 100%;
|
|
200
|
+
}
|
|
201
|
+
.before-fade {
|
|
202
|
+
opacity: 0;
|
|
203
|
+
}
|
|
204
|
+
.after-fade {
|
|
205
|
+
opacity: 100%;
|
|
206
|
+
}
|
|
207
|
+
.context-menu-fixed-position-space {
|
|
208
|
+
visibility: hidden;
|
|
209
|
+
pointer-events: none;
|
|
210
|
+
position: absolute;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
@layer moz {
|
|
62
|
+
.moz-left-menu-close {
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
align-items: center;
|
|
66
|
+
height: 24px;
|
|
67
|
+
margin-left: 3px;
|
|
68
|
+
margin-right: 8px;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
}
|
|
71
|
+
.moz-controller-root {
|
|
72
|
+
padding: 0px 20px;
|
|
73
|
+
background-color: var(--moz-color-surface);
|
|
74
|
+
}
|
|
75
|
+
.moz-controller-root.popup-controller {
|
|
76
|
+
padding: 0px;
|
|
77
|
+
}
|
|
78
|
+
.moz-controller-root.popup-controller .moz-controller-filter {
|
|
79
|
+
margin-bottom: 0px;
|
|
80
|
+
}
|
|
81
|
+
.moz-controller-root .moz-controller {
|
|
82
|
+
height: 62px;
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: space-between;
|
|
86
|
+
}
|
|
87
|
+
.moz-controller-root .moz-controller .moz-controller-actions {
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
gap: 6px;
|
|
91
|
+
}
|
|
92
|
+
.moz-controller-root .moz-controller .moz-controller-actions .filter-icon svg {
|
|
93
|
+
min-width: 20px;
|
|
94
|
+
}
|
|
95
|
+
.moz-controller-root .moz-controller .moz-controller-actions > .spacer {
|
|
96
|
+
width: 1px;
|
|
97
|
+
height: 14px;
|
|
98
|
+
background-color: var(--moz-color-border);
|
|
99
|
+
margin-right: 8px;
|
|
100
|
+
border-radius: var(--moz-radius-pill);
|
|
101
|
+
}
|
|
102
|
+
.moz-controller-root .moz-controller .moz-controller-actions > .spacer.between-buttons {
|
|
103
|
+
margin-left: 2px;
|
|
104
|
+
margin-right: 2px;
|
|
105
|
+
}
|
|
106
|
+
.moz-controller-root .moz-horizontal-filter {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
flex-wrap: wrap;
|
|
110
|
+
}
|
|
111
|
+
.moz-controller-root .moz-controller-filter {
|
|
112
|
+
padding: 10px 10px;
|
|
113
|
+
background-color: var(--moz-color-surface-subtle);
|
|
114
|
+
border: 1px solid var(--moz-color-border);
|
|
115
|
+
gap: 6px;
|
|
116
|
+
margin-bottom: 0.625rem;
|
|
117
|
+
position: relative;
|
|
118
|
+
}
|
|
119
|
+
.moz-controller-root .moz-controller-filter .accessibility-button {
|
|
120
|
+
position: absolute;
|
|
121
|
+
top: -17px;
|
|
122
|
+
right: 0;
|
|
123
|
+
opacity: 0;
|
|
124
|
+
font-size: 0.8125rem;
|
|
125
|
+
border-radius: var(--moz-radius-control);
|
|
126
|
+
color: var(--moz-color-surface-subtle);
|
|
127
|
+
line-height: 19px;
|
|
128
|
+
text-align: left;
|
|
129
|
+
padding: 6px 10px;
|
|
130
|
+
background-color: var(--moz-color-text);
|
|
131
|
+
box-shadow: 2px 2px 7px var(--moz-color-shadow);
|
|
132
|
+
z-index: 999999;
|
|
133
|
+
max-width: 350px;
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
word-break: break-all;
|
|
136
|
+
pointer-events: none;
|
|
137
|
+
}
|
|
138
|
+
.moz-controller-root .moz-controller-filter .accessibility-button:focus, .moz-controller-root .moz-controller-filter .accessibility-button:focus-within {
|
|
139
|
+
opacity: 1;
|
|
140
|
+
pointer-events: auto;
|
|
141
|
+
}
|
|
142
|
+
.controller-filter-enter-from,
|
|
143
|
+
.controller-filter-leave-to {
|
|
144
|
+
transform: translate(0, -10px);
|
|
145
|
+
opacity: 0;
|
|
146
|
+
transition: opacity 0.15s ease-in, transform 0.15s ease-in;
|
|
147
|
+
}
|
|
148
|
+
.controller-filter-enter-to,
|
|
149
|
+
.controller-filter-leave-from {
|
|
150
|
+
transform: translate(0);
|
|
151
|
+
opacity: 1;
|
|
152
|
+
transition: opacity 0.15s ease-in, transform 0.15s ease-in;
|
|
153
|
+
}
|
|
154
|
+
.spacer {
|
|
155
|
+
flex: 1;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
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
|
+
* DateInput 스타일 — DateInput.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
|
|
63
|
+
* 스핀 버튼은 moz-button 클래스 재현 → button.css 도 함께 import. 드롭다운 Calendar → calendar.css.
|
|
64
|
+
* 원본 `:deep(.moz-calendar-container)` 는 light DOM 평문 셀렉터로 대체.
|
|
65
|
+
*/
|
|
66
|
+
@layer moz {
|
|
67
|
+
.moz-date-input-container {
|
|
68
|
+
margin: 0;
|
|
69
|
+
display: flex;
|
|
70
|
+
cursor: pointer;
|
|
71
|
+
flex-direction: column;
|
|
72
|
+
gap: 0.375rem;
|
|
73
|
+
}
|
|
74
|
+
.moz-date-input-container.disabled {
|
|
75
|
+
cursor: default;
|
|
76
|
+
}
|
|
77
|
+
.moz-date-input-container.disabled:hover .moz-date-input {
|
|
78
|
+
border-color: var(--moz-color-text-muted);
|
|
79
|
+
}
|
|
80
|
+
.moz-date-input-container.disabled:hover .moz-date-input__icon {
|
|
81
|
+
color: var(--moz-color-text-muted);
|
|
82
|
+
}
|
|
83
|
+
.moz-date-input-container:hover .moz-date-input {
|
|
84
|
+
border-color: var(--moz-color-accent);
|
|
85
|
+
}
|
|
86
|
+
.moz-date-input-container:focus-within .moz-date-input {
|
|
87
|
+
border-color: var(--moz-color-accent);
|
|
88
|
+
}
|
|
89
|
+
.moz-date-input-container:hover .moz-date-input__icon {
|
|
90
|
+
color: var(--moz-color-accent);
|
|
91
|
+
}
|
|
92
|
+
.moz-date-input-container:focus-within .moz-date-input__icon {
|
|
93
|
+
color: var(--moz-color-accent);
|
|
94
|
+
}
|
|
95
|
+
.moz-date-input-container .require-mark {
|
|
96
|
+
color: var(--moz-color-danger);
|
|
97
|
+
}
|
|
98
|
+
.moz-date-input-wrapper {
|
|
99
|
+
display: flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
}
|
|
102
|
+
.date-move-btn {
|
|
103
|
+
height: 1.875rem;
|
|
104
|
+
min-height: 1.875rem;
|
|
105
|
+
width: 1.875rem;
|
|
106
|
+
min-width: 1.875rem;
|
|
107
|
+
padding: 0.25rem;
|
|
108
|
+
}
|
|
109
|
+
.date-move-btn--left {
|
|
110
|
+
border-radius: var(--moz-radius-control) 0 0 var(--moz-radius-control);
|
|
111
|
+
}
|
|
112
|
+
.date-move-btn--right {
|
|
113
|
+
border-radius: 0 var(--moz-radius-control) var(--moz-radius-control) 0;
|
|
114
|
+
}
|
|
115
|
+
.date-move-btn--disabled {
|
|
116
|
+
border: 1px solid var(--moz-color-text-muted);
|
|
117
|
+
background-color: var(--moz-color-surface-subtle);
|
|
118
|
+
}
|
|
119
|
+
.moz-date-input-container .moz-date-input-wrapper .date-move-btn {
|
|
120
|
+
width: 1.875rem;
|
|
121
|
+
min-width: 1.875rem;
|
|
122
|
+
height: 1.875rem;
|
|
123
|
+
min-height: 1.875rem;
|
|
124
|
+
padding: 0.25rem;
|
|
125
|
+
}
|
|
126
|
+
.moz-date-input {
|
|
127
|
+
box-sizing: border-box;
|
|
128
|
+
display: flex;
|
|
129
|
+
height: 1.875rem;
|
|
130
|
+
min-height: 1.875rem;
|
|
131
|
+
width: 100%;
|
|
132
|
+
overflow: hidden;
|
|
133
|
+
border: 1px solid var(--moz-color-border);
|
|
134
|
+
background-color: var(--moz-color-surface);
|
|
135
|
+
}
|
|
136
|
+
.moz-date-input--radius {
|
|
137
|
+
border-radius: var(--moz-radius-control);
|
|
138
|
+
}
|
|
139
|
+
.moz-date-input--no-lr-border {
|
|
140
|
+
border-right: 0;
|
|
141
|
+
border-left: 0;
|
|
142
|
+
}
|
|
143
|
+
.moz-date-input--disabled {
|
|
144
|
+
flex-grow: 1;
|
|
145
|
+
border-color: var(--moz-color-text-muted);
|
|
146
|
+
background-color: var(--moz-color-surface-subtle);
|
|
147
|
+
}
|
|
148
|
+
.moz-date-input:focus-within {
|
|
149
|
+
z-index: 2;
|
|
150
|
+
box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
|
|
151
|
+
}
|
|
152
|
+
.moz-date-input__field {
|
|
153
|
+
height: 100%;
|
|
154
|
+
min-height: 100%;
|
|
155
|
+
width: 100%;
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
text-overflow: ellipsis;
|
|
158
|
+
white-space: nowrap;
|
|
159
|
+
font-size: 0.8125rem;
|
|
160
|
+
color: var(--moz-color-text);
|
|
161
|
+
box-sizing: border-box;
|
|
162
|
+
border: none;
|
|
163
|
+
background-color: transparent;
|
|
164
|
+
outline: none;
|
|
165
|
+
padding-right: 0;
|
|
166
|
+
padding-left: 0.625rem;
|
|
167
|
+
}
|
|
168
|
+
.moz-date-input__field--disabled {
|
|
169
|
+
cursor: not-allowed;
|
|
170
|
+
color: var(--moz-color-text-muted);
|
|
171
|
+
}
|
|
172
|
+
.moz-date-input__icon-container {
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
border: none;
|
|
176
|
+
margin-right: 0.625rem;
|
|
177
|
+
}
|
|
178
|
+
.moz-date-input__icon {
|
|
179
|
+
color: var(--moz-color-text-subtle);
|
|
180
|
+
}
|
|
181
|
+
.moz-date-input__icon--disabled {
|
|
182
|
+
color: var(--moz-color-text-muted);
|
|
183
|
+
}
|
|
184
|
+
.calendar-container {
|
|
185
|
+
position: fixed;
|
|
186
|
+
z-index: 1000;
|
|
187
|
+
margin-top: 0.1875rem;
|
|
188
|
+
margin-bottom: 0.1875rem;
|
|
189
|
+
}
|
|
190
|
+
.calendar-container .moz-calendar-container {
|
|
191
|
+
position: static !important;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
* EmptyState 스타일 — EmptyState.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
|
|
43
|
+
*/
|
|
44
|
+
@layer moz {
|
|
45
|
+
.empty-container {
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: column;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
z-index: 1;
|
|
51
|
+
width: 480px;
|
|
52
|
+
height: 100%;
|
|
53
|
+
}
|
|
54
|
+
.empty-container .empty-heading {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
font-weight: 500;
|
|
57
|
+
line-height: 20px;
|
|
58
|
+
text-align: center;
|
|
59
|
+
margin: 20px 0 0;
|
|
60
|
+
color: var(--moz-color-text);
|
|
61
|
+
white-space: pre-line;
|
|
62
|
+
}
|
|
63
|
+
.empty-container .empty-content {
|
|
64
|
+
margin: 4px 0 0;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
line-height: 17px;
|
|
68
|
+
text-align: center;
|
|
69
|
+
color: var(--moz-color-text-secondary);
|
|
70
|
+
white-space: pre-line;
|
|
71
|
+
}
|
|
72
|
+
.empty-container .empty-img {
|
|
73
|
+
margin-top: 8px;
|
|
74
|
+
flex: 1;
|
|
75
|
+
max-height: 180px;
|
|
76
|
+
min-height: 110px;
|
|
77
|
+
}
|
|
78
|
+
.empty-container .empty-icon {
|
|
79
|
+
display: flex;
|
|
80
|
+
justify-content: center;
|
|
81
|
+
}
|
|
82
|
+
.empty-container .empty-heading-slot,
|
|
83
|
+
.empty-container .empty-description,
|
|
84
|
+
.empty-container .empty-actions {
|
|
85
|
+
display: contents;
|
|
86
|
+
}
|
|
87
|
+
.empty-container.empty-composed {
|
|
88
|
+
width: auto;
|
|
89
|
+
height: auto;
|
|
90
|
+
}
|
|
91
|
+
}
|