@iyulab/components 3.2.0 → 3.3.0

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 (73) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +10 -4
  3. package/dist/_virtual/{_@oxc-project_runtime@0.156.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/decorate.js +1 -1
  4. package/dist/_virtual/{_@oxc-project_runtime@0.156.0 → _@oxc-project_runtime@0.160.0}/helpers/esm/decorateMetadata.js +1 -1
  5. package/dist/components/UElement.js +1 -1
  6. package/dist/components/UFloatingElement.d.ts +3 -0
  7. package/dist/components/UFloatingElement.js +25 -11
  8. package/dist/components/UFloatingElement.styles.js +1 -1
  9. package/dist/components/UFormControlElement.js +5 -4
  10. package/dist/components/UOverlayElement.js +4 -4
  11. package/dist/components/alert/UAlert.js +4 -4
  12. package/dist/components/auto-scroll/UAutoScroll.js +4 -4
  13. package/dist/components/avatar/UAvatar.js +4 -4
  14. package/dist/components/badge/UBadge.js +4 -4
  15. package/dist/components/breadcrumb/UBreadcrumb.js +3 -3
  16. package/dist/components/breadcrumb-item/UBreadcrumbItem.js +5 -5
  17. package/dist/components/button/UButton.js +5 -5
  18. package/dist/components/button-group/UButtonGroup.js +4 -4
  19. package/dist/components/calendar/UCalendar.js +5 -5
  20. package/dist/components/card/UCard.js +5 -5
  21. package/dist/components/carousel/UCarousel.js +6 -6
  22. package/dist/components/checkbox/UCheckbox.js +6 -6
  23. package/dist/components/chip/UChip.js +4 -4
  24. package/dist/components/command-palette/UCommandPalette.js +5 -5
  25. package/dist/components/copy-button/UCopyButton.js +4 -4
  26. package/dist/components/date-picker/UDatePicker.js +7 -6
  27. package/dist/components/date-range-picker/UDateRangePicker.js +7 -6
  28. package/dist/components/dialog/UDialog.js +4 -4
  29. package/dist/components/divider/UDivider.js +4 -4
  30. package/dist/components/drawer/UDrawer.js +4 -4
  31. package/dist/components/expander/UExpander.js +4 -4
  32. package/dist/components/field/UField.js +7 -6
  33. package/dist/components/file-input/UFileInput.js +5 -5
  34. package/dist/components/form/UForm.js +4 -4
  35. package/dist/components/icon/UIcon.js +6 -6
  36. package/dist/components/icon-button/UIconButton.js +5 -5
  37. package/dist/components/input/UInput.js +6 -6
  38. package/dist/components/menu/UMenu.js +4 -4
  39. package/dist/components/menu-item/UMenuItem.js +5 -5
  40. package/dist/components/option/UOption.js +4 -4
  41. package/dist/components/option-group/UOptionGroup.js +7 -6
  42. package/dist/components/option-group/UOptionGroup.styles.js +2 -1
  43. package/dist/components/pagination/UPagination.js +4 -4
  44. package/dist/components/panel/UPanel.js +4 -4
  45. package/dist/components/popover/UPopover.js +4 -4
  46. package/dist/components/progress-bar/UProgressBar.js +4 -4
  47. package/dist/components/progress-ring/UProgressRing.js +4 -4
  48. package/dist/components/radio/URadio.js +5 -5
  49. package/dist/components/rating/URating.js +5 -5
  50. package/dist/components/select/USelect.js +7 -6
  51. package/dist/components/skeleton/USkeleton.js +4 -4
  52. package/dist/components/slider/USlider.js +5 -5
  53. package/dist/components/spinner/USpinner.js +4 -4
  54. package/dist/components/split-panel/USplitPanel.js +4 -4
  55. package/dist/components/steps/USteps.js +5 -5
  56. package/dist/components/switch/USwitch.js +6 -6
  57. package/dist/components/tab/UTab.js +5 -5
  58. package/dist/components/tab-nav/UTabNav.js +4 -4
  59. package/dist/components/tab-panel/UTabPanel.js +4 -4
  60. package/dist/components/tag/UTag.js +4 -4
  61. package/dist/components/text/UText.js +4 -4
  62. package/dist/components/textarea/UTextarea.js +7 -7
  63. package/dist/components/tooltip/UTooltip.js +4 -4
  64. package/dist/components/tree/UTree.js +4 -4
  65. package/dist/components/tree-item/UTreeItem.js +4 -4
  66. package/dist/custom-elements.json +420 -249
  67. package/dist/index.d.ts +1 -0
  68. package/dist/index.js +2 -1
  69. package/dist/utilities/Dialog.js +3 -3
  70. package/dist/utilities/customState.d.ts +19 -0
  71. package/dist/utilities/customState.js +40 -0
  72. package/package.json +1 -1
  73. package/skills/iyulab-components/SKILL.md +1 -1
@@ -567,6 +567,14 @@
567
567
  "module": "src/utilities/converters.js"
568
568
  }
569
569
  },
570
+ {
571
+ "kind": "js",
572
+ "name": "*",
573
+ "declaration": {
574
+ "name": "*",
575
+ "module": "src/utilities/customState.js"
576
+ }
577
+ },
570
578
  {
571
579
  "kind": "js",
572
580
  "name": "*",
@@ -1053,6 +1061,15 @@
1053
1061
  "privacy": "private",
1054
1062
  "default": "0"
1055
1063
  },
1064
+ {
1065
+ "kind": "field",
1066
+ "name": "hiddenFrame",
1067
+ "type": {
1068
+ "text": "number"
1069
+ },
1070
+ "privacy": "private",
1071
+ "default": "0"
1072
+ },
1056
1073
  {
1057
1074
  "kind": "field",
1058
1075
  "name": "showTimer",
@@ -1118,6 +1135,20 @@
1118
1135
  "privacy": "private",
1119
1136
  "description": "자동 위치 추적을 끊고, 계산 중인 track() 이 뒤늦게 추적을 걸지 못하게 한다."
1120
1137
  },
1138
+ {
1139
+ "kind": "method",
1140
+ "name": "recheckWhileHidden",
1141
+ "privacy": "private",
1142
+ "parameters": [
1143
+ {
1144
+ "name": "target",
1145
+ "type": {
1146
+ "text": "Element | VirtualElement"
1147
+ }
1148
+ }
1149
+ ],
1150
+ "description": "`anchor-hidden` 이 서 있는 동안 다음 프레임에 다시 잰다. 추적이 끊기거나 속성이 풀리면 멈춘다."
1151
+ },
1121
1152
  {
1122
1153
  "kind": "method",
1123
1154
  "name": "track",
@@ -5028,6 +5059,84 @@
5028
5059
  }
5029
5060
  ]
5030
5061
  },
5062
+ {
5063
+ "kind": "javascript-module",
5064
+ "path": "src/utilities/customState.ts",
5065
+ "declarations": [
5066
+ {
5067
+ "kind": "function",
5068
+ "name": "setCustomState",
5069
+ "return": {
5070
+ "type": {
5071
+ "text": "void"
5072
+ }
5073
+ },
5074
+ "parameters": [
5075
+ {
5076
+ "name": "internals",
5077
+ "type": {
5078
+ "text": "ElementInternals | null | undefined"
5079
+ }
5080
+ },
5081
+ {
5082
+ "name": "name",
5083
+ "type": {
5084
+ "text": "string"
5085
+ }
5086
+ },
5087
+ {
5088
+ "name": "on",
5089
+ "type": {
5090
+ "text": "boolean"
5091
+ }
5092
+ }
5093
+ ],
5094
+ "description": "`ElementInternals.states` 에 상태를 싣고 읽는 길 — 접두 없는 이름을 거부하는 Chromium(90–124)에서도 던지지 않는다.\n\n컴포넌트는 `:state(open)` · `:state(field)` 같은 공개 표지를 낸다. 125 이전 Chromium 의 `CustomStateSet` 은 `--` 로\n시작하지 않는 이름을 `SyntaxError` 로 거부하고(`:state(x)` 도 모르는 선택자라 규칙째 버려진다), 대신 `--x` 와\n`:--x` 를 받는다. 그래서 상태를 켜고 끌 때는 접두 없는 이름을 먼저 시도하고 거부당하면 `--이름` 으로 다시 한다 —\n125+ 경로는 그대로이고, 낡은 엔진에서는 컨트롤이 연결될 때 던지던 예외가 사라진다. 스타일시트는 `:is(:state(x), :--x)`\n로 두 형을 한 규칙에 쓴다(`:is()` 는 모르는 선택자를 버리고 나머지로 계속하므로 규칙이 통째로 죽지 않는다).\n\n`states` 자체가 없는 엔진(Chromium 90 미만 · Firefox 126 미만 · Safari 17.4 미만)에서는 아무것도 하지 않는다 —\n상태는 꾸밈 손잡이일 뿐이라 없어도 컴포넌트의 동작은 같다."
5095
+ },
5096
+ {
5097
+ "kind": "function",
5098
+ "name": "hasCustomState",
5099
+ "return": {
5100
+ "type": {
5101
+ "text": "boolean"
5102
+ }
5103
+ },
5104
+ "parameters": [
5105
+ {
5106
+ "name": "element",
5107
+ "type": {
5108
+ "text": "Element"
5109
+ }
5110
+ },
5111
+ {
5112
+ "name": "name",
5113
+ "type": {
5114
+ "text": "string"
5115
+ }
5116
+ }
5117
+ ],
5118
+ "description": "요소가 그 상태를 싣고 있는가 — `setCustomState` 가 어느 형으로 실었든 읽는다. 접두 없는 `:state(x)`(125+) ·\n접두 형을 담은 집합을 125+ 가 읽는 `:state(--x)` · 125 미만 Chromium 의 `:--x`. 셋을 `:is()` 에 담아 모르는 형을 버린다.\n`:is()` 조차 모르는 엔진에서는 `matches` 가 `SyntaxError` 를 던지므로 그때는 «아니오» 다."
5119
+ }
5120
+ ],
5121
+ "exports": [
5122
+ {
5123
+ "kind": "js",
5124
+ "name": "setCustomState",
5125
+ "declaration": {
5126
+ "name": "setCustomState",
5127
+ "module": "src/utilities/customState.ts"
5128
+ }
5129
+ },
5130
+ {
5131
+ "kind": "js",
5132
+ "name": "hasCustomState",
5133
+ "declaration": {
5134
+ "name": "hasCustomState",
5135
+ "module": "src/utilities/customState.ts"
5136
+ }
5137
+ }
5138
+ ]
5139
+ },
5031
5140
  {
5032
5141
  "kind": "javascript-module",
5033
5142
  "path": "src/utilities/dateValue.ts",
@@ -30345,6 +30454,19 @@
30345
30454
  "module": "src/components/UFloatingElement.ts"
30346
30455
  }
30347
30456
  },
30457
+ {
30458
+ "kind": "field",
30459
+ "name": "hiddenFrame",
30460
+ "type": {
30461
+ "text": "number"
30462
+ },
30463
+ "privacy": "private",
30464
+ "default": "0",
30465
+ "inheritedFrom": {
30466
+ "name": "UFloatingElement",
30467
+ "module": "src/components/UFloatingElement.ts"
30468
+ }
30469
+ },
30348
30470
  {
30349
30471
  "kind": "field",
30350
30472
  "name": "showTimer",
@@ -30442,6 +30564,24 @@
30442
30564
  "module": "src/components/UFloatingElement.ts"
30443
30565
  }
30444
30566
  },
30567
+ {
30568
+ "kind": "method",
30569
+ "name": "recheckWhileHidden",
30570
+ "privacy": "private",
30571
+ "parameters": [
30572
+ {
30573
+ "name": "target",
30574
+ "type": {
30575
+ "text": "Element | VirtualElement"
30576
+ }
30577
+ }
30578
+ ],
30579
+ "description": "`anchor-hidden` 이 서 있는 동안 다음 프레임에 다시 잰다. 추적이 끊기거나 속성이 풀리면 멈춘다.",
30580
+ "inheritedFrom": {
30581
+ "name": "UFloatingElement",
30582
+ "module": "src/components/UFloatingElement.ts"
30583
+ }
30584
+ },
30445
30585
  {
30446
30586
  "kind": "method",
30447
30587
  "name": "track",
@@ -41507,169 +41647,140 @@
41507
41647
  },
41508
41648
  {
41509
41649
  "kind": "javascript-module",
41510
- "path": "src/components/tab-panel/UTabPanel.ts",
41650
+ "path": "src/components/tag/UTag.ts",
41511
41651
  "declarations": [
41512
41652
  {
41513
41653
  "kind": "class",
41514
- "description": "탭 기반 콘텐츠 전환을 제공하는 컴포넌트입니다.",
41515
- "name": "UTabPanel",
41654
+ "description": "레이블, 카테고리, 상태 등을 표시하는 태그 컴포넌트입니다.",
41655
+ "name": "UTag",
41516
41656
  "cssProperties": [
41517
41657
  {
41518
- "description": "활성 탭의 기준색 (기본: --u-primary-color)",
41519
- "name": "--tab-panel-color"
41658
+ "description": "텍스트 색상",
41659
+ "name": "--tag-color"
41660
+ },
41661
+ {
41662
+ "description": "배경 색상",
41663
+ "name": "--tag-bg-color"
41664
+ },
41665
+ {
41666
+ "description": "테두리 색상",
41667
+ "name": "--tag-border-color"
41668
+ },
41669
+ {
41670
+ "description": "세로 여백",
41671
+ "name": "--tag-padding-block"
41672
+ },
41673
+ {
41674
+ "description": "가로 여백",
41675
+ "name": "--tag-padding-inline"
41676
+ },
41677
+ {
41678
+ "description": "prefix/본문/suffix 사이 간격",
41679
+ "name": "--tag-gap"
41680
+ },
41681
+ {
41682
+ "description": "앞머리 점의 지름 (기본 6px)",
41683
+ "name": "--tag-dot-size"
41520
41684
  }
41521
41685
  ],
41522
41686
  "cssParts": [
41523
41687
  {
41524
- "description": "탭 버튼들이 있는 헤더 영역",
41525
- "name": "header"
41688
+ "description": "태그 바깥 상자",
41689
+ "name": "base"
41526
41690
  },
41527
41691
  {
41528
- "description": "탭 버튼들이 실제로 배치되는 네비게이션 영역",
41529
- "name": "nav"
41692
+ "description": "콘텐츠 영역",
41693
+ "name": "content"
41530
41694
  },
41531
41695
  {
41532
- "description": "탭 헤더 내 툴바 영역",
41533
- "name": "toolbar"
41696
+ "description": "상태 아이콘 (`icon` + 역할 색일 때만 렌더된다)",
41697
+ "name": "icon"
41534
41698
  },
41535
41699
  {
41536
- "description": "탭 패널이 있는 콘텐츠 영역",
41537
- "name": "content"
41700
+ "description": "앞머리 점 (`dot` 일 때만 렌더된다)",
41701
+ "name": "dot"
41538
41702
  }
41539
41703
  ],
41540
41704
  "slots": [
41541
41705
  {
41542
- "description": "u-tab 및 u-panel 요소들",
41706
+ "description": "태그 메인 콘텐츠",
41543
41707
  "name": ""
41544
41708
  },
41545
41709
  {
41546
- "description": "탭 영역에 있는 공간에 표시할 콘텐츠",
41547
- "name": "toolbar"
41710
+ "description": "태그 앞에 표시할 콘텐츠",
41711
+ "name": "prefix"
41712
+ },
41713
+ {
41714
+ "description": "태그 뒤에 표시할 콘텐츠",
41715
+ "name": "suffix"
41548
41716
  }
41549
41717
  ],
41550
41718
  "members": [
41551
- {
41552
- "kind": "field",
41553
- "name": "disabled",
41554
- "type": {
41555
- "text": "boolean"
41556
- },
41557
- "default": "false",
41558
- "description": "탭 비활성화 여부",
41559
- "attribute": "disabled",
41560
- "reflects": true
41561
- },
41562
41719
  {
41563
41720
  "kind": "field",
41564
41721
  "name": "appearance",
41565
41722
  "type": {
41566
- "text": "\"line\" | \"card\" | \"pill\" | \"plain\""
41723
+ "text": "\"solid\" | \"soft\" | \"outlined\" | \"plain\""
41567
41724
  },
41568
- "default": "'line'",
41569
- "description": "탭 스타일 변형",
41725
+ "default": "\"soft\"",
41726
+ "description": "외형 정도",
41570
41727
  "attribute": "appearance",
41571
41728
  "reflects": true
41572
41729
  },
41573
41730
  {
41574
41731
  "kind": "field",
41575
- "name": "placement",
41732
+ "name": "color",
41576
41733
  "type": {
41577
- "text": "\"top\" | \"bottom\" | \"left\" | \"right\""
41734
+ "text": "\"neutral\" | \"primary\" | \"secondary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"blue\" | \"green\" | \"yellow\" | \"red\" | \"orange\" | \"teal\" | \"cyan\" | \"purple\" | \"pink\""
41578
41735
  },
41579
- "default": "'top'",
41580
- "description": "탭 위치",
41581
- "attribute": "placement",
41736
+ "default": "\"neutral\"",
41737
+ "description": "태그의 색상을 설정합니다.",
41738
+ "attribute": "color",
41582
41739
  "reflects": true
41583
41740
  },
41584
41741
  {
41585
41742
  "kind": "field",
41586
- "name": "value",
41743
+ "name": "size",
41587
41744
  "type": {
41588
- "text": "string"
41745
+ "text": "\"sm\" | \"md\""
41589
41746
  },
41590
- "default": "''",
41591
- "description": "선택된 탭값",
41592
- "attribute": "value",
41747
+ "default": "\"md\"",
41748
+ "description": "크기",
41749
+ "attribute": "size",
41593
41750
  "reflects": true
41594
41751
  },
41595
41752
  {
41596
41753
  "kind": "field",
41597
- "name": "draggable",
41754
+ "name": "rounded",
41598
41755
  "type": {
41599
41756
  "text": "boolean"
41600
41757
  },
41601
41758
  "default": "false",
41602
- "description": "네이티브 전역 속성. ⚠**이 컴포넌트에 탭 재정렬 기능은 없다** — 브라우저의 드래그를\n켤 뿐이고, 놓았을 때 순서를 바꾸는 코드는 존재한 적이 없다.",
41603
- "attribute": "draggable",
41759
+ "description": "태그를 둥글게 표시합니다.",
41760
+ "attribute": "rounded",
41604
41761
  "reflects": true
41605
41762
  },
41606
41763
  {
41607
41764
  "kind": "field",
41608
- "name": "tabs",
41765
+ "name": "icon",
41609
41766
  "type": {
41610
- "text": "UTab[]"
41767
+ "text": "boolean"
41611
41768
  },
41612
- "privacy": "private",
41613
- "default": "[]"
41769
+ "default": "false",
41770
+ "description": "상태를 **색과 무관하게** 나르는 아이콘을 붙입니다(`info`·`success`·`warning`·`danger`).\n색각 이상·흑백 인쇄에서 상태가 갈리게 하는 축입니다.\n의미가 없는 색(`neutral`·`primary`·장식 축)에서는 아무것도 그리지 않습니다.",
41771
+ "attribute": "icon",
41772
+ "reflects": true
41614
41773
  },
41615
41774
  {
41616
41775
  "kind": "field",
41617
- "name": "panels",
41776
+ "name": "dot",
41618
41777
  "type": {
41619
- "text": "UPanel[]"
41778
+ "text": "boolean"
41620
41779
  },
41621
- "privacy": "private",
41622
- "default": "[]"
41623
- },
41624
- {
41625
- "kind": "field",
41626
- "name": "isVertical",
41627
- "privacy": "private",
41628
- "readonly": true
41629
- },
41630
- {
41631
- "kind": "method",
41632
- "name": "change",
41633
- "privacy": "private",
41634
- "parameters": [
41635
- {
41636
- "name": "value",
41637
- "type": {
41638
- "text": "string"
41639
- }
41640
- }
41641
- ]
41642
- },
41643
- {
41644
- "kind": "method",
41645
- "name": "updateTabPanel",
41646
- "privacy": "private",
41647
- "description": "선택 상태를 외형(`active`)과 보조기기 표면에 함께 싣는다 — WAI-ARIA APG Tabs.\n- 탭: `aria-selected` · 로빙 tabindex(선택된 탭만 0 — Tab 은 탭 목록에 한 번만 멈추고,\n 안에서는 화살표가 옮긴다). 선택된 탭이 없거나 비활성이면 첫 활성 탭이 0 을 받는다.\n- 패널: `role=\"tabpanel\"` · 같은 `value` 의 탭과 `aria-controls`/`aria-labelledby` 로 잇는다.\n 탭과 패널은 같은 light DOM 에 있으므로 id 참조가 성립한다. 소비자는 id 를 몰라도 된다 —\n 없으면 만든다(주어진 id 는 그대로 쓴다)."
41648
- },
41649
- {
41650
- "kind": "field",
41651
- "name": "handleSlotChange",
41652
- "privacy": "private"
41653
- },
41654
- {
41655
- "kind": "field",
41656
- "name": "handleTabSlotChange",
41657
- "privacy": "private"
41658
- },
41659
- {
41660
- "kind": "field",
41661
- "name": "handleTabClick",
41662
- "privacy": "private"
41663
- },
41664
- {
41665
- "kind": "field",
41666
- "name": "handleTabKeydown",
41667
- "privacy": "private"
41668
- },
41669
- {
41670
- "kind": "field",
41671
- "name": "handleNavWheel",
41672
- "privacy": "private"
41780
+ "default": "false",
41781
+ "description": "글자 앞에 글자색의 작은 점을 찍습니다 — 표 안의 상태 배지처럼 **같은 열에서 색이 줄지어 반복될 때**\n색이 아니라 모양으로도 «이것은 상태다» 를 표시하는 보조 표식입니다. 상태의 뜻은 여전히 글자가 말합니다.\n`icon` 과 함께 켜면 아이콘이 우선합니다(둘 다 그리지 않습니다).",
41782
+ "attribute": "dot",
41783
+ "reflects": true
41673
41784
  },
41674
41785
  {
41675
41786
  "kind": "field",
@@ -41880,225 +41991,254 @@
41880
41991
  }
41881
41992
  }
41882
41993
  ],
41883
- "events": [
41994
+ "attributes": [
41884
41995
  {
41885
- "description": "탭을 클릭하거나 키보드로 선택했을 때만 발생한다. 최초 마운트 시 첫 탭이 자동 선택되는 경우나 `value` 프로퍼티를 직접 대입하는 경우는 사용자 조작이 아니므로 발생시키지 않는다(네이티브 select가 프로그래밍적 대입에는 change를 내지 않는 것과 동일한 관례).",
41886
- "name": "change",
41996
+ "name": "appearance",
41887
41997
  "type": {
41888
- "text": "CustomEvent"
41889
- }
41890
- }
41891
- ],
41892
- "attributes": [
41998
+ "text": "\"solid\" | \"soft\" | \"outlined\" | \"plain\""
41999
+ },
42000
+ "default": "\"soft\"",
42001
+ "description": "외형 정도",
42002
+ "fieldName": "appearance"
42003
+ },
41893
42004
  {
41894
- "name": "disabled",
42005
+ "name": "color",
41895
42006
  "type": {
41896
- "text": "boolean"
42007
+ "text": "\"neutral\" | \"primary\" | \"secondary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"blue\" | \"green\" | \"yellow\" | \"red\" | \"orange\" | \"teal\" | \"cyan\" | \"purple\" | \"pink\""
41897
42008
  },
41898
- "default": "false",
41899
- "description": "탭 비활성화 여부",
41900
- "fieldName": "disabled"
42009
+ "default": "\"neutral\"",
42010
+ "description": "태그의 색상을 설정합니다.",
42011
+ "fieldName": "color"
41901
42012
  },
41902
42013
  {
41903
- "name": "appearance",
42014
+ "name": "size",
41904
42015
  "type": {
41905
- "text": "\"line\" | \"card\" | \"pill\" | \"plain\""
42016
+ "text": "\"sm\" | \"md\""
41906
42017
  },
41907
- "default": "'line'",
41908
- "description": "탭 스타일 변형",
41909
- "fieldName": "appearance"
42018
+ "default": "\"md\"",
42019
+ "description": "크기",
42020
+ "fieldName": "size"
41910
42021
  },
41911
42022
  {
41912
- "name": "placement",
42023
+ "name": "rounded",
41913
42024
  "type": {
41914
- "text": "\"top\" | \"bottom\" | \"left\" | \"right\""
42025
+ "text": "boolean"
41915
42026
  },
41916
- "default": "'top'",
41917
- "description": "탭 위치",
41918
- "fieldName": "placement"
42027
+ "default": "false",
42028
+ "description": "태그를 둥글게 표시합니다.",
42029
+ "fieldName": "rounded"
41919
42030
  },
41920
42031
  {
41921
- "name": "value",
42032
+ "name": "icon",
41922
42033
  "type": {
41923
- "text": "string"
42034
+ "text": "boolean"
41924
42035
  },
41925
- "default": "''",
41926
- "description": "선택된 탭값",
41927
- "fieldName": "value"
42036
+ "default": "false",
42037
+ "description": "상태를 **색과 무관하게** 나르는 아이콘을 붙입니다(`info`·`success`·`warning`·`danger`).\n색각 이상·흑백 인쇄에서 상태가 갈리게 하는 축입니다.\n의미가 없는 색(`neutral`·`primary`·장식 축)에서는 아무것도 그리지 않습니다.",
42038
+ "fieldName": "icon"
41928
42039
  },
41929
42040
  {
41930
- "name": "draggable",
42041
+ "name": "dot",
41931
42042
  "type": {
41932
42043
  "text": "boolean"
41933
42044
  },
41934
42045
  "default": "false",
41935
- "description": "네이티브 전역 속성. ⚠**이 컴포넌트에 탭 재정렬 기능은 없다** — 브라우저의 드래그를\n켤 뿐이고, 놓았을 때 순서를 바꾸는 코드는 존재한 적이 없다.",
41936
- "fieldName": "draggable"
42046
+ "description": "글자 앞에 글자색의 작은 점을 찍습니다 — 표 안의 상태 배지처럼 **같은 열에서 색이 줄지어 반복될 때**\n색이 아니라 모양으로도 «이것은 상태다» 를 표시하는 보조 표식입니다. 상태의 뜻은 여전히 글자가 말합니다.\n`icon` 과 함께 켜면 아이콘이 우선합니다(둘 다 그리지 않습니다).",
42047
+ "fieldName": "dot"
41937
42048
  }
41938
42049
  ],
41939
42050
  "superclass": {
41940
42051
  "name": "UElement",
41941
42052
  "module": "/src/components/UElement.js"
41942
42053
  },
41943
- "tagName": "u-tab-panel",
42054
+ "tagName": "u-tag",
41944
42055
  "customElement": true
41945
42056
  }
41946
42057
  ],
41947
42058
  "exports": [
41948
42059
  {
41949
42060
  "kind": "js",
41950
- "name": "UTabPanel",
42061
+ "name": "UTag",
41951
42062
  "declaration": {
41952
- "name": "UTabPanel",
41953
- "module": "src/components/tab-panel/UTabPanel.ts"
42063
+ "name": "UTag",
42064
+ "module": "src/components/tag/UTag.ts"
41954
42065
  }
41955
42066
  },
41956
42067
  {
41957
42068
  "kind": "custom-element-definition",
41958
- "name": "u-tab-panel",
42069
+ "name": "u-tag",
41959
42070
  "declaration": {
41960
- "name": "UTabPanel",
41961
- "module": "src/components/tab-panel/UTabPanel.ts"
42071
+ "name": "UTag",
42072
+ "module": "src/components/tag/UTag.ts"
41962
42073
  }
41963
42074
  }
41964
42075
  ]
41965
42076
  },
41966
42077
  {
41967
42078
  "kind": "javascript-module",
41968
- "path": "src/components/tag/UTag.ts",
42079
+ "path": "src/components/tab-panel/UTabPanel.ts",
41969
42080
  "declarations": [
41970
42081
  {
41971
42082
  "kind": "class",
41972
- "description": "레이블, 카테고리, 상태 등을 표시하는 태그 컴포넌트입니다.",
41973
- "name": "UTag",
42083
+ "description": "탭 기반 콘텐츠 전환을 제공하는 컴포넌트입니다.",
42084
+ "name": "UTabPanel",
41974
42085
  "cssProperties": [
41975
42086
  {
41976
- "description": "텍스트 색상",
41977
- "name": "--tag-color"
41978
- },
41979
- {
41980
- "description": "배경 색상",
41981
- "name": "--tag-bg-color"
41982
- },
41983
- {
41984
- "description": "테두리 색상",
41985
- "name": "--tag-border-color"
41986
- },
41987
- {
41988
- "description": "세로 여백",
41989
- "name": "--tag-padding-block"
41990
- },
41991
- {
41992
- "description": "가로 여백",
41993
- "name": "--tag-padding-inline"
41994
- },
41995
- {
41996
- "description": "prefix/본문/suffix 사이 간격",
41997
- "name": "--tag-gap"
41998
- },
41999
- {
42000
- "description": "앞머리 점의 지름 (기본 6px)",
42001
- "name": "--tag-dot-size"
42087
+ "description": "활성 탭의 기준색 (기본: --u-primary-color)",
42088
+ "name": "--tab-panel-color"
42002
42089
  }
42003
42090
  ],
42004
42091
  "cssParts": [
42005
42092
  {
42006
- "description": "태그 바깥 상자",
42007
- "name": "base"
42093
+ "description": "탭 버튼들이 있는 헤더 영역",
42094
+ "name": "header"
42008
42095
  },
42009
42096
  {
42010
- "description": "콘텐츠 영역",
42011
- "name": "content"
42097
+ "description": "탭 버튼들이 실제로 배치되는 네비게이션 영역",
42098
+ "name": "nav"
42012
42099
  },
42013
42100
  {
42014
- "description": "상태 아이콘 (`icon` + 역할 색일 때만 렌더된다)",
42015
- "name": "icon"
42101
+ "description": "탭 헤더 내 툴바 영역",
42102
+ "name": "toolbar"
42016
42103
  },
42017
42104
  {
42018
- "description": "앞머리 점 (`dot` 일 때만 렌더된다)",
42019
- "name": "dot"
42105
+ "description": "탭 패널이 있는 콘텐츠 영역",
42106
+ "name": "content"
42020
42107
  }
42021
42108
  ],
42022
42109
  "slots": [
42023
42110
  {
42024
- "description": "태그 메인 콘텐츠",
42111
+ "description": "u-tab 및 u-panel 요소들",
42025
42112
  "name": ""
42026
42113
  },
42027
42114
  {
42028
- "description": "태그 앞에 표시할 콘텐츠",
42029
- "name": "prefix"
42030
- },
42031
- {
42032
- "description": "태그 뒤에 표시할 콘텐츠",
42033
- "name": "suffix"
42115
+ "description": "탭 영역에 있는 공간에 표시할 콘텐츠",
42116
+ "name": "toolbar"
42034
42117
  }
42035
42118
  ],
42036
42119
  "members": [
42120
+ {
42121
+ "kind": "field",
42122
+ "name": "disabled",
42123
+ "type": {
42124
+ "text": "boolean"
42125
+ },
42126
+ "default": "false",
42127
+ "description": "탭 비활성화 여부",
42128
+ "attribute": "disabled",
42129
+ "reflects": true
42130
+ },
42037
42131
  {
42038
42132
  "kind": "field",
42039
42133
  "name": "appearance",
42040
42134
  "type": {
42041
- "text": "\"solid\" | \"soft\" | \"outlined\" | \"plain\""
42135
+ "text": "\"line\" | \"card\" | \"pill\" | \"plain\""
42042
42136
  },
42043
- "default": "\"soft\"",
42044
- "description": "외형 정도",
42137
+ "default": "'line'",
42138
+ "description": "탭 스타일 변형",
42045
42139
  "attribute": "appearance",
42046
42140
  "reflects": true
42047
42141
  },
42048
42142
  {
42049
42143
  "kind": "field",
42050
- "name": "color",
42144
+ "name": "placement",
42051
42145
  "type": {
42052
- "text": "\"neutral\" | \"primary\" | \"secondary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"blue\" | \"green\" | \"yellow\" | \"red\" | \"orange\" | \"teal\" | \"cyan\" | \"purple\" | \"pink\""
42146
+ "text": "\"top\" | \"bottom\" | \"left\" | \"right\""
42053
42147
  },
42054
- "default": "\"neutral\"",
42055
- "description": "태그의 색상을 설정합니다.",
42056
- "attribute": "color",
42148
+ "default": "'top'",
42149
+ "description": "탭 위치",
42150
+ "attribute": "placement",
42057
42151
  "reflects": true
42058
42152
  },
42059
42153
  {
42060
42154
  "kind": "field",
42061
- "name": "size",
42155
+ "name": "value",
42062
42156
  "type": {
42063
- "text": "\"sm\" | \"md\""
42157
+ "text": "string"
42064
42158
  },
42065
- "default": "\"md\"",
42066
- "description": "크기",
42067
- "attribute": "size",
42159
+ "default": "''",
42160
+ "description": "선택된 탭값",
42161
+ "attribute": "value",
42068
42162
  "reflects": true
42069
42163
  },
42070
42164
  {
42071
42165
  "kind": "field",
42072
- "name": "rounded",
42166
+ "name": "draggable",
42073
42167
  "type": {
42074
42168
  "text": "boolean"
42075
42169
  },
42076
42170
  "default": "false",
42077
- "description": "태그를 둥글게 표시합니다.",
42078
- "attribute": "rounded",
42171
+ "description": "네이티브 전역 속성. ⚠**이 컴포넌트에 탭 재정렬 기능은 없다** — 브라우저의 드래그를\n켤 뿐이고, 놓았을 때 순서를 바꾸는 코드는 존재한 적이 없다.",
42172
+ "attribute": "draggable",
42079
42173
  "reflects": true
42080
42174
  },
42081
42175
  {
42082
42176
  "kind": "field",
42083
- "name": "icon",
42177
+ "name": "tabs",
42084
42178
  "type": {
42085
- "text": "boolean"
42179
+ "text": "UTab[]"
42086
42180
  },
42087
- "default": "false",
42088
- "description": "상태를 **색과 무관하게** 나르는 아이콘을 붙입니다(`info`·`success`·`warning`·`danger`).\n색각 이상·흑백 인쇄에서 상태가 갈리게 하는 축입니다.\n의미가 없는 색(`neutral`·`primary`·장식 축)에서는 아무것도 그리지 않습니다.",
42089
- "attribute": "icon",
42090
- "reflects": true
42181
+ "privacy": "private",
42182
+ "default": "[]"
42091
42183
  },
42092
42184
  {
42093
42185
  "kind": "field",
42094
- "name": "dot",
42186
+ "name": "panels",
42095
42187
  "type": {
42096
- "text": "boolean"
42188
+ "text": "UPanel[]"
42097
42189
  },
42098
- "default": "false",
42099
- "description": "글자 앞에 글자색의 작은 점을 찍습니다 — 표 안의 상태 배지처럼 **같은 열에서 색이 줄지어 반복될 때**\n색이 아니라 모양으로도 «이것은 상태다» 를 표시하는 보조 표식입니다. 상태의 뜻은 여전히 글자가 말합니다.\n`icon` 과 함께 켜면 아이콘이 우선합니다(둘 다 그리지 않습니다).",
42100
- "attribute": "dot",
42101
- "reflects": true
42190
+ "privacy": "private",
42191
+ "default": "[]"
42192
+ },
42193
+ {
42194
+ "kind": "field",
42195
+ "name": "isVertical",
42196
+ "privacy": "private",
42197
+ "readonly": true
42198
+ },
42199
+ {
42200
+ "kind": "method",
42201
+ "name": "change",
42202
+ "privacy": "private",
42203
+ "parameters": [
42204
+ {
42205
+ "name": "value",
42206
+ "type": {
42207
+ "text": "string"
42208
+ }
42209
+ }
42210
+ ]
42211
+ },
42212
+ {
42213
+ "kind": "method",
42214
+ "name": "updateTabPanel",
42215
+ "privacy": "private",
42216
+ "description": "선택 상태를 외형(`active`)과 보조기기 표면에 함께 싣는다 — WAI-ARIA APG Tabs.\n- 탭: `aria-selected` · 로빙 tabindex(선택된 탭만 0 — Tab 은 탭 목록에 한 번만 멈추고,\n 안에서는 화살표가 옮긴다). 선택된 탭이 없거나 비활성이면 첫 활성 탭이 0 을 받는다.\n- 패널: `role=\"tabpanel\"` · 같은 `value` 의 탭과 `aria-controls`/`aria-labelledby` 로 잇는다.\n 탭과 패널은 같은 light DOM 에 있으므로 id 참조가 성립한다. 소비자는 id 를 몰라도 된다 —\n 없으면 만든다(주어진 id 는 그대로 쓴다)."
42217
+ },
42218
+ {
42219
+ "kind": "field",
42220
+ "name": "handleSlotChange",
42221
+ "privacy": "private"
42222
+ },
42223
+ {
42224
+ "kind": "field",
42225
+ "name": "handleTabSlotChange",
42226
+ "privacy": "private"
42227
+ },
42228
+ {
42229
+ "kind": "field",
42230
+ "name": "handleTabClick",
42231
+ "privacy": "private"
42232
+ },
42233
+ {
42234
+ "kind": "field",
42235
+ "name": "handleTabKeydown",
42236
+ "privacy": "private"
42237
+ },
42238
+ {
42239
+ "kind": "field",
42240
+ "name": "handleNavWheel",
42241
+ "privacy": "private"
42102
42242
  },
42103
42243
  {
42104
42244
  "kind": "field",
@@ -42309,85 +42449,85 @@
42309
42449
  }
42310
42450
  }
42311
42451
  ],
42312
- "attributes": [
42452
+ "events": [
42313
42453
  {
42314
- "name": "appearance",
42454
+ "description": "탭을 클릭하거나 키보드로 선택했을 때만 발생한다. 최초 마운트 시 첫 탭이 자동 선택되는 경우나 `value` 프로퍼티를 직접 대입하는 경우는 사용자 조작이 아니므로 발생시키지 않는다(네이티브 select가 프로그래밍적 대입에는 change를 내지 않는 것과 동일한 관례).",
42455
+ "name": "change",
42315
42456
  "type": {
42316
- "text": "\"solid\" | \"soft\" | \"outlined\" | \"plain\""
42317
- },
42318
- "default": "\"soft\"",
42319
- "description": "외형 정도",
42320
- "fieldName": "appearance"
42321
- },
42457
+ "text": "CustomEvent"
42458
+ }
42459
+ }
42460
+ ],
42461
+ "attributes": [
42322
42462
  {
42323
- "name": "color",
42463
+ "name": "disabled",
42324
42464
  "type": {
42325
- "text": "\"neutral\" | \"primary\" | \"secondary\" | \"info\" | \"success\" | \"warning\" | \"danger\" | \"blue\" | \"green\" | \"yellow\" | \"red\" | \"orange\" | \"teal\" | \"cyan\" | \"purple\" | \"pink\""
42465
+ "text": "boolean"
42326
42466
  },
42327
- "default": "\"neutral\"",
42328
- "description": "태그의 색상을 설정합니다.",
42329
- "fieldName": "color"
42467
+ "default": "false",
42468
+ "description": "탭 비활성화 여부",
42469
+ "fieldName": "disabled"
42330
42470
  },
42331
42471
  {
42332
- "name": "size",
42472
+ "name": "appearance",
42333
42473
  "type": {
42334
- "text": "\"sm\" | \"md\""
42474
+ "text": "\"line\" | \"card\" | \"pill\" | \"plain\""
42335
42475
  },
42336
- "default": "\"md\"",
42337
- "description": "크기",
42338
- "fieldName": "size"
42476
+ "default": "'line'",
42477
+ "description": "탭 스타일 변형",
42478
+ "fieldName": "appearance"
42339
42479
  },
42340
42480
  {
42341
- "name": "rounded",
42481
+ "name": "placement",
42342
42482
  "type": {
42343
- "text": "boolean"
42483
+ "text": "\"top\" | \"bottom\" | \"left\" | \"right\""
42344
42484
  },
42345
- "default": "false",
42346
- "description": "태그를 둥글게 표시합니다.",
42347
- "fieldName": "rounded"
42485
+ "default": "'top'",
42486
+ "description": "탭 위치",
42487
+ "fieldName": "placement"
42348
42488
  },
42349
42489
  {
42350
- "name": "icon",
42490
+ "name": "value",
42351
42491
  "type": {
42352
- "text": "boolean"
42492
+ "text": "string"
42353
42493
  },
42354
- "default": "false",
42355
- "description": "상태를 **색과 무관하게** 나르는 아이콘을 붙입니다(`info`·`success`·`warning`·`danger`).\n색각 이상·흑백 인쇄에서 상태가 갈리게 하는 축입니다.\n의미가 없는 색(`neutral`·`primary`·장식 축)에서는 아무것도 그리지 않습니다.",
42356
- "fieldName": "icon"
42494
+ "default": "''",
42495
+ "description": "선택된 탭값",
42496
+ "fieldName": "value"
42357
42497
  },
42358
42498
  {
42359
- "name": "dot",
42499
+ "name": "draggable",
42360
42500
  "type": {
42361
42501
  "text": "boolean"
42362
42502
  },
42363
42503
  "default": "false",
42364
- "description": "글자 앞에 글자색의 작은 점을 찍습니다 — 표 안의 상태 배지처럼 **같은 열에서 색이 줄지어 반복될 때**\n색이 아니라 모양으로도 «이것은 상태다» 를 표시하는 보조 표식입니다. 상태의 뜻은 여전히 글자가 말합니다.\n`icon` 과 함께 켜면 아이콘이 우선합니다(둘 다 그리지 않습니다).",
42365
- "fieldName": "dot"
42504
+ "description": "네이티브 전역 속성. ⚠**이 컴포넌트에 탭 재정렬 기능은 없다** — 브라우저의 드래그를\n켤 뿐이고, 놓았을 때 순서를 바꾸는 코드는 존재한 적이 없다.",
42505
+ "fieldName": "draggable"
42366
42506
  }
42367
42507
  ],
42368
42508
  "superclass": {
42369
42509
  "name": "UElement",
42370
42510
  "module": "/src/components/UElement.js"
42371
42511
  },
42372
- "tagName": "u-tag",
42512
+ "tagName": "u-tab-panel",
42373
42513
  "customElement": true
42374
42514
  }
42375
42515
  ],
42376
42516
  "exports": [
42377
42517
  {
42378
42518
  "kind": "js",
42379
- "name": "UTag",
42519
+ "name": "UTabPanel",
42380
42520
  "declaration": {
42381
- "name": "UTag",
42382
- "module": "src/components/tag/UTag.ts"
42521
+ "name": "UTabPanel",
42522
+ "module": "src/components/tab-panel/UTabPanel.ts"
42383
42523
  }
42384
42524
  },
42385
42525
  {
42386
42526
  "kind": "custom-element-definition",
42387
- "name": "u-tag",
42527
+ "name": "u-tab-panel",
42388
42528
  "declaration": {
42389
- "name": "UTag",
42390
- "module": "src/components/tag/UTag.ts"
42529
+ "name": "UTabPanel",
42530
+ "module": "src/components/tab-panel/UTabPanel.ts"
42391
42531
  }
42392
42532
  }
42393
42533
  ]
@@ -44446,6 +44586,19 @@
44446
44586
  "module": "src/components/UFloatingElement.ts"
44447
44587
  }
44448
44588
  },
44589
+ {
44590
+ "kind": "field",
44591
+ "name": "hiddenFrame",
44592
+ "type": {
44593
+ "text": "number"
44594
+ },
44595
+ "privacy": "private",
44596
+ "default": "0",
44597
+ "inheritedFrom": {
44598
+ "name": "UFloatingElement",
44599
+ "module": "src/components/UFloatingElement.ts"
44600
+ }
44601
+ },
44449
44602
  {
44450
44603
  "kind": "field",
44451
44604
  "name": "showTimer",
@@ -44543,6 +44696,24 @@
44543
44696
  "module": "src/components/UFloatingElement.ts"
44544
44697
  }
44545
44698
  },
44699
+ {
44700
+ "kind": "method",
44701
+ "name": "recheckWhileHidden",
44702
+ "privacy": "private",
44703
+ "parameters": [
44704
+ {
44705
+ "name": "target",
44706
+ "type": {
44707
+ "text": "Element | VirtualElement"
44708
+ }
44709
+ }
44710
+ ],
44711
+ "description": "`anchor-hidden` 이 서 있는 동안 다음 프레임에 다시 잰다. 추적이 끊기거나 속성이 풀리면 멈춘다.",
44712
+ "inheritedFrom": {
44713
+ "name": "UFloatingElement",
44714
+ "module": "src/components/UFloatingElement.ts"
44715
+ }
44716
+ },
44546
44717
  {
44547
44718
  "kind": "method",
44548
44719
  "name": "track",