@uniai-fe/uds-primitives 0.3.17 → 0.3.18

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/styles.css CHANGED
@@ -344,6 +344,19 @@
344
344
  --input-table-text-large-size: var(--font-body-small-size);
345
345
  --input-table-text-large-line-height: var(--font-body-small-line-height);
346
346
  --input-table-text-large-weight: var(--font-body-small-weight);
347
+ /* Figma size 매핑: small/medium/large typography 토큰 */
348
+ --input-text-small-size: var(--font-body-xsmall-size);
349
+ --input-text-small-line-height: var(--font-label-medium-line-height);
350
+ --input-text-small-weight: 400;
351
+ --input-text-small-letter-spacing: 0.2px;
352
+ --input-text-medium-size: var(--font-body-medium-size);
353
+ --input-text-medium-line-height: var(--font-body-medium-line-height);
354
+ --input-text-medium-weight: 400;
355
+ --input-text-medium-letter-spacing: 0px;
356
+ --input-text-large-size: var(--font-body-large-size);
357
+ --input-text-large-line-height: var(--font-body-large-line-height);
358
+ --input-text-large-weight: 400;
359
+ --input-text-large-letter-spacing: 0px;
347
360
  /* Label/helper colors */
348
361
  --input-label-color: var(--color-label-standard);
349
362
  --input-label-accent-color: var(--color-primary-default);
@@ -365,9 +378,9 @@
365
378
  --input-placeholder-disabled-color: var(--color-label-disabled);
366
379
  /* 변경: readonly 입력은 placeholder를 숨겨 value 텍스트 대비를 고정한다. */
367
380
  --input-placeholder-readonly-color: transparent;
368
- --input-font-size: var(--font-body-medium-size);
369
- --input-line-height: var(--font-body-medium-line-height);
370
- --input-font-weight: 400;
381
+ --input-font-size: var(--input-text-medium-size);
382
+ --input-line-height: var(--input-text-medium-line-height);
383
+ --input-font-weight: var(--input-text-medium-weight);
371
384
  --input-letter-spacing: 0px;
372
385
  /* Border tokens */
373
386
  --input-border-color: var(--color-border-standard-cool-gray);
@@ -497,18 +510,19 @@
497
510
  --input-table-text-large-line-height
498
511
  );
499
512
  --select-table-text-large-weight: var(--input-table-text-large-weight);
500
- --select-text-small-size: 15px;
501
- --select-text-small-line-height: 1.4;
502
- --select-text-small-letter-spacing: 0.2px;
503
- --select-text-small-weight: 400;
504
- --select-text-medium-size: var(--font-body-medium-size);
505
- --select-text-medium-line-height: var(--font-body-medium-line-height);
506
- --select-text-medium-letter-spacing: 0;
507
- --select-text-medium-weight: 400;
508
- --select-text-large-size: var(--font-body-large-size);
509
- --select-text-large-line-height: var(--font-body-large-line-height);
510
- --select-text-large-letter-spacing: 0;
511
- --select-text-large-weight: 400;
513
+ /* 변경: trigger 텍스트 토큰을 input text 토큰과 직접 매핑해 size typography를 동기화한다. */
514
+ --select-text-small-size: var(--input-text-small-size);
515
+ --select-text-small-line-height: var(--input-text-small-line-height);
516
+ --select-text-small-letter-spacing: var(--input-text-small-letter-spacing);
517
+ --select-text-small-weight: var(--input-text-small-weight);
518
+ --select-text-medium-size: var(--input-text-medium-size);
519
+ --select-text-medium-line-height: var(--input-text-medium-line-height);
520
+ --select-text-medium-letter-spacing: var(--input-text-medium-letter-spacing);
521
+ --select-text-medium-weight: var(--input-text-medium-weight);
522
+ --select-text-large-size: var(--input-text-large-size);
523
+ --select-text-large-line-height: var(--input-text-large-line-height);
524
+ --select-text-large-letter-spacing: var(--input-text-large-letter-spacing);
525
+ --select-text-large-weight: var(--input-text-large-weight);
512
526
  --select-icon-size-small: 1.6rem;
513
527
  --select-icon-size-medium: 2rem;
514
528
  --select-icon-size-large: 2rem;
@@ -652,9 +666,15 @@
652
666
  .alternate.is-horizontal.loading .empty-text {
653
667
  transform: translateY(0.2rem);
654
668
  }
669
+ .alternate.is-horizontal.loading .empty-text {
670
+ margin-left: 1rem;
671
+ }
655
672
  .alternate.is-vertical {
656
673
  flex-direction: column;
657
674
  }
675
+ .alternate.is-vertical .empty-text {
676
+ margin-top: 1rem;
677
+ }
658
678
 
659
679
  .alternate-loading-icon {
660
680
  width: 2.4rem;
@@ -666,12 +686,6 @@
666
686
  justify-content: center;
667
687
  animation: alternate-loading-spin 1s linear infinite;
668
688
  }
669
- .alternate-loading-icon.is-horizontal {
670
- margin-right: 1rem;
671
- }
672
- .alternate-loading-icon.is-vertical {
673
- margin-bottom: 1rem;
674
- }
675
689
  .alternate-loading-icon.is-medium {
676
690
  width: 3.6rem;
677
691
  height: 3.6rem;
@@ -680,6 +694,10 @@
680
694
  width: 5.2rem;
681
695
  height: 5.2rem;
682
696
  }
697
+ .alternate-loading-icon svg {
698
+ width: 100%;
699
+ height: 100%;
700
+ }
683
701
 
684
702
 
685
703
 
@@ -2469,9 +2487,17 @@ figure.chip {
2469
2487
  }
2470
2488
  .input-field[data-size=small] {
2471
2489
  min-height: var(--input-default-height-small);
2490
+ --input-font-size: var(--input-text-small-size);
2491
+ --input-line-height: var(--input-text-small-line-height);
2492
+ --input-font-weight: var(--input-text-small-weight);
2493
+ --input-letter-spacing: var(--input-text-small-letter-spacing);
2472
2494
  }
2473
2495
  .input-field[data-size=large] {
2474
2496
  min-height: var(--input-default-height-large);
2497
+ --input-font-size: var(--input-text-large-size);
2498
+ --input-line-height: var(--input-text-large-line-height);
2499
+ --input-font-weight: var(--input-text-large-weight);
2500
+ --input-letter-spacing: var(--input-text-large-letter-spacing);
2475
2501
  }
2476
2502
  .input-field[data-priority=secondary] {
2477
2503
  border: none;
@@ -2501,6 +2527,10 @@ figure.chip {
2501
2527
  border-radius: var(--input-tertiary-radius-base);
2502
2528
  background-color: var(--input-surface-color);
2503
2529
  min-height: var(--input-tertiary-height-base);
2530
+ --input-font-size: var(--input-text-medium-size);
2531
+ --input-line-height: var(--input-text-medium-line-height);
2532
+ --input-font-weight: var(--input-text-medium-weight);
2533
+ --input-letter-spacing: var(--input-text-medium-letter-spacing);
2504
2534
  row-gap: var(--input-tertiary-row-gap);
2505
2535
  column-gap: var(--input-default-gap);
2506
2536
  flex-wrap: wrap;
@@ -3876,7 +3906,7 @@ figure.chip {
3876
3906
  }
3877
3907
 
3878
3908
  .select-button[data-priority=secondary][data-size=large] .select-label {
3879
- font-weight: 600;
3909
+ --select-text-large-weight: 600;
3880
3910
  }
3881
3911
 
3882
3912
  .select-tags {
@@ -4187,157 +4217,162 @@ figure.chip {
4187
4217
 
4188
4218
 
4189
4219
 
4190
- .table.table-container {
4220
+ .table {
4191
4221
  width: 100%;
4192
4222
  border-collapse: collapse;
4193
4223
  border-spacing: 0;
4194
4224
  }
4195
-
4196
- .table.table-container .table-native-cell.table-th,
4197
- .table.table-container .table-native-cell.table-td {
4225
+ .table :where(.table-native-cell):where(.table-th) {
4198
4226
  vertical-align: middle;
4199
4227
  background-color: var(--table-cell-background-color);
4200
4228
  text-align: left;
4201
4229
  }
4202
-
4203
- .table.table-container[data-layout=line] .table-native-cell.table-th,
4204
- .table.table-container[data-layout=line] .table-native-cell.table-td {
4230
+ .table :where(.table-native-cell):where(.table-td) {
4231
+ vertical-align: middle;
4232
+ background-color: var(--table-cell-background-color);
4233
+ text-align: left;
4234
+ position: relative;
4235
+ z-index: 0;
4236
+ }
4237
+ .table[data-layout=line] :where(.table-native-cell):where(.table-th) {
4205
4238
  --table-cell-padding-inline: var(--table-line-cell-padding-inline);
4206
4239
  --table-cell-padding-block: var(--table-line-cell-padding-block);
4207
4240
  border-bottom: 1px solid var(--table-border-color);
4208
4241
  }
4209
-
4210
- .table.table-container[data-layout=line] .table-head .table-native-cell.table-th {
4242
+ .table[data-layout=line] :where(.table-native-cell):where(.table-td) {
4243
+ --table-cell-padding-inline: var(--table-line-cell-padding-inline);
4244
+ --table-cell-padding-block: var(--table-line-cell-padding-block);
4245
+ border-bottom: 1px solid var(--table-border-color);
4246
+ }
4247
+ .table[data-layout=line] :where(.table-head) :where(.table-native-cell):where(.table-th) {
4211
4248
  height: var(--table-line-cell-height-head);
4212
4249
  border-top: 1px solid var(--table-border-color);
4213
4250
  background-color: var(--table-line-head-background-color);
4214
4251
  }
4215
-
4216
- .table.table-container[data-layout=line] .table-body .table-native-cell.table-td,
4217
- .table.table-container[data-layout=line] .table-foot .table-native-cell.table-td {
4252
+ .table[data-layout=line] :where(.table-body) :where(.table-native-cell):where(.table-td) {
4218
4253
  height: var(--table-line-cell-height-body);
4219
4254
  }
4220
-
4221
- .table.table-container[data-layout=line] .table-body .table-native-cell.table-th .table-native-cell-text,
4222
- .table.table-container[data-layout=line] .table-body .table-native-cell.table-th .table-cell-text {
4255
+ .table[data-layout=line] :where(.table-body) :where(.table-native-cell):where(.table-th) :where(.table-native-cell-text) {
4223
4256
  font-weight: 600;
4224
4257
  }
4225
-
4226
- .table.table-container[data-layout=line] .table-native-cell[rowspan] {
4258
+ .table[data-layout=line] :where(.table-body) :where(.table-native-cell):where(.table-th) :where(.table-cell-text) {
4259
+ font-weight: 600;
4260
+ }
4261
+ .table[data-layout=line] :where(.table-foot) :where(.table-native-cell):where(.table-td) {
4262
+ height: var(--table-line-cell-height-body);
4263
+ }
4264
+ .table[data-layout=line] :where(.table-native-cell[rowspan]) {
4227
4265
  border-right: 1px solid var(--table-border-color);
4228
4266
  }
4229
-
4230
- .table.table-container[data-layout=grid] .table-native-cell.table-th,
4231
- .table.table-container[data-layout=grid] .table-native-cell.table-td {
4267
+ .table[data-layout=grid] {
4268
+ border-radius: var(--table-grid-border-radius);
4269
+ overflow: visible;
4270
+ isolation: isolate;
4271
+ }
4272
+ .table[data-layout=grid] :where(.table-native-cell):where(.table-th) {
4232
4273
  --table-cell-padding-inline: var(--table-grid-cell-padding-inline);
4233
4274
  --table-cell-padding-block: var(--table-grid-cell-padding-block);
4234
4275
  height: var(--table-grid-cell-height);
4235
4276
  }
4236
-
4237
- .table.table-container[data-layout=grid] {
4238
- border-radius: var(--table-grid-border-radius);
4239
- overflow: visible;
4240
- isolation: isolate;
4277
+ .table[data-layout=grid] :where(.table-native-cell):where(.table-td) {
4278
+ --table-cell-padding-inline: var(--table-grid-cell-padding-inline);
4279
+ --table-cell-padding-block: var(--table-grid-cell-padding-block);
4280
+ height: var(--table-grid-cell-height);
4241
4281
  }
4242
-
4243
- .table.table-container[data-layout=grid] .table-head .table-native-cell.table-th {
4282
+ .table[data-layout=grid] :where(.table-head) :where(.table-native-cell):where(.table-th) {
4244
4283
  background-color: var(--table-grid-head-background-color);
4245
4284
  }
4246
-
4247
- .table.table-container[data-layout=grid] .table-body .table-native-cell.table-th {
4285
+ .table[data-layout=grid] :where(.table-head) :where(.table-row:first-child) > :where(.table-native-cell:first-child) {
4286
+ border-top-left-radius: var(--table-grid-border-radius);
4287
+ }
4288
+ .table[data-layout=grid] :where(.table-head) :where(.table-row:first-child) > :where(.table-native-cell:last-child) {
4289
+ border-top-right-radius: var(--table-grid-border-radius);
4290
+ }
4291
+ .table[data-layout=grid] :where(.table-body) :where(.table-native-cell):where(.table-th) {
4248
4292
  background-color: var(--table-grid-row-header-background-color);
4249
4293
  }
4250
-
4251
- .table.table-container[data-layout=grid] .table-foot .table-native-cell.table-th {
4294
+ .table[data-layout=grid] :where(.table-foot) :where(.table-native-cell):where(.table-th) {
4252
4295
  background-color: var(--table-grid-row-header-background-color);
4253
4296
  }
4254
-
4255
- .table.table-container[data-layout=grid] .table-row[data-highlighted=true] .table-native-cell.table-th,
4256
- .table.table-container[data-layout=grid] .table-row[data-highlighted=true] .table-native-cell.table-td {
4297
+ .table[data-layout=grid] :where(.table-row[data-highlighted=true]) :where(.table-native-cell):where(.table-th) {
4257
4298
  background-color: var(--table-grid-row-highlight-background-color);
4258
4299
  }
4259
-
4260
- .table.table-container .table-row > .table-native-cell.table-th:first-child {
4261
- position: sticky;
4262
- left: 0;
4300
+ .table[data-layout=grid] :where(.table-row[data-highlighted=true]) :where(.table-native-cell):where(.table-td) {
4301
+ background-color: var(--table-grid-row-highlight-background-color);
4263
4302
  }
4264
-
4265
- .table.table-container .table-head .table-row > .table-native-cell.table-th:first-child {
4266
- z-index: 150;
4303
+ .table[data-layout=grid] :where(.table-cell-content) {
4304
+ border-right: 1px solid var(--table-border-color);
4305
+ border-bottom: 1px solid var(--table-border-color);
4267
4306
  }
4268
-
4269
- .table.table-container .table-body .table-row > .table-native-cell.table-th:first-child {
4270
- z-index: 100;
4307
+ .table[data-layout=grid] :where(.table-head) :where(.table-row:first-child) > :where(.table-native-cell) > :where(.table-cell-content) {
4308
+ border-top: 1px solid var(--table-border-color);
4271
4309
  }
4272
-
4273
- .table.table-container .table-foot .table-row > .table-native-cell.table-th:first-child {
4274
- z-index: 50;
4310
+ .table[data-layout=grid] :where(.table-row) > :where(.table-native-cell:first-child) > :where(.table-cell-content) {
4311
+ border-left: 1px solid var(--table-border-color);
4275
4312
  }
4276
-
4277
- .table.table-container .table-head .table-row:first-child > .table-native-cell.table-th:first-child {
4278
- z-index: 200;
4313
+ .table[data-layout=grid] :where(.table-row) > :where(.table-native-cell[rowspan]) > :where(.table-cell-content) {
4314
+ border-right: 0;
4279
4315
  }
4280
-
4281
- .table.table-container .table-native-cell.table-td {
4282
- position: relative;
4283
- z-index: 0;
4316
+ .table[data-layout=grid] :where(.table-row) > :where(.table-native-cell[rowspan] + .table-native-cell) > :where(.table-cell-content) {
4317
+ border-left: 1px solid var(--table-border-color);
4284
4318
  }
4285
-
4286
- .table.table-container[data-layout=grid] .table-head .table-row:first-child > .table-native-cell:first-child {
4287
- border-top-left-radius: var(--table-grid-border-radius);
4319
+ .table[data-layout=grid] :where(.table-row:first-child) > :where(.table-native-cell:first-child) :where(.table-cell-content) {
4320
+ border-top-left-radius: inherit;
4288
4321
  }
4289
-
4290
- .table.table-container[data-layout=grid] .table-head .table-row:first-child > .table-native-cell:last-child {
4291
- border-top-right-radius: var(--table-grid-border-radius);
4322
+ .table[data-layout=grid] :where(.table-row:first-child) > :where(.table-native-cell:last-child) :where(.table-cell-content) {
4323
+ border-top-right-radius: inherit;
4292
4324
  }
4293
-
4294
- .table.table-container[data-layout=grid] .table-foot .table-row:last-child > .table-native-cell:first-child,
4295
- .table.table-container[data-layout=grid]:not([data-has-footer=true]) .table-body:last-of-type .table-row:last-child > .table-native-cell:first-child {
4325
+ .table[data-layout=grid] :where(.table-foot) :where(.table-row:last-child) > :where(.table-native-cell:first-child) {
4296
4326
  border-bottom-left-radius: var(--table-grid-border-radius);
4297
4327
  }
4298
-
4299
- .table.table-container[data-layout=grid] .table-foot .table-row:last-child > .table-native-cell:last-child,
4300
- .table.table-container[data-layout=grid]:not([data-has-footer=true]) .table-body:last-of-type .table-row:last-child > .table-native-cell:last-child {
4328
+ .table[data-layout=grid] :where(.table-foot) :where(.table-row:last-child) > :where(.table-native-cell:first-child) :where(.table-cell-content) {
4329
+ border-bottom-left-radius: inherit;
4330
+ }
4331
+ .table[data-layout=grid] :where(.table-foot) :where(.table-row:last-child) > :where(.table-native-cell:last-child) {
4301
4332
  border-bottom-right-radius: var(--table-grid-border-radius);
4302
4333
  }
4303
-
4304
- .table.table-container[data-layout=grid] .table-cell-content {
4305
- border-right: 1px solid var(--table-border-color);
4306
- border-bottom: 1px solid var(--table-border-color);
4334
+ .table[data-layout=grid] :where(.table-foot) :where(.table-row:last-child) > :where(.table-native-cell:last-child) :where(.table-cell-content) {
4335
+ border-bottom-right-radius: inherit;
4307
4336
  }
4308
-
4309
- .table.table-container[data-layout=grid] .table-head .table-row:first-child > .table-native-cell > .table-cell-content {
4310
- border-top: 1px solid var(--table-border-color);
4337
+ .table[data-layout=grid]:not([data-has-footer=true]) :where(.table-body:last-of-type) :where(.table-row:last-child) > :where(.table-native-cell:first-child) {
4338
+ border-bottom-left-radius: var(--table-grid-border-radius);
4311
4339
  }
4312
-
4313
- .table.table-container[data-layout=grid] .table-row > .table-native-cell:first-child > .table-cell-content {
4314
- border-left: 1px solid var(--table-border-color);
4340
+ .table[data-layout=grid]:not([data-has-footer=true]) :where(.table-body:last-of-type) :where(.table-row:last-child) > :where(.table-native-cell:first-child) :where(.table-cell-content) {
4341
+ border-bottom-left-radius: inherit;
4315
4342
  }
4316
-
4317
- .table.table-container[data-layout=grid] .table-row > .table-native-cell[rowspan] > .table-cell-content {
4318
- border-right: 0;
4343
+ .table[data-layout=grid]:not([data-has-footer=true]) :where(.table-body:last-of-type) :where(.table-row:last-child) > :where(.table-native-cell:last-child) {
4344
+ border-bottom-right-radius: var(--table-grid-border-radius);
4319
4345
  }
4320
-
4321
- .table.table-container[data-layout=grid] .table-row > .table-native-cell[rowspan] + .table-native-cell > .table-cell-content {
4322
- border-left: 1px solid var(--table-border-color);
4346
+ .table[data-layout=grid]:not([data-has-footer=true]) :where(.table-body:last-of-type) :where(.table-row:last-child) > :where(.table-native-cell:last-child) :where(.table-cell-content) {
4347
+ border-bottom-right-radius: inherit;
4323
4348
  }
4324
-
4325
- .table.table-container[data-layout=grid] .table-row:first-child > .table-native-cell:first-child .table-cell-content {
4326
- border-top-left-radius: inherit;
4349
+ .table :where(.table-row) > :where(.table-native-cell:first-child):where(.table-th) {
4350
+ position: sticky;
4351
+ left: 0;
4327
4352
  }
4328
-
4329
- .table.table-container[data-layout=grid] .table-row:first-child > .table-native-cell:last-child .table-cell-content {
4330
- border-top-right-radius: inherit;
4353
+ .table :where(.table-head) :where(.table-row) > :where(.table-native-cell:first-child):where(.table-th) {
4354
+ z-index: 150;
4331
4355
  }
4332
-
4333
- .table.table-container[data-layout=grid] .table-foot .table-row:last-child > .table-native-cell:first-child .table-cell-content,
4334
- .table.table-container[data-layout=grid]:not([data-has-footer=true]) .table-body:last-of-type .table-row:last-child > .table-native-cell:first-child .table-cell-content {
4335
- border-bottom-left-radius: inherit;
4356
+ .table :where(.table-body) :where(.table-row) > :where(.table-native-cell:first-child):where(.table-th) {
4357
+ z-index: 100;
4336
4358
  }
4337
-
4338
- .table.table-container[data-layout=grid] .table-foot .table-row:last-child > .table-native-cell:last-child .table-cell-content,
4339
- .table.table-container[data-layout=grid]:not([data-has-footer=true]) .table-body:last-of-type .table-row:last-child > .table-native-cell:last-child .table-cell-content {
4340
- border-bottom-right-radius: inherit;
4359
+ .table :where(.table-foot) :where(.table-row) > :where(.table-native-cell:first-child):where(.table-th) {
4360
+ z-index: 50;
4361
+ }
4362
+ .table :where(.table-head) :where(.table-row:first-child) > :where(.table-native-cell:first-child):where(.table-th) {
4363
+ z-index: 200;
4364
+ }
4365
+ .table :where(.table-foot .table-cell-content) {
4366
+ color: var(--table-td-text-color);
4367
+ font-size: var(--table-td-text-size);
4368
+ font-weight: var(--table-td-text-weight);
4369
+ line-height: var(--table-td-text-line-height);
4370
+ }
4371
+ .table :where(.table-foot .table-cell-text) {
4372
+ color: var(--table-td-text-color);
4373
+ font-size: var(--table-td-text-size);
4374
+ font-weight: var(--table-td-text-weight);
4375
+ line-height: var(--table-td-text-line-height);
4341
4376
  }
4342
4377
 
4343
4378
  .table-scroll-wrapper {
@@ -4359,14 +4394,13 @@ figure.chip {
4359
4394
  overflow: auto;
4360
4395
  }
4361
4396
 
4362
- .table-native-cell.table-th .table-native-cell-text {
4397
+ :where(.table-native-cell):where(.table-th) .table-native-cell-text {
4363
4398
  color: var(--table-th-text-color);
4364
4399
  font-size: var(--table-th-text-size);
4365
4400
  font-weight: var(--table-th-text-weight);
4366
4401
  line-height: var(--table-th-text-line-height);
4367
4402
  }
4368
-
4369
- .table-native-cell.table-td .table-native-cell-text {
4403
+ :where(.table-native-cell):where(.table-td) .table-native-cell-text {
4370
4404
  color: var(--table-td-text-color);
4371
4405
  font-size: var(--table-td-text-size);
4372
4406
  font-weight: var(--table-td-text-weight);
@@ -4448,7 +4482,7 @@ figure.chip {
4448
4482
  margin: 0;
4449
4483
  }
4450
4484
 
4451
- .table-cell-content .table-cell-text {
4485
+ :where(.table-cell-content) :where(.table-cell-text) {
4452
4486
  color: inherit;
4453
4487
  font-size: inherit;
4454
4488
  font-weight: inherit;
@@ -4551,7 +4585,7 @@ figure.chip {
4551
4585
  align-items: baseline;
4552
4586
  }
4553
4587
 
4554
- .table-cell.table-head-cell .table-cell-text {
4588
+ :where(.table-cell):where(.table-head-cell) .table-cell-text {
4555
4589
  color: var(--table-th-text-color);
4556
4590
  font-size: var(--table-th-text-size);
4557
4591
  font-weight: var(--table-th-text-weight);
@@ -4567,31 +4601,31 @@ figure.chip {
4567
4601
  line-height: var(--table-td-text-line-height);
4568
4602
  }
4569
4603
 
4570
- .table-cell.table-head-cell .radio-label-text {
4604
+ :where(.table-cell):where(.table-head-cell) .radio-label-text {
4571
4605
  color: var(--table-th-text-color);
4572
4606
  font-size: var(--table-th-text-size);
4573
4607
  font-weight: var(--table-th-text-weight);
4574
4608
  line-height: var(--table-th-text-line-height);
4575
4609
  }
4576
-
4577
- .table-cell.table-body-cell .table-cell-text,
4578
- .table-cell.table-foot-cell .table-cell-text {
4610
+ :where(.table-cell):where(.table-body-cell) .table-cell-text {
4579
4611
  color: var(--table-td-text-color);
4580
4612
  font-size: var(--table-td-text-size);
4581
4613
  font-weight: var(--table-td-text-weight);
4582
4614
  line-height: var(--table-td-text-line-height);
4583
4615
  }
4584
-
4585
- .table.table-container .table-foot .table-cell-content,
4586
- .table.table-container .table-foot .table-cell-text {
4616
+ :where(.table-cell):where(.table-body-cell) .radio-label-text {
4587
4617
  color: var(--table-td-text-color);
4588
4618
  font-size: var(--table-td-text-size);
4589
4619
  font-weight: var(--table-td-text-weight);
4590
4620
  line-height: var(--table-td-text-line-height);
4591
4621
  }
4592
-
4593
- .table-cell.table-body-cell .radio-label-text,
4594
- .table-cell.table-foot-cell .radio-label-text {
4622
+ :where(.table-cell):where(.table-foot-cell) .table-cell-text {
4623
+ color: var(--table-td-text-color);
4624
+ font-size: var(--table-td-text-size);
4625
+ font-weight: var(--table-td-text-weight);
4626
+ line-height: var(--table-td-text-line-height);
4627
+ }
4628
+ :where(.table-cell):where(.table-foot-cell) .radio-label-text {
4595
4629
  color: var(--table-td-text-color);
4596
4630
  font-size: var(--table-td-text-size);
4597
4631
  font-weight: var(--table-td-text-weight);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-primitives",
3
- "version": "0.3.17",
3
+ "version": "0.3.18",
4
4
  "description": "UNIAI Design System; Primitives Components Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -15,7 +15,7 @@
15
15
  "publishConfig": {
16
16
  "access": "public"
17
17
  },
18
- "packageManager": "pnpm@10.28.2",
18
+ "packageManager": "pnpm@10.30.2",
19
19
  "engines": {
20
20
  "node": ">=24",
21
21
  "pnpm": ">=10"
@@ -65,7 +65,16 @@
65
65
  "react": "^19",
66
66
  "react-daum-postcode": "^3",
67
67
  "react-dom": "^19",
68
- "react-hook-form": "^7"
68
+ "react-hook-form": "^7",
69
+ "@radix-ui/react-checkbox": "^1.3.3",
70
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
71
+ "@radix-ui/react-popover": "^1.1.15",
72
+ "@radix-ui/react-radio-group": "^1.3.8",
73
+ "@radix-ui/react-tabs": "^1.1.13",
74
+ "@radix-ui/react-tooltip": "^1.2.8",
75
+ "@radix-ui/react-visually-hidden": "^1.2.4",
76
+ "clsx": "^2.1.1",
77
+ "dayjs": "^1.11.19"
69
78
  },
70
79
  "dependencies": {
71
80
  "@radix-ui/react-checkbox": "^1.3.3",
@@ -77,15 +86,15 @@
77
86
  "@radix-ui/react-visually-hidden": "^1.2.4",
78
87
  "clsx": "^2.1.1",
79
88
  "dayjs": "^1.11.19",
80
- "react-daum-postcode": "^3.2.0"
89
+ "react-daum-postcode": "^4.0.0"
81
90
  },
82
91
  "devDependencies": {
83
- "@mantine/core": "^8.3.14",
84
- "@mantine/dates": "^8.3.14",
85
- "@mantine/hooks": "^8.3.14",
92
+ "@mantine/core": "^8.3.15",
93
+ "@mantine/dates": "^8.3.15",
94
+ "@mantine/hooks": "^8.3.15",
86
95
  "@svgr/webpack": "^8.1.0",
87
96
  "@types/node": "^24.10.2",
88
- "@types/react": "^19.2.11",
97
+ "@types/react": "^19.2.14",
89
98
  "@types/react-dom": "^19.2.3",
90
99
  "@uniai-fe/eslint-config": "workspace:*",
91
100
  "@uniai-fe/next-devkit": "workspace:*",
@@ -94,7 +103,7 @@
94
103
  "@uniai-fe/util-functions": "workspace:*",
95
104
  "eslint": "^9.39.2",
96
105
  "prettier": "^3.8.1",
97
- "react-hook-form": "^7.71.1",
106
+ "react-hook-form": "^7.71.2",
98
107
  "sass": "^1.97.3",
99
108
  "typescript": "~5.9.3"
100
109
  }
@@ -31,11 +31,17 @@
31
31
  .empty-text {
32
32
  transform: translateY(0.2rem);
33
33
  }
34
+ .empty-text {
35
+ margin-left: 1rem;
36
+ }
34
37
  }
35
38
  }
36
39
 
37
40
  &.is-vertical {
38
41
  flex-direction: column;
42
+ .empty-text {
43
+ margin-top: 1rem;
44
+ }
39
45
  }
40
46
  }
41
47
 
@@ -49,14 +55,6 @@
49
55
  justify-content: center;
50
56
  animation: alternate-loading-spin 1s linear infinite;
51
57
 
52
- &.is-horizontal {
53
- margin-right: 1rem;
54
- }
55
-
56
- &.is-vertical {
57
- margin-bottom: 1rem;
58
- }
59
-
60
58
  &.is-medium {
61
59
  width: 3.6rem;
62
60
  height: 3.6rem;
@@ -66,4 +64,9 @@
66
64
  width: 5.2rem;
67
65
  height: 5.2rem;
68
66
  }
67
+
68
+ svg {
69
+ width: 100%;
70
+ height: 100%;
71
+ }
69
72
  }
@@ -43,13 +43,15 @@ const Chip = forwardRef<HTMLElement, ChipProps>((props, ref) => {
43
43
  return (
44
44
  <ChipInputStyle
45
45
  {...props}
46
- forwardedRef={ref as Ref<HTMLElementTagNameMap["figure"]>}
46
+ // 변경: 하위 스타일 컴포넌트가 forwardRef를 사용하므로 ref 직접 전달한다.
47
+ ref={ref as Ref<HTMLElementTagNameMap["figure"]>}
47
48
  />
48
49
  );
49
50
  }
50
51
 
51
52
  return (
52
- <ChipDefaultStyle {...props} forwardedRef={ref as Ref<HTMLButtonElement>} />
53
+ // 변경: interactive 경로도 forwardRef 기반 ref 전달로 통일한다.
54
+ <ChipDefaultStyle {...props} ref={ref as Ref<HTMLButtonElement>} />
53
55
  );
54
56
  });
55
57