@vmscloud/moz-ui-components-core 0.1.59 → 0.1.61

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.
@@ -73,6 +73,8 @@
73
73
  /**
74
74
  * Select 스타일 — Select.vue 의 scoped SCSS 를 별도 파일로 분리 (1:1, 하드코딩 hex 유지).
75
75
  * 드롭다운(.list-box)은 position:fixed 로 Overlay 가 배치. Label 은 label.css 도 함께 import.
76
+ * 원본 scoped 범위는 :where(.moz-select) / :where(.moz-select-list) 로 재현한다(특이도 불변) — .list-box·.icon-container 등
77
+ * 범용 이름이 MultiSelect·TreeSelect·TableSelect·TimePicker 와 소비 앱 요소에 섞이지 않게 한다.
76
78
  */
77
79
  @layer moz {
78
80
  .moz-select {
@@ -101,13 +103,13 @@
101
103
  border-color: var(--moz-color-text-muted);
102
104
  background-color: var(--moz-color-surface-subtle);
103
105
  }
104
- .input-wrapper {
106
+ :where(.moz-select) .input-wrapper {
105
107
  display: flex;
106
108
  width: 100%;
107
109
  flex-direction: column;
108
110
  gap: 0.375rem;
109
111
  }
110
- .moz-input-container.select-input-container {
112
+ :where(.moz-select) .moz-input-container.select-input-container {
111
113
  box-sizing: border-box;
112
114
  display: flex;
113
115
  height: 1.875rem;
@@ -118,14 +120,14 @@
118
120
  border: 1px solid var(--moz-color-border);
119
121
  background-color: var(--moz-color-surface);
120
122
  }
121
- .moz-input-container.select-input-container:focus-within {
123
+ :where(.moz-select) .moz-input-container.select-input-container:focus-within {
122
124
  border-color: var(--moz-color-accent);
123
125
  box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
124
126
  }
125
- .moz-input-container.select-input-container:hover {
127
+ :where(.moz-select) .moz-input-container.select-input-container:hover {
126
128
  border-color: var(--moz-color-accent);
127
129
  }
128
- .input-container-wrapper {
130
+ :where(.moz-select) .input-container-wrapper {
129
131
  display: flex;
130
132
  width: 100%;
131
133
  cursor: text;
@@ -137,14 +139,14 @@
137
139
  font-size: 0.8125rem;
138
140
  color: var(--moz-color-text);
139
141
  }
140
- .input-container-wrapper--disabled {
142
+ :where(.moz-select) .input-container-wrapper--disabled {
141
143
  cursor: not-allowed;
142
144
  color: var(--moz-color-text-muted);
143
145
  }
144
- .input-container-wrapper--disabled::placeholder {
146
+ :where(.moz-select) .input-container-wrapper--disabled::placeholder {
145
147
  color: var(--moz-color-text-muted);
146
148
  }
147
- .icon-container {
149
+ :where(.moz-select) .icon-container {
148
150
  display: flex;
149
151
  height: 100%;
150
152
  width: 2.125rem;
@@ -158,10 +160,10 @@
158
160
  padding: 0;
159
161
  outline: none;
160
162
  }
161
- .icon-container:disabled {
163
+ :where(.moz-select) .icon-container:disabled {
162
164
  cursor: not-allowed;
163
165
  }
164
- .select-display-input {
166
+ :where(.moz-select) .select-display-input {
165
167
  box-sizing: border-box;
166
168
  height: 100%;
167
169
  min-height: 100%;
@@ -180,24 +182,24 @@
180
182
  color: var(--moz-color-text);
181
183
  outline: none;
182
184
  }
183
- .select-display-input::placeholder {
185
+ :where(.moz-select) .select-display-input::placeholder {
184
186
  color: var(--moz-color-text-subtle);
185
187
  }
186
- .select-display-input--disabled {
188
+ :where(.moz-select) .select-display-input--disabled {
187
189
  cursor: not-allowed;
188
190
  color: var(--moz-color-text-muted);
189
191
  }
190
- .select-display-input--disabled::placeholder {
192
+ :where(.moz-select) .select-display-input--disabled::placeholder {
191
193
  color: var(--moz-color-text-muted);
192
194
  }
193
- .moz-input-invalid-message {
195
+ :where(.moz-select) .moz-input-invalid-message {
194
196
  position: absolute;
195
197
  bottom: -0.625rem;
196
198
  font-size: 0.75rem;
197
199
  font-weight: 500;
198
200
  color: var(--moz-color-danger);
199
201
  }
200
- .list-box {
202
+ .list-box:where(.moz-select-list) {
201
203
  position: fixed;
202
204
  z-index: 1000;
203
205
  margin-top: 0.3125rem;
@@ -210,7 +212,7 @@
210
212
  background-color: var(--moz-color-surface);
211
213
  box-shadow: 0 3px 4px 0 var(--moz-color-shadow);
212
214
  }
213
- .filter-input {
215
+ :where(.moz-select-list) .filter-input {
214
216
  position: relative;
215
217
  box-sizing: border-box;
216
218
  display: flex;
@@ -223,7 +225,7 @@
223
225
  border-style: solid;
224
226
  border-color: var(--moz-color-border);
225
227
  }
226
- .filter-input .filter-input__field {
228
+ :where(.moz-select-list) .filter-input .filter-input__field {
227
229
  width: 100%;
228
230
  border: none;
229
231
  background-color: transparent;
@@ -235,28 +237,28 @@
235
237
  font-size: 0.8125rem;
236
238
  outline: none;
237
239
  }
238
- .filter-input .filter-input__field::placeholder {
240
+ :where(.moz-select-list) .filter-input .filter-input__field::placeholder {
239
241
  color: var(--moz-color-text-subtle);
240
242
  }
241
- .search-icon {
243
+ :where(.moz-select-list) .search-icon {
242
244
  display: flex;
243
245
  min-width: 1.75rem;
244
246
  align-items: center;
245
247
  justify-content: center;
246
248
  }
247
- .list-box-container {
249
+ :where(.moz-select-list) .list-box-container {
248
250
  max-height: 250px;
249
251
  overflow-y: auto;
250
252
  padding-top: 0.1875rem;
251
253
  padding-bottom: 0.1875rem;
252
254
  }
253
- .list-box-container--with-filter {
255
+ :where(.moz-select-list) .list-box-container--with-filter {
254
256
  max-height: 222px;
255
257
  }
256
- .inner-container {
258
+ :where(.moz-select-list) .inner-container {
257
259
  position: relative;
258
260
  }
259
- .list-box-item {
261
+ :where(.moz-select-list) .list-box-item {
260
262
  box-sizing: border-box;
261
263
  display: flex;
262
264
  min-height: 1.5rem;
@@ -268,32 +270,32 @@
268
270
  line-height: 1.5rem;
269
271
  color: var(--moz-color-text);
270
272
  }
271
- .list-box-item.virtual-row {
273
+ :where(.moz-select-list) .list-box-item.virtual-row {
272
274
  position: absolute;
273
275
  width: 100%;
274
276
  cursor: pointer;
275
277
  gap: 0.375rem;
276
278
  outline: none;
277
279
  }
278
- .list-box-item.virtual-row:hover, .list-box-item.virtual-row:focus {
280
+ :where(.moz-select-list) .list-box-item.virtual-row:hover, :where(.moz-select-list) .list-box-item.virtual-row:focus {
279
281
  background-color: var(--moz-color-accent-ghost);
280
282
  }
281
- .list-box-item.loading.not-hover {
283
+ :where(.moz-select-list) .list-box-item.loading.not-hover {
282
284
  cursor: default;
283
285
  color: var(--moz-color-text-subtle);
284
286
  }
285
- .highlight-container {
287
+ :where(.moz-select-list) .highlight-container {
286
288
  display: inline-block;
287
289
  flex-grow: 1;
288
290
  overflow: hidden;
289
291
  text-overflow: ellipsis;
290
292
  white-space: nowrap;
291
293
  }
292
- .highlight {
294
+ :where(.moz-select-list) .highlight {
293
295
  font-weight: bold;
294
296
  color: var(--moz-color-accent);
295
297
  }
296
- .icon-check {
298
+ :where(.moz-select-list) .icon-check {
297
299
  min-width: 0.75rem;
298
300
  }
299
301
  }
@@ -54,20 +54,20 @@
54
54
  * SplitPane 스타일 — SplitPane.vue 의 scoped SCSS 1:1 (하드코딩 hex).
55
55
  */
56
56
  @layer moz {
57
- .resizer:active {
57
+ :where(.splitter) .resizer:active {
58
58
  background-color: var(--moz-color-accent-subtle);
59
59
  }
60
- .resizer-vertical {
60
+ :where(.splitter) .resizer-vertical {
61
61
  width: 10px;
62
62
  height: 100%;
63
63
  cursor: col-resize;
64
64
  }
65
- .resizer-horizontal {
65
+ :where(.splitter) .resizer-horizontal {
66
66
  width: 100%;
67
67
  height: 10px;
68
68
  cursor: row-resize;
69
69
  }
70
- .size-calculator {
70
+ :where(.splitter) .size-calculator {
71
71
  position: absolute;
72
72
  pointer-events: none;
73
73
  }
@@ -101,13 +101,13 @@
101
101
  border-color: var(--moz-color-text-muted);
102
102
  background-color: var(--moz-color-surface-subtle);
103
103
  }
104
- .input-wrapper {
104
+ :where(.moz-table-select) .input-wrapper {
105
105
  display: flex;
106
106
  width: 100%;
107
107
  flex-direction: column;
108
108
  gap: 0.375rem;
109
109
  }
110
- .moz-input-container.select-input-container {
110
+ :where(.moz-table-select) .moz-input-container.select-input-container {
111
111
  box-sizing: border-box;
112
112
  display: flex;
113
113
  height: 1.875rem;
@@ -118,14 +118,14 @@
118
118
  border: 1px solid var(--moz-color-border);
119
119
  background-color: var(--moz-color-surface);
120
120
  }
121
- .moz-input-container.select-input-container:focus-within {
121
+ :where(.moz-table-select) .moz-input-container.select-input-container:focus-within {
122
122
  border-color: var(--moz-color-accent);
123
123
  box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
124
124
  }
125
- .moz-input-container.select-input-container:hover {
125
+ :where(.moz-table-select) .moz-input-container.select-input-container:hover {
126
126
  border-color: var(--moz-color-accent);
127
127
  }
128
- .icon-container {
128
+ :where(.moz-table-select) .icon-container {
129
129
  display: flex;
130
130
  height: 100%;
131
131
  width: 2.125rem;
@@ -139,10 +139,10 @@
139
139
  padding: 0;
140
140
  outline: none;
141
141
  }
142
- .icon-container:disabled {
142
+ :where(.moz-table-select) .icon-container:disabled {
143
143
  cursor: not-allowed;
144
144
  }
145
- .select-display-input {
145
+ :where(.moz-table-select) .select-display-input {
146
146
  box-sizing: border-box;
147
147
  height: 100%;
148
148
  min-height: 100%;
@@ -161,24 +161,24 @@
161
161
  color: var(--moz-color-text);
162
162
  outline: none;
163
163
  }
164
- .select-display-input::placeholder {
164
+ :where(.moz-table-select) .select-display-input::placeholder {
165
165
  color: var(--moz-color-text-subtle);
166
166
  }
167
- .select-display-input--disabled {
167
+ :where(.moz-table-select) .select-display-input--disabled {
168
168
  cursor: not-allowed;
169
169
  color: var(--moz-color-text-muted);
170
170
  }
171
- .select-display-input--disabled::placeholder {
171
+ :where(.moz-table-select) .select-display-input--disabled::placeholder {
172
172
  color: var(--moz-color-text-muted);
173
173
  }
174
- .moz-input-invalid-message {
174
+ :where(.moz-table-select) .moz-input-invalid-message {
175
175
  position: absolute;
176
176
  bottom: -0.625rem;
177
177
  font-size: 0.75rem;
178
178
  font-weight: 500;
179
179
  color: var(--moz-color-danger);
180
180
  }
181
- .table-list-box {
181
+ .table-list-box:where(.moz-table-select-list) {
182
182
  position: fixed;
183
183
  z-index: 1000;
184
184
  margin-top: 4px;
@@ -190,7 +190,7 @@
190
190
  background-color: var(--moz-color-surface);
191
191
  box-shadow: 0 3px 4px 0 var(--moz-color-shadow);
192
192
  }
193
- .filter-input {
193
+ :where(.moz-table-select-list) .filter-input {
194
194
  position: relative;
195
195
  box-sizing: border-box;
196
196
  display: flex;
@@ -203,7 +203,7 @@
203
203
  border-style: solid;
204
204
  border-color: var(--moz-color-border);
205
205
  }
206
- .filter-input .filter-input__field {
206
+ :where(.moz-table-select-list) .filter-input .filter-input__field {
207
207
  width: 100%;
208
208
  border: none;
209
209
  background-color: transparent;
@@ -215,29 +215,29 @@
215
215
  font-size: 0.8125rem;
216
216
  outline: none;
217
217
  }
218
- .filter-input .filter-input__field::placeholder {
218
+ :where(.moz-table-select-list) .filter-input .filter-input__field::placeholder {
219
219
  color: var(--moz-color-text-subtle);
220
220
  }
221
- .search-icon {
221
+ :where(.moz-table-select-list) .search-icon {
222
222
  display: flex;
223
223
  align-items: center;
224
224
  justify-content: center;
225
225
  padding-left: 0.625rem;
226
226
  }
227
- .list-box-container {
227
+ :where(.moz-table-select-list) .list-box-container {
228
228
  max-height: 300px;
229
229
  overflow-y: auto;
230
230
  }
231
- .list-box-container--with-filter {
231
+ :where(.moz-table-select-list) .list-box-container--with-filter {
232
232
  max-height: 271px;
233
233
  }
234
- .list-box-container--with-header {
234
+ :where(.moz-table-select-list) .list-box-container--with-header {
235
235
  max-height: 268px;
236
236
  }
237
- .list-box-container--with-filter-header {
237
+ :where(.moz-table-select-list) .list-box-container--with-filter-header {
238
238
  max-height: 239px;
239
239
  }
240
- .table-header {
240
+ :where(.moz-table-select-list) .table-header {
241
241
  display: flex;
242
242
  align-items: center;
243
243
  height: 32px;
@@ -246,7 +246,7 @@
246
246
  gap: 0.75rem;
247
247
  border-bottom: 1px solid var(--moz-color-border-subtle);
248
248
  }
249
- .table-header-cell {
249
+ :where(.moz-table-select-list) .table-header-cell {
250
250
  flex-shrink: 0;
251
251
  overflow: hidden;
252
252
  text-overflow: ellipsis;
@@ -258,13 +258,13 @@
258
258
  font-weight: 500;
259
259
  margin-top: 2px;
260
260
  }
261
- .table-header-cell:last-of-type {
261
+ :where(.moz-table-select-list) .table-header-cell:last-of-type {
262
262
  padding-right: 30px;
263
263
  }
264
- .inner-container {
264
+ :where(.moz-table-select-list) .inner-container {
265
265
  position: relative;
266
266
  }
267
- .table-row {
267
+ :where(.moz-table-select-list) .table-row {
268
268
  box-sizing: border-box;
269
269
  display: flex;
270
270
  min-height: 32px;
@@ -276,29 +276,29 @@
276
276
  color: var(--moz-color-text);
277
277
  gap: 0.75rem;
278
278
  }
279
- .table-row.virtual-row {
279
+ :where(.moz-table-select-list) .table-row.virtual-row {
280
280
  position: absolute;
281
281
  width: 100%;
282
282
  cursor: pointer;
283
283
  outline: none;
284
284
  border-bottom: 1px solid var(--moz-color-border-subtle);
285
285
  }
286
- .table-row.virtual-row:last-child {
286
+ :where(.moz-table-select-list) .table-row.virtual-row:last-child {
287
287
  border-bottom: none;
288
288
  }
289
- .table-row.virtual-row:hover, .table-row.virtual-row.row-focused {
289
+ :where(.moz-table-select-list) .table-row.virtual-row:hover, :where(.moz-table-select-list) .table-row.virtual-row.row-focused {
290
290
  background-color: var(--moz-color-accent-ghost);
291
291
  }
292
- .table-row.row-selected {
292
+ :where(.moz-table-select-list) .table-row.row-selected {
293
293
  background-color: var(--moz-color-accent-ghost);
294
294
  box-shadow: inset 2px 0 0 0 var(--moz-color-accent);
295
295
  }
296
- .table-row.empty-row {
296
+ :where(.moz-table-select-list) .table-row.empty-row {
297
297
  cursor: default;
298
298
  justify-content: center;
299
299
  color: var(--moz-color-text-subtle);
300
300
  }
301
- .table-cell {
301
+ :where(.moz-table-select-list) .table-cell {
302
302
  flex-shrink: 0;
303
303
  overflow: hidden;
304
304
  text-overflow: ellipsis;
@@ -310,14 +310,14 @@
310
310
  line-height: 13px;
311
311
  font-weight: 400;
312
312
  }
313
- .table-cell:last-of-type {
313
+ :where(.moz-table-select-list) .table-cell:last-of-type {
314
314
  padding-right: 30px;
315
315
  }
316
- .highlight {
316
+ :where(.moz-table-select-list) .highlight {
317
317
  font-weight: bold;
318
318
  color: var(--moz-color-accent);
319
319
  }
320
- .icon-check {
320
+ :where(.moz-table-select-list) .icon-check {
321
321
  position: absolute;
322
322
  right: 0.625rem;
323
323
  min-width: 0.75rem;
@@ -113,11 +113,11 @@
113
113
  .tag-input-row:hover {
114
114
  border-color: var(--moz-color-accent);
115
115
  }
116
- .scrollbar-none {
116
+ :where(.moz-tag-input-wrapper, .moz-tag-input-float) .scrollbar-none {
117
117
  -ms-overflow-style: none;
118
118
  scrollbar-width: none;
119
119
  }
120
- .scrollbar-none::-webkit-scrollbar {
120
+ :where(.moz-tag-input-wrapper, .moz-tag-input-float) .scrollbar-none::-webkit-scrollbar {
121
121
  display: none;
122
122
  }
123
123
  .tag-input-item {
@@ -288,16 +288,16 @@
288
288
  color: var(--moz-color-scrim);
289
289
  font-style: italic;
290
290
  }
291
- .cursor-pointer {
291
+ :where(.moz-tag-input-wrapper, .moz-tag-input-float) .cursor-pointer {
292
292
  cursor: pointer;
293
293
  }
294
- .flex-1 {
294
+ :where(.moz-tag-input-wrapper, .moz-tag-input-float) .flex-1 {
295
295
  flex: 1;
296
296
  }
297
- .absolute {
297
+ .absolute:where(.moz-tag-input-float) {
298
298
  position: fixed;
299
299
  }
300
- .z-1501 {
300
+ .z-1501:where(.moz-tag-input-float) {
301
301
  z-index: 1501;
302
302
  }
303
303
  .moz-auto-input {
@@ -81,7 +81,7 @@
81
81
  flex-direction: column;
82
82
  gap: 0.375rem;
83
83
  }
84
- .time-input-wrapper {
84
+ :where(.custom-time-picker) .time-input-wrapper {
85
85
  display: flex;
86
86
  height: 1.875rem;
87
87
  width: 100%;
@@ -92,24 +92,24 @@
92
92
  overflow: hidden;
93
93
  background-color: var(--moz-color-surface);
94
94
  }
95
- .time-input-wrapper:not(.time-input-wrapper--disabled):hover {
95
+ :where(.custom-time-picker) .time-input-wrapper:not(.time-input-wrapper--disabled):hover {
96
96
  border-color: var(--moz-color-accent);
97
97
  }
98
- .time-input-wrapper--disabled {
98
+ :where(.custom-time-picker) .time-input-wrapper--disabled {
99
99
  cursor: not-allowed;
100
100
  border-color: var(--moz-color-text-muted) !important;
101
101
  background-color: var(--moz-color-surface-subtle) !important;
102
102
  }
103
- .time-input-wrapper--open {
103
+ :where(.custom-time-picker) .time-input-wrapper--open {
104
104
  border-color: var(--moz-color-accent);
105
105
  box-shadow: 0 0 0 3px var(--moz-color-accent-ring);
106
106
  }
107
- .input-with-mask {
107
+ :where(.custom-time-picker) .input-with-mask {
108
108
  position: relative;
109
109
  height: 100%;
110
110
  flex: 1;
111
111
  }
112
- .time-input {
112
+ :where(.custom-time-picker) .time-input {
113
113
  height: 100%;
114
114
  width: 100%;
115
115
  border: none;
@@ -123,10 +123,10 @@
123
123
  position: relative;
124
124
  z-index: 1;
125
125
  }
126
- .time-input--disabled {
126
+ :where(.custom-time-picker) .time-input--disabled {
127
127
  cursor: not-allowed;
128
128
  }
129
- .time-mask {
129
+ :where(.custom-time-picker) .time-mask {
130
130
  position: absolute;
131
131
  top: 0;
132
132
  left: 0;
@@ -140,16 +140,16 @@
140
140
  align-items: center;
141
141
  user-select: none;
142
142
  }
143
- .mask-input {
143
+ :where(.custom-time-picker) .mask-input {
144
144
  color: var(--moz-color-text);
145
145
  }
146
- .mask-input--disabled {
146
+ :where(.custom-time-picker) .mask-input--disabled {
147
147
  color: var(--moz-color-text-muted);
148
148
  }
149
- .mask-placeholder {
149
+ :where(.custom-time-picker) .mask-placeholder {
150
150
  color: var(--moz-color-text-secondary);
151
151
  }
152
- .icon-container {
152
+ :where(.custom-time-picker) .icon-container {
153
153
  display: flex;
154
154
  flex-shrink: 0;
155
155
  align-items: center;
@@ -165,15 +165,15 @@
165
165
  box-shadow: 0 4px 12px var(--moz-color-shadow);
166
166
  margin: 4px 0px;
167
167
  }
168
- .time-picker-content {
168
+ :where(.time-picker-dropdown) .time-picker-content {
169
169
  display: flex;
170
170
  max-height: 210px;
171
171
  }
172
- .time-column {
172
+ :where(.time-picker-dropdown) .time-column {
173
173
  height: 100%;
174
174
  flex: 1;
175
175
  }
176
- .time-label {
176
+ :where(.time-picker-dropdown) .time-label {
177
177
  height: 32px;
178
178
  box-sizing: border-box;
179
179
  padding: 0px 10px;
@@ -185,19 +185,19 @@
185
185
  align-items: center;
186
186
  border-bottom: 1px solid var(--moz-color-border-subtle);
187
187
  }
188
- .time-list {
188
+ :where(.time-picker-dropdown) .time-list {
189
189
  padding: 4px 0;
190
190
  }
191
- .time-option-wrapper {
191
+ :where(.time-picker-dropdown) .time-option-wrapper {
192
192
  height: 168px;
193
193
  overflow-y: auto;
194
194
  scroll-snap-type: y mandatory;
195
195
  scroll-behavior: smooth;
196
196
  }
197
- .time-option-wrapper::-webkit-scrollbar {
197
+ :where(.time-picker-dropdown) .time-option-wrapper::-webkit-scrollbar {
198
198
  width: 4px;
199
199
  }
200
- .time-option {
200
+ :where(.time-picker-dropdown) .time-option {
201
201
  height: 24px;
202
202
  width: 100%;
203
203
  padding: 0 10px;
@@ -209,10 +209,10 @@
209
209
  color: var(--moz-color-text);
210
210
  scroll-snap-align: center;
211
211
  }
212
- .time-option:hover {
212
+ :where(.time-picker-dropdown) .time-option:hover {
213
213
  background-color: var(--moz-color-accent-ghost);
214
214
  }
215
- .time-picker-footer {
215
+ :where(.time-picker-dropdown) .time-picker-footer {
216
216
  display: flex;
217
217
  height: 33px;
218
218
  box-sizing: border-box;
@@ -227,7 +227,7 @@
227
227
  font-weight: 400;
228
228
  cursor: pointer;
229
229
  }
230
- .time-picker-footer:hover {
230
+ :where(.time-picker-dropdown) .time-picker-footer:hover {
231
231
  color: var(--moz-color-accent);
232
232
  }
233
233
  }
@@ -147,7 +147,7 @@
147
147
  height: 100%;
148
148
  background-color: currentColor;
149
149
  }
150
- .toast-message {
150
+ :where(.moz-toast) .toast-message {
151
151
  overflow: hidden;
152
152
  text-overflow: ellipsis;
153
153
  white-space: nowrap;