@sellmate/design-system 1.8.0 → 1.10.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 (388) hide show
  1. package/dist/cjs/{component.datepicker-Cw_-oidk.js → component.datepicker-CUQbDSku.js} +0 -1
  2. package/dist/cjs/component.field-YIQ9TAhV.js +61 -0
  3. package/dist/cjs/{component.textinput-BpXDeZPD.js → component.textinput-Bb-nU5xI.js} +3 -2
  4. package/dist/cjs/design-system.cjs.js +2 -2
  5. package/dist/cjs/{index-BGwB03Tk.js → index-C63F8C0_.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
  8. package/dist/cjs/sd-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/sd-barcode-input.cjs.entry.js +3 -3
  10. package/dist/cjs/{sd-button.config-BSHkfgdC.js → sd-button.config-eTAJM2iW.js} +17 -4
  11. package/dist/cjs/sd-button_2.cjs.entry.js +7 -6
  12. package/dist/cjs/sd-calendar_2.cjs.entry.js +10 -9
  13. package/dist/cjs/sd-callout.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  15. package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
  16. package/dist/cjs/sd-chip-input.cjs.entry.js +274 -0
  17. package/dist/cjs/sd-chip.cjs.entry.js +15 -87
  18. package/dist/cjs/sd-chip.config-DiLoRpct.js +71 -0
  19. package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
  20. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -4
  21. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  22. package/dist/cjs/{sd-date-picker.config-D3lTpa6W.js → sd-date-picker.config-CtXmufyj.js} +6 -2
  23. package/dist/cjs/sd-date-picker_7.cjs.entry.js +34 -48
  24. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +4 -4
  25. package/dist/cjs/sd-divider.cjs.entry.js +2 -2
  26. package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -6
  27. package/dist/cjs/sd-field_3.cjs.entry.js +15 -56
  28. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  29. package/dist/cjs/sd-ghost-button_2.cjs.entry.js +407 -0
  30. package/dist/cjs/sd-guide.cjs.entry.js +1 -1
  31. package/dist/cjs/sd-key-value-table.cjs.entry.js +1 -1
  32. package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
  33. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  34. package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
  35. package/dist/cjs/sd-pagination_4.cjs.entry.js +9 -9
  36. package/dist/cjs/sd-popover.cjs.entry.js +8 -7
  37. package/dist/cjs/sd-popup.cjs.entry.js +2 -2
  38. package/dist/cjs/sd-portal.cjs.entry.js +2 -2
  39. package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
  40. package/dist/cjs/sd-radio.cjs.entry.js +1 -1
  41. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +9 -8
  42. package/dist/cjs/{sd-select.config-B19ptCT2.js → sd-select.config-DrJ4LNVz.js} +24 -13
  43. package/dist/cjs/sd-select_3.cjs.entry.js +16 -13
  44. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  45. package/dist/cjs/sd-table.cjs.entry.js +7 -7
  46. package/dist/cjs/sd-tabs.cjs.entry.js +6 -3
  47. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  48. package/dist/cjs/sd-text-link.cjs.entry.js +20 -20
  49. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  50. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  51. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  52. package/dist/cjs/{tooltipArrow-COD-SNZL.js → tooltipArrow-DONQ8MML.js} +1 -1
  53. package/dist/cjs/{useDatePicker-dCuEgvjX.js → useDatePicker-iMd6WToc.js} +1 -1
  54. package/dist/collection/collection-manifest.json +1 -0
  55. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  56. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
  57. package/dist/collection/components/sd-button/sd-button.config.js +10 -2
  58. package/dist/collection/components/sd-button/sd-button.css +6 -5
  59. package/dist/collection/components/sd-button/sd-button.js +5 -4
  60. package/dist/collection/components/sd-calendar/sd-calendar.js +3 -3
  61. package/dist/collection/components/sd-callout/sd-callout.js +1 -1
  62. package/dist/collection/components/sd-card/sd-card.js +1 -1
  63. package/dist/collection/components/sd-chip/sd-chip.config.js +0 -1
  64. package/dist/collection/components/sd-chip/sd-chip.css +5 -0
  65. package/dist/collection/components/sd-chip/sd-chip.js +7 -5
  66. package/dist/collection/components/sd-chip-input/sd-chip-input.config.js +48 -0
  67. package/dist/collection/components/sd-chip-input/sd-chip-input.css +92 -0
  68. package/dist/collection/components/sd-chip-input/sd-chip-input.js +709 -0
  69. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  70. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
  71. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  72. package/dist/collection/components/sd-date-picker/sd-date-picker.config.js +5 -1
  73. package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
  74. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  75. package/dist/collection/components/sd-divider/sd-divider.js +1 -1
  76. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -2
  77. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +4 -0
  78. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +5 -3
  79. package/dist/collection/components/sd-field/sd-field.js +6 -5
  80. package/dist/collection/components/sd-file-picker/sd-file-picker.config.js +11 -10
  81. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  82. package/dist/collection/components/sd-ghost-button/sd-ghost-button.css +21 -0
  83. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +27 -2
  84. package/dist/collection/components/sd-input/sd-input.js +2 -2
  85. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  86. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  87. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
  88. package/dist/collection/components/sd-number-input/sd-number-input.config.js +4 -3
  89. package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
  90. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  91. package/dist/collection/components/sd-popover/sd-popover.js +5 -5
  92. package/dist/collection/components/sd-popup/sd-popup.js +1 -1
  93. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  94. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +4 -3
  95. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  96. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +7 -4
  97. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +4 -3
  98. package/dist/collection/components/sd-select/sd-select.config.js +17 -10
  99. package/dist/collection/components/sd-select/sd-select.js +5 -6
  100. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  101. package/dist/collection/components/sd-table/sd-table.js +6 -6
  102. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  103. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  104. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  105. package/dist/collection/components/sd-tabs/sd-tabs.css +27 -0
  106. package/dist/collection/components/sd-tabs/sd-tabs.js +24 -1
  107. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  108. package/dist/collection/components/sd-text-link/sd-text-link.config.js +4 -4
  109. package/dist/collection/components/sd-text-link/sd-text-link.js +11 -11
  110. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  111. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  112. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  113. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  114. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  115. package/dist/components/index.js +1 -1
  116. package/dist/components/p-0KaFFbD8.js +1 -0
  117. package/dist/components/{p-p4bNikji.js → p-4XivETkt.js} +1 -1
  118. package/dist/components/p-AmkZCF9y.js +1 -0
  119. package/dist/components/p-BA8i1i5_.js +1 -0
  120. package/dist/components/{p-DQj-S8AC.js → p-BNkExhYB.js} +1 -1
  121. package/dist/components/p-BOJJ_sQS.js +1 -0
  122. package/dist/components/p-B_FQcRtk.js +1 -0
  123. package/dist/components/{p-lOVBaLB7.js → p-BcsFHQH8.js} +1 -1
  124. package/dist/components/p-BnaD56dI.js +1 -0
  125. package/dist/components/p-Bq9q5LoZ.js +1 -0
  126. package/dist/components/p-BwUUaGFU.js +1 -0
  127. package/dist/components/{p-DnW8EAqd.js → p-BysikR_g.js} +1 -1
  128. package/dist/components/p-C5wgHjtx.js +1 -0
  129. package/dist/components/{p-gqfJ-KUj.js → p-C79Cowjq.js} +1 -1
  130. package/dist/components/{p-Cye8r1MG.js → p-CFL9Rfh8.js} +1 -1
  131. package/dist/components/{p-uVZjhyvS.js → p-CJdrq8cV.js} +1 -1
  132. package/dist/components/{p-DCFqtVBm.js → p-CJr5BdNN.js} +1 -1
  133. package/dist/components/p-CWlwx4xx.js +1 -0
  134. package/dist/components/p-CWz_dfBG.js +1 -0
  135. package/dist/components/{p-D6cUtm8p.js → p-CjVOfLam.js} +1 -1
  136. package/dist/components/{p-wLoP3KMv.js → p-Ck9bJZTm.js} +1 -1
  137. package/dist/components/{p-CwQTEZWO.js → p-CkQzw2e0.js} +1 -1
  138. package/dist/components/p-CqvS2J1B.js +1 -0
  139. package/dist/components/p-CyGi6aGo.js +1 -0
  140. package/dist/components/p-Cz9ralVS.js +1 -0
  141. package/dist/components/{p-y_6iWhDy.js → p-D4TisqIF.js} +1 -1
  142. package/dist/components/p-D5O7fZYw.js +1 -0
  143. package/dist/components/p-DApxX0af.js +1 -0
  144. package/dist/components/p-DR0N8_Vt.js +1 -0
  145. package/dist/components/p-DUhqd8c7.js +1 -0
  146. package/dist/components/{p-BasCjDiE.js → p-DjS-dtF5.js} +1 -1
  147. package/dist/components/p-DmbwfZF7.js +1 -0
  148. package/dist/components/p-Dp6NByuZ.js +1 -0
  149. package/dist/components/{p-Bx9dlLbs.js → p-Dt9-l05k.js} +1 -1
  150. package/dist/components/{p-DhmsCQrB.js → p-DwU-e9i1.js} +1 -1
  151. package/dist/components/{p-BWJtQGYo.js → p-Dwl1u73P.js} +1 -1
  152. package/dist/components/{p-EcuI_UmK.js → p-NaAHdFVI.js} +1 -1
  153. package/dist/components/{p-ByhWX2NK.js → p-e0ABNkP6.js} +1 -1
  154. package/dist/components/{p-B45aOf4I.js → p-ipduET5U.js} +1 -1
  155. package/dist/components/{p-DKwnEkHE.js → p-jtJFHONo.js} +1 -1
  156. package/dist/components/p-laVsm9VM.js +1 -0
  157. package/dist/components/{p-CTuKWVTh.js → p-pfGv13eX.js} +1 -1
  158. package/dist/components/p-siTDlOb6.js +1 -0
  159. package/dist/components/sd-action-modal.js +1 -1
  160. package/dist/components/sd-badge.js +1 -1
  161. package/dist/components/sd-barcode-input.js +1 -1
  162. package/dist/components/sd-button.js +1 -1
  163. package/dist/components/sd-calendar.js +1 -1
  164. package/dist/components/sd-callout.js +1 -1
  165. package/dist/components/sd-card.js +1 -1
  166. package/dist/components/sd-checkbox.js +1 -1
  167. package/dist/components/sd-chip-input.d.ts +11 -0
  168. package/dist/components/sd-chip-input.js +1 -0
  169. package/dist/components/sd-chip.js +1 -1
  170. package/dist/components/sd-circle-progress.js +1 -1
  171. package/dist/components/sd-confirm-modal.js +1 -1
  172. package/dist/components/sd-date-box.js +1 -1
  173. package/dist/components/sd-date-picker-trigger.js +1 -1
  174. package/dist/components/sd-date-picker.js +1 -1
  175. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  176. package/dist/components/sd-date-range-picker.js +1 -1
  177. package/dist/components/sd-divider.js +1 -1
  178. package/dist/components/sd-dropdown-button.js +1 -1
  179. package/dist/components/sd-field.js +1 -1
  180. package/dist/components/sd-file-picker.js +1 -1
  181. package/dist/components/sd-floating-portal.js +1 -1
  182. package/dist/components/sd-form.js +1 -1
  183. package/dist/components/sd-ghost-button.js +1 -1
  184. package/dist/components/sd-guide.js +1 -1
  185. package/dist/components/sd-icon.js +1 -1
  186. package/dist/components/sd-input.js +1 -1
  187. package/dist/components/sd-key-value-table.js +1 -1
  188. package/dist/components/sd-linear-progress.js +1 -1
  189. package/dist/components/sd-loading-container.js +1 -1
  190. package/dist/components/sd-loading-modal.js +1 -1
  191. package/dist/components/sd-modal-container.js +1 -1
  192. package/dist/components/sd-number-input.js +1 -1
  193. package/dist/components/sd-pagination.js +1 -1
  194. package/dist/components/sd-popover.js +1 -1
  195. package/dist/components/sd-popup.js +1 -1
  196. package/dist/components/sd-portal.js +1 -1
  197. package/dist/components/sd-radio-button.js +1 -1
  198. package/dist/components/sd-radio-group.js +1 -1
  199. package/dist/components/sd-radio.js +1 -1
  200. package/dist/components/sd-select-list-item-search.js +1 -1
  201. package/dist/components/sd-select-list-item.js +1 -1
  202. package/dist/components/sd-select-listbox.js +1 -1
  203. package/dist/components/sd-select-trigger.js +1 -1
  204. package/dist/components/sd-select.js +1 -1
  205. package/dist/components/sd-switch.js +1 -1
  206. package/dist/components/sd-table.js +1 -1
  207. package/dist/components/sd-tabs.js +1 -1
  208. package/dist/components/sd-tag.js +1 -1
  209. package/dist/components/sd-tbody.js +1 -1
  210. package/dist/components/sd-td.js +1 -1
  211. package/dist/components/sd-text-link.js +1 -1
  212. package/dist/components/sd-textarea.js +1 -1
  213. package/dist/components/sd-thead.js +1 -1
  214. package/dist/components/sd-toast-container.js +1 -1
  215. package/dist/components/sd-toast.js +1 -1
  216. package/dist/components/sd-toggle.js +1 -1
  217. package/dist/components/sd-tooltip.js +1 -1
  218. package/dist/components/sd-tr.js +1 -1
  219. package/dist/design-system/design-system.css +1 -1
  220. package/dist/design-system/design-system.esm.js +1 -1
  221. package/dist/design-system/{p-e81cb8c9.entry.js → p-0ac4d17b.entry.js} +1 -1
  222. package/dist/design-system/p-12c1ddfc.entry.js +1 -0
  223. package/dist/design-system/{p-5d5d8220.entry.js → p-15518cf5.entry.js} +1 -1
  224. package/dist/design-system/{p-07b0d118.entry.js → p-20ebfd9e.entry.js} +1 -1
  225. package/dist/design-system/{p-ff33d019.entry.js → p-24cb3aef.entry.js} +1 -1
  226. package/dist/design-system/{p-ea586c5e.entry.js → p-27f61c1f.entry.js} +1 -1
  227. package/dist/design-system/{p-db826b91.entry.js → p-2ef3cd00.entry.js} +1 -1
  228. package/dist/design-system/p-2f53e2f9.entry.js +1 -0
  229. package/dist/design-system/{p-78b0b759.entry.js → p-36b8f224.entry.js} +1 -1
  230. package/dist/design-system/{p-eb18d812.entry.js → p-3bd59260.entry.js} +1 -1
  231. package/dist/design-system/p-4fd59127.entry.js +1 -0
  232. package/dist/design-system/p-5b2dd552.entry.js +1 -0
  233. package/dist/design-system/{p-0de5a53b.entry.js → p-5deefcbc.entry.js} +1 -1
  234. package/dist/design-system/{p-a5930cbd.entry.js → p-6ebd85ae.entry.js} +1 -1
  235. package/dist/design-system/{p-f14962bd.entry.js → p-7440fbe7.entry.js} +1 -1
  236. package/dist/design-system/p-798c0f9b.entry.js +1 -0
  237. package/dist/design-system/{p-cce38339.entry.js → p-7b01d78b.entry.js} +1 -1
  238. package/dist/design-system/p-7ca9a6c9.entry.js +1 -0
  239. package/dist/design-system/p-90cc9785.entry.js +1 -0
  240. package/dist/design-system/p-9f899376.entry.js +1 -0
  241. package/dist/design-system/p-9ff473b2.entry.js +1 -0
  242. package/dist/design-system/p-BOJJ_sQS.js +1 -0
  243. package/dist/design-system/p-BpO2YWvq.js +2 -0
  244. package/dist/design-system/{p-BGtUaScP.js → p-BqWuC4-J.js} +1 -1
  245. package/dist/design-system/{p-LIf7YMBN.js → p-CcVraVK0.js} +1 -1
  246. package/dist/design-system/p-DDj5KTBF.js +1 -0
  247. package/dist/design-system/p-DjcjlPt7.js +1 -0
  248. package/dist/design-system/p-DtrsLG0Z.js +1 -0
  249. package/dist/design-system/p-a1f248ed.entry.js +1 -0
  250. package/dist/design-system/{p-9e75a5dc.entry.js → p-a4fff652.entry.js} +1 -1
  251. package/dist/design-system/{p-cffa6da7.entry.js → p-a9892cbe.entry.js} +1 -1
  252. package/dist/design-system/{p-1219699a.entry.js → p-acaaf137.entry.js} +1 -1
  253. package/dist/design-system/{p-18d3ae55.entry.js → p-b1d1f1d3.entry.js} +1 -1
  254. package/dist/design-system/{p-d8292621.entry.js → p-b456b9ac.entry.js} +1 -1
  255. package/dist/design-system/{p-1632a28d.entry.js → p-b495f26c.entry.js} +1 -1
  256. package/dist/design-system/p-b63c672a.entry.js +1 -0
  257. package/dist/design-system/{p-8528ba1e.entry.js → p-bbae006c.entry.js} +1 -1
  258. package/dist/design-system/p-bbb51afa.entry.js +1 -0
  259. package/dist/design-system/{p-8fc49d2d.entry.js → p-cad22f63.entry.js} +1 -1
  260. package/dist/design-system/p-d24F7UcR.js +1 -0
  261. package/dist/design-system/p-d40ffa84.entry.js +1 -0
  262. package/dist/design-system/{p-ByhWX2NK.js → p-e0ABNkP6.js} +1 -1
  263. package/dist/design-system/{p-aa28712a.entry.js → p-e4944ae6.entry.js} +1 -1
  264. package/dist/design-system/{p-2c0a8333.entry.js → p-e5f1156c.entry.js} +1 -1
  265. package/dist/design-system/p-f4597b6e.entry.js +1 -0
  266. package/dist/design-system/p-f462bc54.entry.js +1 -0
  267. package/dist/design-system/{p-4b43648c.entry.js → p-f5eb4e2f.entry.js} +1 -1
  268. package/dist/design-system/{p-e6bd8ab1.entry.js → p-f8b6b169.entry.js} +1 -1
  269. package/dist/design-system/{p-1aafbc7b.entry.js → p-fcd3961f.entry.js} +1 -1
  270. package/dist/design-system/{p-25fad267.entry.js → p-ff24fcb2.entry.js} +1 -1
  271. package/dist/design-system/p-laVsm9VM.js +1 -0
  272. package/dist/esm/{component.datepicker-BQn6le_Y.js → component.datepicker-laVsm9VM.js} +0 -1
  273. package/dist/esm/component.field-BOJJ_sQS.js +59 -0
  274. package/dist/esm/{component.textinput-ByhWX2NK.js → component.textinput-e0ABNkP6.js} +3 -2
  275. package/dist/esm/design-system.js +3 -3
  276. package/dist/esm/{index-DNWwGHho.js → index-BpO2YWvq.js} +1 -1
  277. package/dist/esm/loader.js +3 -3
  278. package/dist/esm/sd-action-modal.entry.js +1 -1
  279. package/dist/esm/sd-badge.entry.js +2 -2
  280. package/dist/esm/sd-barcode-input.entry.js +3 -3
  281. package/dist/esm/{sd-button.config-C7p6g_sM.js → sd-button.config-DjcjlPt7.js} +16 -4
  282. package/dist/esm/sd-button_2.entry.js +7 -6
  283. package/dist/esm/sd-calendar_2.entry.js +10 -9
  284. package/dist/esm/sd-callout.entry.js +2 -2
  285. package/dist/esm/sd-card.entry.js +2 -2
  286. package/dist/esm/sd-checkbox.entry.js +1 -1
  287. package/dist/esm/sd-chip-input.entry.js +272 -0
  288. package/dist/esm/sd-chip.config-DDj5KTBF.js +67 -0
  289. package/dist/esm/sd-chip.entry.js +10 -82
  290. package/dist/esm/sd-circle-progress.entry.js +2 -2
  291. package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
  292. package/dist/esm/sd-date-box.entry.js +1 -1
  293. package/dist/esm/{sd-date-picker.config-CGEE3DkI.js → sd-date-picker.config-6dvDZPGx.js} +6 -2
  294. package/dist/esm/sd-date-picker_7.entry.js +34 -48
  295. package/dist/esm/sd-date-range-picker-calendar.entry.js +4 -4
  296. package/dist/esm/sd-divider.entry.js +2 -2
  297. package/dist/esm/sd-dropdown-button.entry.js +10 -6
  298. package/dist/esm/sd-field_3.entry.js +12 -53
  299. package/dist/esm/sd-form.entry.js +1 -1
  300. package/dist/esm/sd-ghost-button_2.entry.js +404 -0
  301. package/dist/esm/sd-guide.entry.js +1 -1
  302. package/dist/esm/sd-key-value-table.entry.js +1 -1
  303. package/dist/esm/sd-linear-progress.entry.js +2 -2
  304. package/dist/esm/sd-loading-container.entry.js +3 -3
  305. package/dist/esm/sd-modal-container.entry.js +1 -1
  306. package/dist/esm/sd-pagination_4.entry.js +9 -9
  307. package/dist/esm/sd-popover.entry.js +8 -7
  308. package/dist/esm/sd-popup.entry.js +2 -2
  309. package/dist/esm/sd-portal.entry.js +2 -2
  310. package/dist/esm/sd-radio-button.entry.js +1 -1
  311. package/dist/esm/sd-radio.entry.js +1 -1
  312. package/dist/esm/sd-select-list-item_2.entry.js +9 -8
  313. package/dist/esm/{sd-select.config-CxOCk_ge.js → sd-select.config-DtrsLG0Z.js} +23 -14
  314. package/dist/esm/sd-select_3.entry.js +16 -13
  315. package/dist/esm/sd-switch.entry.js +2 -2
  316. package/dist/esm/sd-table.entry.js +7 -7
  317. package/dist/esm/sd-tabs.entry.js +6 -3
  318. package/dist/esm/sd-td.entry.js +2 -2
  319. package/dist/esm/sd-text-link.entry.js +20 -20
  320. package/dist/esm/sd-toast-container.entry.js +2 -2
  321. package/dist/esm/sd-toast.entry.js +3 -3
  322. package/dist/esm/sd-toggle.entry.js +2 -2
  323. package/dist/esm/{tooltipArrow-Cj3AqWK0.js → tooltipArrow-DrrY_fPj.js} +1 -1
  324. package/dist/esm/{useDatePicker-D5RmWGOp.js → useDatePicker-DoUg--aq.js} +1 -1
  325. package/dist/types/components/sd-barcode-input/sd-barcode-input.config.d.ts +0 -2
  326. package/dist/types/components/sd-button/sd-button.config.d.ts +10 -2
  327. package/dist/types/components/sd-chip/sd-chip.config.d.ts +0 -1
  328. package/dist/types/components/sd-chip-input/sd-chip-input.config.d.ts +34 -0
  329. package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +53 -0
  330. package/dist/types/components/sd-date-picker/sd-date-picker.config.d.ts +1 -1
  331. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +9 -1
  332. package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +1 -0
  333. package/dist/types/components/sd-input/sd-input.config.d.ts +0 -2
  334. package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +2 -2
  335. package/dist/types/components/sd-popover/sd-popover.d.ts +1 -1
  336. package/dist/types/components/sd-select/sd-select.config.d.ts +2 -0
  337. package/dist/types/components/sd-tabs/sd-tabs.d.ts +1 -0
  338. package/dist/types/components/sd-text-link/sd-text-link.d.ts +1 -1
  339. package/dist/types/components/sd-textarea/sd-textarea.config.d.ts +0 -2
  340. package/dist/types/components.d.ts +217 -7
  341. package/hydrate/index.js +591 -251
  342. package/hydrate/index.mjs +591 -251
  343. package/package.json +1 -1
  344. package/dist/cjs/sd-ghost-button.cjs.entry.js +0 -179
  345. package/dist/cjs/sd-tag.cjs.entry.js +0 -227
  346. package/dist/components/p-2z2c2umH.js +0 -1
  347. package/dist/components/p-B6G64i5a.js +0 -1
  348. package/dist/components/p-B6JOxZKP.js +0 -1
  349. package/dist/components/p-B6L3bPm2.js +0 -1
  350. package/dist/components/p-BQn6le_Y.js +0 -1
  351. package/dist/components/p-Bhh7ig9Q.js +0 -1
  352. package/dist/components/p-C4uWhzoG.js +0 -1
  353. package/dist/components/p-C8c6MuKQ.js +0 -1
  354. package/dist/components/p-CkR5oiLy.js +0 -1
  355. package/dist/components/p-CvfW21oo.js +0 -1
  356. package/dist/components/p-D7g33VZR.js +0 -1
  357. package/dist/components/p-DISZkQqT.js +0 -1
  358. package/dist/components/p-DMrXwfmf.js +0 -1
  359. package/dist/components/p-DP0Dp12H.js +0 -1
  360. package/dist/components/p-DhtKHJ7-.js +0 -1
  361. package/dist/components/p-DmDGMDzt.js +0 -1
  362. package/dist/components/p-DoREs-rv.js +0 -1
  363. package/dist/components/p-I9SoAcVO.js +0 -1
  364. package/dist/components/p-cX2DD74L.js +0 -1
  365. package/dist/components/p-f10Mw7qM.js +0 -1
  366. package/dist/components/p-pwNG5WaX.js +0 -1
  367. package/dist/design-system/p-18057222.entry.js +0 -1
  368. package/dist/design-system/p-25204798.entry.js +0 -1
  369. package/dist/design-system/p-3e2b5e01.entry.js +0 -1
  370. package/dist/design-system/p-46faa7ed.entry.js +0 -1
  371. package/dist/design-system/p-4c3ead1b.entry.js +0 -1
  372. package/dist/design-system/p-5c4fd9c1.entry.js +0 -1
  373. package/dist/design-system/p-60b80bf3.entry.js +0 -1
  374. package/dist/design-system/p-74b3e95b.entry.js +0 -1
  375. package/dist/design-system/p-8674d868.entry.js +0 -1
  376. package/dist/design-system/p-95bbba4f.entry.js +0 -1
  377. package/dist/design-system/p-9d34518e.entry.js +0 -1
  378. package/dist/design-system/p-BQn6le_Y.js +0 -1
  379. package/dist/design-system/p-C7p6g_sM.js +0 -1
  380. package/dist/design-system/p-CxOCk_ge.js +0 -1
  381. package/dist/design-system/p-DNWwGHho.js +0 -2
  382. package/dist/design-system/p-TF8_Lyhq.js +0 -1
  383. package/dist/design-system/p-c1bac61e.entry.js +0 -1
  384. package/dist/design-system/p-cf685d90.entry.js +0 -1
  385. package/dist/design-system/p-deec1ef0.entry.js +0 -1
  386. package/dist/design-system/p-f3dff8b8.entry.js +0 -1
  387. package/dist/esm/sd-ghost-button.entry.js +0 -177
  388. package/dist/esm/sd-tag.entry.js +0 -225
@@ -27,7 +27,7 @@ export class SdCircleProgress {
27
27
  }
28
28
  const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
29
29
  const showPercent = !this.indeterminate;
30
- return (h(Host, { key: '9a4424e79b095c240b2dd53c8655b9a4cccaf581', style: hostStyle }, h("svg", { key: '37ca87d4c4aa6ab6b84a4301225d775f1998c0c1', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '372f7031310dddba431323b0527c273311a498e3', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: 'def6ff7573e4c4a08648f35f7cb545d6b8064f6d', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (h("span", { key: '13d6345672fdafaf6a1e1eef9f5987179a99c3ae', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && h("span", { key: 'c42e2fa2826284017e530e967975e45277ae9ee3', class: "sd-circle-progress__label" }, this.label)));
30
+ return (h(Host, { key: '46d74c0edb5a5e8cd0472c83efc45a0efaf353b4', style: hostStyle }, h("svg", { key: '34117c89eb180370a215807e614ad08f4f72b517', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '08ac6f011b6a4b6744ddcf437b1e0a5b96abfc6e', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: '5ae0a53ce10bd5a8b2f316ebd00d3ee28c4336d6', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (h("span", { key: 'fd52ee1947d41b2117c9ea6e4cc9a448799342e3', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && h("span", { key: 'a58776c4ef67eb900eba97ff4fed138c8f5e8452', class: "sd-circle-progress__label" }, this.label)));
31
31
  }
32
32
  static get is() { return "sd-circle-progress"; }
33
33
  static get originalStyleUrls() {
@@ -73,9 +73,9 @@ export class SdConfirmModal {
73
73
  const type = this.resolvedType;
74
74
  const iconName = CONFIRM_MODAL_ICON_MAP[type];
75
75
  const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
76
- return (h("div", { key: 'c41a58f13b95da7f1f0aea3620abf239dcb116b6', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: 'bdc1bc374934c2f9745f567b4e6ffd55ec3675ce', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: 'ff16ebde448157e657eb74e1b0c5f4a331cf396a', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: 'd718b2ae6f6e92f8c77ec821b78924ffbe267d12', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), h("div", { key: 'a3909abde84c4d6987c9036a705cba4aa7d01ea6', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: '29a4bf80ab75d973544c0a29c87133c9ef8a5aab', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (h("div", { key: '93eb2c75728cf26969a229a876f9217b4e00c63a', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
76
+ return (h("div", { key: '4d3ce0662b2d860a4ed6ae3c8177ae75dae4fb92', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: '7c406d59c2470b610a187bf45aa5cd4ab5c6b26b', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: '10e3d2c8a87a728df4e3f3be7dfab96475738e2b', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: '9cc844c8cefb2fd0dc96871b55fc1c7c6e41c526', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), h("div", { key: 'bbaa81a02c067d66c4cc19cf805b7a6939231311', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: '31734f096eee6e6a9be770eafa43066c8e763608', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (h("div", { key: 'a10838fb7c7081fdaa85cdaa33f92ef30c00a888', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
77
77
  this.customContentRef = el;
78
- } })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '730fd073ade9b8788de77d36fc4aeddd0b304c07', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), h("div", { key: '059fd87fb39b8e2976fcb671c7dd78310324119f', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button", { key: '6b320645505c099783a4a6704e96e9261054c7dc', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button", { key: 'd6a4554a7db861ae7afc610a629591224946d990', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
78
+ } })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '540f3bb73aa61a1a2a041eba9a22a198c7772914', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), h("div", { key: '1944aeb4d140c779d0af1304160a86c5056335a8', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button", { key: 'efd463686d98e9d2edc3e1cd7b4f54d8da4fef56', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button", { key: 'b9033fb98acf3de36b7fb3e1969ccf5a7becef39', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
79
79
  }
80
80
  static get is() { return "sd-confirm-modal"; }
81
81
  static get originalStyleUrls() {
@@ -33,7 +33,7 @@ export class SdDatePickerTrigger {
33
33
  ? DATEPICKER_COLORS.icon.disabled
34
34
  : DATEPICKER_COLORS.icon.default,
35
35
  };
36
- return (h("div", { key: '8a41444172b2d9aa54fa6efe09c4440705d55e06', role: "button", tabindex: this.disabled ? -1 : 0, class: {
36
+ return (h("div", { key: '87ada0414ffc6404b27cf4a41ba7c9cb9903f498', role: "button", tabindex: this.disabled ? -1 : 0, class: {
37
37
  'sd-date-picker-trigger': true,
38
38
  'sd-date-picker-trigger--disabled': this.disabled,
39
39
  }, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
@@ -41,7 +41,7 @@ export class SdDatePickerTrigger {
41
41
  e.preventDefault();
42
42
  this.handleClick();
43
43
  }
44
- } }, h("sd-icon", { key: '74613a1b65814a1f73d00c67d7c1f01019961511', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), h("span", { key: '118733548ddee2bc20ccdc92785ada3bbc765303', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
44
+ } }, h("sd-icon", { key: 'e8eee3ed97ab7344e7658b7b22bc91f11aa0b068', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), h("span", { key: 'ea25a13a72d00ca31fcddaf0183b520175ef7d93', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
45
45
  }
46
46
  static get is() { return "sd-date-picker-trigger"; }
47
47
  static get originalStyleUrls() {
@@ -1,4 +1,5 @@
1
1
  import datepickerTokens from "../../tokens/generated/component.datepicker.json";
2
+ import fieldTokens from "../../tokens/generated/component.field.json";
2
3
  const sm = datepickerTokens.datepicker.sm;
3
4
  const md = datepickerTokens.datepicker.md;
4
5
  export const DATEPICKER_SIZE_MAP = {
@@ -27,5 +28,8 @@ export const DATEPICKER_COLORS = {
27
28
  border: datepickerTokens.datepicker.border,
28
29
  bg: datepickerTokens.datepicker.bg,
29
30
  icon: datepickerTokens.datepicker.icon,
30
- text: datepickerTokens.datepicker.text,
31
+ text: {
32
+ ...datepickerTokens.datepicker.text,
33
+ hint: fieldTokens.field.hint.color,
34
+ },
31
35
  };
@@ -93,9 +93,9 @@ export class SdDatePicker {
93
93
  '--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
94
94
  '--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
95
95
  };
96
- return (h("sd-field", { key: '12d77a181caa4a6a9125db8a5c823149386ee059', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '2abc775817955caf06dd721d7b91c65d1bfd54de', class: "sd-date-picker", ref: el => {
96
+ return (h("sd-field", { key: 'baa957e5534b6587da2ef067ecad4a0934693800', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '652f9f5c6bd5c6ee58f3c89eee45325a98234ac0', class: "sd-date-picker", ref: el => {
97
97
  this.triggerRef = el;
98
- } }, h("sd-date-picker-trigger", { key: 'c8c041a503785e35ac4a14d902eeef0a20fa2dd7', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '2c3bf831068ca090247fa4494fac6c2ce3b20e81', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-calendar", { key: '52df44d23b85540cbca17c352aba5568ff43685d', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
98
+ } }, h("sd-date-picker-trigger", { key: '7b0f81badbcf7ca283afd274b4572e4a6eaa590b', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '65fbe892e4cdd9d643b5000d69220b5e28972902', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-calendar", { key: 'e9187264f336295907f1d5574810df4a07a0f114', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
99
99
  }
100
100
  static get is() { return "sd-date-picker"; }
101
101
  static get originalStyleUrls() {
@@ -239,7 +239,7 @@ export class SdDateRangePickerCalendar {
239
239
  '--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
240
240
  '--range-divider': RANGE_LAYOUT.divider,
241
241
  };
242
- return (h(Fragment, { key: 'a9e5bc8198cfda50227069661812341e7a19b21d' }, h("div", { key: 'a2c5bf6ae806fc24f421cb6b52323f4e92bfc255', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: '2575175fa3537e010e1c7d573428d5c8ebfae488', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: 'bd43ac98b88665dbe85804c8b6345c19dca7d9fa', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
242
+ return (h(Fragment, { key: '91ba95cf0786d59363ac6b72e9c8f91d1802feee' }, h("div", { key: '98f66737a15e5c3129dd20f674736115a4fad42e', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: 'd9f326b485864484ed786cb172d3bd33136987ea', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: 'df7d835ac0da6788f08c7963ed04ed98b7fd6091', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
243
243
  }
244
244
  static get is() { return "sd-date-range-picker-calendar"; }
245
245
  static get originalStyleUrls() {
@@ -7,7 +7,7 @@ export class SdDivider {
7
7
  const hostStyle = {
8
8
  '--sd-divider-color': DIVIDER_COLORS.default,
9
9
  };
10
- return (h(Host, { key: '92e9f5ef8d6d382e1e2a62f3421feaf1bc27aab7', style: hostStyle }, h("hr", { key: '40827e6308a258e6de4a438c53d4de9465a6d0a1', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
10
+ return (h(Host, { key: '8282aae8e5cd26630c54f4347cd26f544672d15d', style: hostStyle }, h("hr", { key: '94df7dc7465b05ecad6527da2c008a4ff503f034', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
11
11
  }
12
12
  static get is() { return "sd-divider"; }
13
13
  static get originalStyleUrls() {
@@ -1,6 +1,6 @@
1
1
  import buttonTokens from "../../tokens/generated/component.button.json";
2
2
  import systemTokens from "../../tokens/generated/system.json";
3
- import { BUTTON_CONFIG, PRESET_BORDER_COLORS as BUTTON_PRESET_BORDER_COLORS, PRESET_CONTENT_COLORS as BUTTON_PRESET_CONTENT_COLORS, PRESET_HOVER_BACKGROUNDS as BUTTON_PRESET_HOVER_BACKGROUNDS, getPresetName, } from "../sd-button/sd-button.config";
3
+ import { BUTTON_CONFIG, PRESET_BORDER_COLORS as BUTTON_PRESET_BORDER_COLORS, PRESET_TEXT_COLORS as BUTTON_PRESET_TEXT_COLORS, PRESET_ICON_COLORS as BUTTON_PRESET_ICON_COLORS, PRESET_HOVER_BACKGROUNDS as BUTTON_PRESET_HOVER_BACKGROUNDS, getPresetName, } from "../sd-button/sd-button.config";
4
4
  // lazy IIFE 로 평가를 한 단계 안으로 옮겨 ban-side-effects 룰의 top-level call 검출을 회피한다.
5
5
  // (런타임 동작은 동일하다 — 모듈 로딩 시점에 한 번 실행됨.)
6
6
  export const DROPDOWN_BUTTON_CONFIG = (() => {
@@ -8,7 +8,8 @@ export const DROPDOWN_BUTTON_CONFIG = (() => {
8
8
  return Object.fromEntries(names.map(name => [name, BUTTON_CONFIG[name]]));
9
9
  })();
10
10
  export const PRESET_HOVER_BACKGROUNDS = BUTTON_PRESET_HOVER_BACKGROUNDS;
11
- export const PRESET_CONTENT_COLORS = BUTTON_PRESET_CONTENT_COLORS;
11
+ export const PRESET_TEXT_COLORS = BUTTON_PRESET_TEXT_COLORS;
12
+ export const PRESET_ICON_COLORS = BUTTON_PRESET_ICON_COLORS;
12
13
  export const PRESET_BORDER_COLORS = BUTTON_PRESET_BORDER_COLORS;
13
14
  export const PRESET_DIVIDER_COLORS = {
14
15
  primary: buttonTokens.button.dropdown.brand.strong.split,
@@ -21,11 +21,14 @@ sd-dropdown-button {
21
21
  --sd-dropdown-button-bg-hover: #004177;
22
22
  --sd-dropdown-button-border: transparent;
23
23
  --sd-dropdown-button-content: #FFFFFF;
24
+ --sd-dropdown-button-icon: var(--sd-dropdown-button-content);
24
25
  --sd-dropdown-button-current-content: var(--sd-dropdown-button-content);
26
+ --sd-dropdown-button-current-icon: var(--sd-dropdown-button-icon);
25
27
  --sd-dropdown-button-divider: #006AC1;
26
28
  --sd-dropdown-button-accent: #0075FF;
27
29
  --sd-dropdown-button-disabled-bg: var(--sd-button-button-bg-disabled, #E1E1E1);
28
30
  --sd-dropdown-button-disabled-content: var(--sd-button-button-text-disabled, #888888);
31
+ --sd-dropdown-button-disabled-icon: var(--sd-button-button-icon-disabled, #BBBBBB);
29
32
  --sd-dropdown-button-disabled-border: var(--sd-button-button-border-disabled, #CCCCCC);
30
33
  display: inline-flex;
31
34
  align-items: stretch;
@@ -94,6 +97,7 @@ sd-dropdown-button {
94
97
  border-color: var(--sd-dropdown-button-disabled-border);
95
98
  background: var(--sd-dropdown-button-disabled-bg);
96
99
  --sd-dropdown-button-current-content: var(--sd-dropdown-button-disabled-content);
100
+ --sd-dropdown-button-current-icon: var(--sd-dropdown-button-disabled-icon);
97
101
  cursor: not-allowed;
98
102
  }
99
103
 
@@ -2,7 +2,7 @@ import { h, } from "@stencil/core";
2
2
  import { BaseDropdownEvent } from "../../utils/base-dropdown-event";
3
3
  import { sanitizeInlineHtml } from "../../utils/html/sanitize-inline-html";
4
4
  import { BUTTON_FOCUS_RING_COLOR } from "../sd-button/sd-button.config";
5
- import { DROPDOWN_BUTTON_CONFIG, DROPDOWN_CHEVRON_ICON_SIZE, DROPDOWN_DISABLED_BACKGROUND, DROPDOWN_DISABLED_BORDER, DROPDOWN_DISABLED_TEXT, getDropdownButtonPreset, isDropdownButtonName, PRESET_BORDER_COLORS, PRESET_CONTENT_COLORS, PRESET_DIVIDER_COLORS, PRESET_HOVER_BACKGROUNDS, PRESET_MENU_ITEM_ACTIVE_BACKGROUNDS, PRESET_MENU_ITEM_ACTIVE_COLORS, PRESET_MENU_ITEM_COLORS, } from "./sd-dropdown-button.config";
5
+ import { DROPDOWN_BUTTON_CONFIG, DROPDOWN_CHEVRON_ICON_SIZE, DROPDOWN_DISABLED_BACKGROUND, DROPDOWN_DISABLED_BORDER, DROPDOWN_DISABLED_ICON, DROPDOWN_DISABLED_TEXT, getDropdownButtonPreset, isDropdownButtonName, PRESET_BORDER_COLORS, PRESET_TEXT_COLORS, PRESET_ICON_COLORS, PRESET_DIVIDER_COLORS, PRESET_HOVER_BACKGROUNDS, PRESET_MENU_ITEM_ACTIVE_BACKGROUNDS, PRESET_MENU_ITEM_ACTIVE_COLORS, PRESET_MENU_ITEM_COLORS, } from "./sd-dropdown-button.config";
6
6
  export class SdDropdownButton extends BaseDropdownEvent {
7
7
  constructor() {
8
8
  super();
@@ -175,11 +175,13 @@ export class SdDropdownButton extends BaseDropdownEvent {
175
175
  '--sd-dropdown-button-bg': config.color,
176
176
  '--sd-dropdown-button-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
177
177
  '--sd-dropdown-button-border': PRESET_BORDER_COLORS[preset],
178
- '--sd-dropdown-button-content': PRESET_CONTENT_COLORS[preset],
178
+ '--sd-dropdown-button-content': PRESET_TEXT_COLORS[preset],
179
+ '--sd-dropdown-button-icon': PRESET_ICON_COLORS[preset],
179
180
  '--sd-dropdown-button-divider': PRESET_DIVIDER_COLORS[preset],
180
181
  '--sd-dropdown-button-accent': BUTTON_FOCUS_RING_COLOR,
181
182
  '--sd-dropdown-button-disabled-bg': DROPDOWN_DISABLED_BACKGROUND,
182
183
  '--sd-dropdown-button-disabled-content': DROPDOWN_DISABLED_TEXT,
184
+ '--sd-dropdown-button-disabled-icon': DROPDOWN_DISABLED_ICON,
183
185
  '--sd-dropdown-button-disabled-border': DROPDOWN_DISABLED_BORDER,
184
186
  };
185
187
  }
@@ -218,7 +220,7 @@ export class SdDropdownButton extends BaseDropdownEvent {
218
220
  return (h("span", { class: {
219
221
  'sd-dropdown-button__trigger-icon': true,
220
222
  'sd-dropdown-button__trigger-icon--open': this.isOpen && !this.split,
221
- }, "aria-hidden": "true" }, h("sd-icon", { name: iconName, size: DROPDOWN_CHEVRON_ICON_SIZE[size], color: "var(--sd-dropdown-button-current-content)" })));
223
+ }, "aria-hidden": "true" }, h("sd-icon", { name: iconName, size: DROPDOWN_CHEVRON_ICON_SIZE[size], color: "var(--sd-dropdown-button-current-icon)" })));
222
224
  }
223
225
  render() {
224
226
  const { config, preset } = this.resolvedConfig;
@@ -10,6 +10,7 @@ const FORM_PARENT_TAGS = [
10
10
  'sd-file-picker',
11
11
  'sd-date-picker',
12
12
  'sd-date-range-picker',
13
+ 'sd-chip-input',
13
14
  ];
14
15
  export class SdField {
15
16
  el;
@@ -172,21 +173,21 @@ export class SdField {
172
173
  : {}),
173
174
  }
174
175
  : {};
175
- return (h("div", { key: 'c6d4bc9d09982d65c31596319569590df9b994b1', class: {
176
+ return (h("div", { key: 'b2a4122378dd725d8b392b89ae44669f097ff767', class: {
176
177
  'sd-field': true,
177
178
  'sd-field--has-label': this.label !== '',
178
179
  'sd-field--has-addon': addon !== '',
179
180
  [this.fieldStatus]: this.fieldStatus !== '',
180
- }, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, h("div", { key: '24f3e7702b3d3be42f8236988e1d64e26a31840e', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: '7c45edce014adee7e2eb91296779896d9fd9fcc3', class: "sd-field__main", style: this.width !== '' && this.width !== 0
181
+ }, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, h("div", { key: 'ae6ead740a745248f89a3b9049480954091f5991', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: '42699ddc5eb366d035986274dcf3ae7c17396e9c', class: "sd-field__main", style: this.width !== '' && this.width !== 0
181
182
  ? {
182
183
  width: typeof this.width === 'number' ? `${this.width}px` : this.width,
183
184
  flex: 'none',
184
185
  }
185
- : {} }, h("div", { key: '13c99702bf11e4ff76332141a9eaff93185882d3', class: {
186
+ : {} }, h("div", { key: 'f8c058d44411d27997e90bf3627a4b905f1a6112', class: {
186
187
  'sd-field__control': true,
187
188
  'sd-field__control--has-addon': addon !== '',
188
- } }, addon && (h("div", { key: '461170360e26e24051fab4507a22e932f5a37244', class: "sd-field__addon" }, this.icon && (h("sd-icon", { key: 'c8b63273a253da7911e5d8a6f57143a9cc909853', name: this.icon.name, size: this.icon.size ??
189
- Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), h("slot", { key: '3c4a72a6152c50d525df972a2a4c4d6840240116' })), this.errorMsg !== '' || this.errorMessage !== '' ? (h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && h("div", { class: "sd-field__hint" }, this.hint))))));
189
+ } }, addon && (h("div", { key: '86592d8a5046853eef3392e598c23d6348313e56', class: "sd-field__addon" }, this.icon && (h("sd-icon", { key: '147082f30f173615e9a4253e99eabae868960f6f', name: this.icon.name, size: this.icon.size ??
190
+ Number(FIELD_LABEL_SIZE_MAP[(this.size in FIELD_LABEL_SIZE_MAP ? this.size : 'sm')].icon), color: this.icon.color, rotate: this.icon.rotate })), addon)), h("slot", { key: 'a91c7c8ab0075f0cc1d2169b201bf37900872b99' })), this.errorMsg !== '' || this.errorMessage !== '' ? (h("div", { class: "sd-field__error-message" }, this.errorMsg !== '' ? this.errorMsg : this.errorMessage)) : (this.hint !== '' && h("div", { class: "sd-field__hint" }, this.hint))))));
190
191
  }
191
192
  renderLabel(label) {
192
193
  if (label == null || label === '')
@@ -1,16 +1,17 @@
1
1
  import filePickerTokens from "../../tokens/generated/component.filepicker.json";
2
+ import fieldTokens from "../../tokens/generated/component.field.json";
2
3
  const fp = filePickerTokens.filepicker;
3
4
  export const FILE_PICKER_LAYOUT = {
4
- height: fp.height,
5
- paddingX: fp.paddingX,
6
- gap: fp.gap,
7
- radius: fp.radius,
8
- borderWidth: fp.borderWidth,
9
- fontSize: fp.typography.fontSize,
10
- lineHeight: fp.typography.lineHeight,
11
- fontWeight: fp.typography.fontWeight,
12
- iconSize: fp.size.icon,
13
- contentsGap: fp.contents.gap,
5
+ height: fp.sm.height,
6
+ paddingX: fp.sm.paddingX,
7
+ gap: fp.sm.gap,
8
+ radius: fp.sm.radius,
9
+ borderWidth: fp.sm.borderWidth,
10
+ fontSize: fp.sm.typography.fontSize,
11
+ lineHeight: fp.sm.typography.lineHeight,
12
+ fontWeight: fp.sm.typography.fontWeight,
13
+ iconSize: fp.sm.icon,
14
+ contentsGap: fieldTokens.field.contents.gap,
14
15
  };
15
16
  export const FILE_PICKER_COLORS = {
16
17
  border: fp.border,
@@ -153,7 +153,7 @@ export class SdFloatingPopover {
153
153
  }
154
154
  }
155
155
  render() {
156
- return h("slot", { key: 'df97046860db0225724f9768428063a3390c5f6e' });
156
+ return h("slot", { key: '7153fca24fbba922c0dd667bc3bf2314a551f750' });
157
157
  }
158
158
  static get is() { return "sd-floating-portal"; }
159
159
  static get originalStyleUrls() {
@@ -40,4 +40,25 @@ sd-ghost-button {
40
40
  }
41
41
  .sd-ghost-button--disabled {
42
42
  cursor: not-allowed;
43
+ }
44
+
45
+ .sd-ghost-button__tooltip {
46
+ position: absolute;
47
+ left: 50%;
48
+ bottom: calc(100% + 4px);
49
+ transform: translateX(-50%) translateY(4px);
50
+ z-index: 1;
51
+ display: inline-flex;
52
+ white-space: nowrap;
53
+ opacity: 0;
54
+ visibility: hidden;
55
+ pointer-events: none;
56
+ transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
57
+ }
58
+
59
+ .sd-ghost-button--with-tooltip:hover:not(.sd-ghost-button--disabled) .sd-ghost-button__tooltip,
60
+ .sd-ghost-button--with-tooltip:focus-visible:not(.sd-ghost-button--disabled) .sd-ghost-button__tooltip {
61
+ opacity: 1;
62
+ visibility: visible;
63
+ transform: translateX(-50%) translateY(0);
43
64
  }
@@ -5,6 +5,7 @@ export class SdGhostButton {
5
5
  size = 'sm';
6
6
  intent = 'default';
7
7
  ariaLabel = '';
8
+ tooltipLabel = '';
8
9
  disabled = false;
9
10
  click;
10
11
  hasWarnedMissingAriaLabel = false;
@@ -12,6 +13,7 @@ export class SdGhostButton {
12
13
  this.size ??= 'sm';
13
14
  this.intent ??= 'default';
14
15
  this.ariaLabel ??= '';
16
+ this.tooltipLabel ??= '';
15
17
  }
16
18
  handleClick = (event) => {
17
19
  if (this.disabled) {
@@ -42,16 +44,19 @@ export class SdGhostButton {
42
44
  ? GHOST_BUTTON_DISABLED_COLORS[intent]
43
45
  : GHOST_BUTTON_CONTENT_COLORS[intent];
44
46
  const accessibleName = (this.ariaLabel ?? '').trim() || undefined;
45
- return (h("button", { key: '7bf9f8b8d487be0b66a969668308fd451faeb442', class: {
47
+ const tooltipLabel = (this.tooltipLabel ?? '').trim();
48
+ const hasTooltip = tooltipLabel.length > 0;
49
+ return (h("button", { key: 'fafdeaa60205f0190cc592ac8fdacbf140e28d6c', class: {
46
50
  'sd-ghost-button': true,
47
51
  'sd-ghost-button--disabled': this.disabled,
52
+ 'sd-ghost-button--with-tooltip': hasTooltip,
48
53
  }, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
49
54
  '--sd-ghost-button-size': `${sizeConfig.size}px`,
50
55
  '--sd-ghost-button-radius': `${GHOST_BUTTON_RADIUS[size]}px`,
51
56
  '--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[intent],
52
57
  '--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
53
58
  '--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
54
- }, onClick: this.handleClick }, h("sd-icon", { key: '4b6b05d186f8c38d2f05415fa24960349dd6c453', name: this.icon, size: sizeConfig.icon, color: contentColor })));
59
+ }, onClick: this.handleClick }, hasTooltip && (h("span", { key: '57425145ccc76a0bf960377cb13ba06e37195fa3', class: "sd-ghost-button__tooltip", "aria-hidden": "true" }, h("sd-tag", { key: '9d097c96d701431ac92aa7fb305c418bb570bc16', name: "square_xs_grey", label: tooltipLabel }))), h("sd-icon", { key: '4b186b2fd33c70f4b47a2c736a53e1ac37bc2ebc', name: this.icon, size: sizeConfig.icon, color: contentColor })));
55
60
  }
56
61
  static get is() { return "sd-ghost-button"; }
57
62
  static get originalStyleUrls() {
@@ -164,6 +169,26 @@ export class SdGhostButton {
164
169
  "attribute": "aria-label",
165
170
  "defaultValue": "''"
166
171
  },
172
+ "tooltipLabel": {
173
+ "type": "string",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "string",
177
+ "resolved": "string",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": false,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": ""
185
+ },
186
+ "getter": false,
187
+ "setter": false,
188
+ "reflect": false,
189
+ "attribute": "tooltip-label",
190
+ "defaultValue": "''"
191
+ },
167
192
  "disabled": {
168
193
  "type": "boolean",
169
194
  "mutable": false,
@@ -112,12 +112,12 @@ export class SdInput {
112
112
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
113
113
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
114
114
  };
115
- return (h("sd-field", { key: '184bd0b614071b1c26d0ef3588db8eea1ac519cb', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: '599d757b62bd61be0ba5c2dde2e1030b4d6f2973', class: "sd-input__content" }, h("slot", { key: '8b71b1449225e51cbab4204e34c077d83101e09e', name: "prefix" }), h("input", { key: 'ed48cf8544adc9e3475229b03129ace0af0e6d4e', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: 'f084df7c3174756111c6eeb824202e26273d369a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: '62f87c780b971ef43ec9bd15ae47d1f773ec18ca', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
115
+ return (h("sd-field", { key: 'fce402fae267b5700501e44935f23bebc28efb62', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: 'f7d8f95cf5ee38a7aa2e44940ba39b9eb001064c', class: "sd-input__content" }, h("slot", { key: '23f1f770a268a0798293420ce0df9e5cc94e07b2', name: "prefix" }), h("input", { key: 'b8c041cc4a8761cf1cf93a8d1af139cd7720d2d8', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '5a288d50726b21c156da480937b9759e6c76d33a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: 'b5315624a6fd5fdcb70526b1abea4fbac83641c1', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
116
116
  if (this.disabled || this.readonly)
117
117
  return;
118
118
  this.internalValue = '';
119
119
  await this.formField?.sdValidate();
120
- } })), this.type === 'password' && (h("sd-ghost-button", { key: '83f511acdc0db74f6d7745e4a47c731f9bcf9bb5', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
120
+ } })), this.type === 'password' && (h("sd-ghost-button", { key: '5ae70d65c531db0bc57d17f85c328a275f7aab2b', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
121
121
  if (this.disabled || this.readonly)
122
122
  return;
123
123
  this.passwordVisible = !this.passwordVisible;
@@ -28,7 +28,7 @@ export class SdLinearProgress {
28
28
  clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
29
29
  };
30
30
  const valueText = `${Math.round(this.clampedValue)}%`;
31
- return (h(Host, { key: '41d89c01b35a6edba09a3ef9f848458d284d491a', style: hostStyle }, h("div", { key: '79d7490c934437aa0075e39aea0f352dec61eae0', class: 'sd-linear-progress__track' }, h("div", { key: 'd6743f9b4f5a086e11a368989fd0f52a10bdc2ef', class: 'sd-linear-progress__fill', style: fillStyle }), !this.indeterminate && (h("span", { key: '2d013c7cdf438e069d00c6fcddfca12ff55490e6', class: 'sd-linear-progress__value sd-linear-progress__value--on-track' }, valueText)), !this.indeterminate && (h("span", { key: '4f473a670cab7b0d104f9c455c28e415d5863a86', class: 'sd-linear-progress__value sd-linear-progress__value--on-fill', style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '6581d326a1d05413587b44715613a4d878e4f658', class: 'sd-linear-progress__label' }, this.label)));
31
+ return (h(Host, { key: '49452751b0aaf5e6b49d809272620cf4b198ecc1', style: hostStyle }, h("div", { key: 'aec62dae8fa8d4a9d6e64e305fadc63836a1fef6', class: 'sd-linear-progress__track' }, h("div", { key: '0f7cce4cf0ebe6ce40cc127ab8b91fdaf88440cc', class: 'sd-linear-progress__fill', style: fillStyle }), !this.indeterminate && (h("span", { key: 'af2f415ba6cc27c209eed2ff38b02ce58f81a861', class: 'sd-linear-progress__value sd-linear-progress__value--on-track' }, valueText)), !this.indeterminate && (h("span", { key: '2c21c62faf93ee809ae6fa098f7bf88e20447ca8', class: 'sd-linear-progress__value sd-linear-progress__value--on-fill', style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '571c78db5fc8d7a6e4db2ed78e8c75c8be953e2f', class: 'sd-linear-progress__label' }, this.label)));
32
32
  }
33
33
  static get is() { return "sd-linear-progress"; }
34
34
  static get originalStyleUrls() {
@@ -10,10 +10,10 @@ export class SdLoadingContainer {
10
10
  this.visible = false;
11
11
  }
12
12
  render() {
13
- return (h("div", { key: '99c6d9e798862f41142f246f371a357cd604aa44', class: {
13
+ return (h("div", { key: '314f23e9da2ec850d62b4d4e347055669841c1fe', class: {
14
14
  'sd-loading-container': true,
15
15
  'sd-loading-container--visible': this.visible,
16
- }, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: 'b836c7d283113e57d0947a178035591521dc8ee2', class: "sd-loading-container__backdrop" }), h("div", { key: '02f1ae9b17eedb29f24d0170c65ef4217f38a5b5', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '3d9c1b33693e823c4c55967d00a63eff8a2a805e', indeterminate: true, type: "inverse" }), this.message && (h("p", { key: '46c060f444506a9771507b09fd0867f763a95680', class: "sd-loading-container__message" }, this.message)))));
16
+ }, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '541eb68218969c73e52bc8cbdb79171ee0ba908e', class: "sd-loading-container__backdrop" }), h("div", { key: '95192e0c936419248c46a57acb4c5ab63465a2f5', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '5584a90aa595d3eaffc3597604a9dc359b22bcaf', indeterminate: true, type: "inverse" }), this.message && (h("p", { key: 'e9dc0afbe43a318d7e776dd2f0bafa68ebe8536e', class: "sd-loading-container__message" }, this.message)))));
17
17
  }
18
18
  static get is() { return "sd-loading-container"; }
19
19
  static get originalStyleUrls() {
@@ -46,7 +46,7 @@ export class SdLoadingModal {
46
46
  '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
47
47
  '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
48
48
  };
49
- return (h(Host, { key: 'e1161a16a56cddedc8e4bb76370bdf456d90e15a', style: hostStyle }, h("div", { key: 'e01979e4636465afa4b960ffdb9722f645386dca', class: "sd-loading-modal" }, h("div", { key: '1c1ecc05d20f58084c0d6f8048b17cd84f446edb', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (h("sd-circle-progress", { indeterminate: true }))) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("div", { key: '6793b86562b67699c59fd83fb0d6ee7378f6d991', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (h("div", { key: '75036f7d88be636987de2fe999c00d338fa352d5', class: "sd-loading-modal__button" }, h("sd-button", { key: '91f30470702df2be7256d451cc80d27e86510d2e', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
49
+ return (h(Host, { key: '17636253239532d90e596f20d84795fe2e65508d', style: hostStyle }, h("div", { key: '2f925afceca4102049d7876ab4d1e33fa1ef5ef7', class: "sd-loading-modal" }, h("div", { key: '0598cff340210ca9ec5e28fb1992cbbc1b8e5a06', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (h("sd-circle-progress", { indeterminate: true }))) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("div", { key: '3d699238c19ee66fd3afc72194133a865501cc08', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (h("div", { key: 'd454a168360cd23a3e71482d67ee81d8eabdec58', class: "sd-loading-modal__button" }, h("sd-button", { key: '0aa26dc830d1c4827f2ee0ca0bfdf4bb8cd2c9f5', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
50
50
  }
51
51
  static get is() { return "sd-loading-modal"; }
52
52
  static get originalStyleUrls() {
@@ -1,4 +1,5 @@
1
1
  import numberInputTokens from "../../tokens/generated/component.numberInput.json";
2
+ import fieldTokens from "../../tokens/generated/component.field.json";
2
3
  const sm = numberInputTokens.numberInput.sm;
3
4
  const md = numberInputTokens.numberInput.md;
4
5
  export const NUMBER_INPUT_SIZE_MAP = {
@@ -31,7 +32,7 @@ export const NUMBER_INPUT_STEPPER = {
31
32
  bg: numberInputTokens.numberInput.stepper.bg,
32
33
  icon: numberInputTokens.numberInput.stepper.icon,
33
34
  };
34
- export const NUMBER_INPUT_HINT = numberInputTokens.numberInput.hint;
35
- export const NUMBER_INPUT_ERROR_MESSAGE = numberInputTokens.numberInput.errorMessage;
36
- export const NUMBER_INPUT_CONTENTS_GAP = numberInputTokens.numberInput.contents.gap;
35
+ export const NUMBER_INPUT_HINT = fieldTokens.field.hint;
36
+ export const NUMBER_INPUT_ERROR_MESSAGE = fieldTokens.field.errorMessage;
37
+ export const NUMBER_INPUT_CONTENTS_GAP = fieldTokens.field.contents.gap;
37
38
  export const NUMBER_INPUT_BORDER_WIDTH = numberInputTokens.numberInput.borderWidth;
@@ -275,15 +275,15 @@ export class SdNumberInput {
275
275
  '--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
276
276
  '--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
277
277
  };
278
- return (h("sd-field", { key: '36525cd069e57fc9177e25065381f722d1afa66e', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '47e0981ffcd5dd5182fa5586fda0014be865da9e', class: {
278
+ return (h("sd-field", { key: '53c6935bbf98ed1eb0f28d6bed675ea369b0b2bc', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '8f0da8b179cd3946d625ab6b525a2ffd614a5333', class: {
279
279
  'sd-number-input__content': true,
280
280
  'sd-number-input__content--no-stepper': !this.useButton,
281
- } }, this.useButton && (h("button", { key: '7f5afc1ded2c889ccf7d689f4ee058cb171571d9', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'fd980fd4e568feaaebb19621ca837201bea519dd', name: "minus", size: iconSize, color: this.isDecrementDisabled()
281
+ } }, this.useButton && (h("button", { key: '1be42c16d5e671c567d4768f505c2c17c50f1b60', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'dc074328208c8da2ee43ea2cb03dbc838b7d46c9', name: "minus", size: iconSize, color: this.isDecrementDisabled()
282
282
  ? NUMBER_INPUT_STEPPER.icon.disabled
283
- : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '2af6450d437cc765697e0bb4c8a0fcb58a9abd2f', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '21396363bd0e08f1639cd5a56b0bb7d5c9acd6c1', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
283
+ : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '84896d40d79e936480052ab45d618cd73550ee87', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: 'f2c8995b6c059c2a4130018b2ff0c7eabcd7abfb', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
284
284
  textAlign: this.useButton ? 'center' : 'right',
285
285
  ...this.inputStyle,
286
- } }), this.inputSuffix && h("span", { key: 'd3cd84cd41e0161cfe0b13ed44b412991e498a92', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '0a1fdf262b953ce79515ab9771d3177560e11eed', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '5ffd93512d528309a9051d01f59bb31f1b1f9bb8', name: "add", size: iconSize, color: this.isIncrementDisabled()
286
+ } }), this.inputSuffix && h("span", { key: 'd6b1ca9f5991f1b2382dd4a35ae4f20832192e3c', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '56a59f94ca27e8ef4255cabdd5fe003c602bb8d6', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '1b8fca91e893b5ade47ed63db4d4d54933c94e53', name: "add", size: iconSize, color: this.isIncrementDisabled()
287
287
  ? NUMBER_INPUT_STEPPER.icon.disabled
288
288
  : NUMBER_INPUT_STEPPER.icon.default }))))));
289
289
  }
@@ -83,13 +83,13 @@ export class SdPagination {
83
83
  '--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
84
84
  '--sd-pagination-item-width': `${this.buttonWidth}px`,
85
85
  };
86
- return (h("div", { key: '36a334a05ade253a6345e82d57647a4bab0c94cf', class: {
86
+ return (h("div", { key: 'abfac6b075ce59ac37f747bf15729bf3879b1749', class: {
87
87
  'sd-pagination': true,
88
88
  'sd-pagination--simple': this.simple,
89
- }, style: cssVars }, h("div", { key: '50963e0cdf4da3078020207c0115ccebfe1881d6', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "sd-pagination__info" }, h("span", { class: "sd-pagination__current" }, this.currentPage), h("span", { class: "sd-pagination__divider" }, "/"), h("span", { class: "sd-pagination__last" }, this.lastPage))) : (h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
89
+ }, style: cssVars }, h("div", { key: '6c8a3eb2ad708649054068a671cf156fe154fae3', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (h("div", { class: "sd-pagination__info" }, h("span", { class: "sd-pagination__current" }, this.currentPage), h("span", { class: "sd-pagination__divider" }, "/"), h("span", { class: "sd-pagination__last" }, this.lastPage))) : (h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
90
90
  'sd-pagination__item': true,
91
91
  'sd-pagination__item--selected': this.currentPage === n,
92
- }, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'a0d0b565cd2b5108c997888b2536ee740b167367', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
92
+ }, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'f0013d0057e6addb6a7fae39ebddd2c4f7af5bd0', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
93
93
  }
94
94
  static get is() { return "sd-pagination"; }
95
95
  static get originalStyleUrls() {
@@ -53,17 +53,17 @@ export class SdPopover {
53
53
  const leftLink = this.leftLink;
54
54
  const button = this.button;
55
55
  const hasFooter = !!leftLink || !!button;
56
- return (h(Fragment, { key: 'f0b7cc015ab688e21d6df2a797c3964808965934' }, this.label !== '' ? (h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel || this.label || icon || 'Open popover', disabled: this.disabled, type: this.type ?? 'button', class: "sd-popover", onSdClick: () => this.setShow(!this.show) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: iconSize, color: color, class: "sd-popover", onClick: () => this.setShow(!this.show) })), this.show && (h("sd-floating-portal", { key: '3b8ad8010a7d74fb519f0ad9ff504c0c0fa32941', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '8fba73c8cf2718258a176dac2033fb3b33a8a618', class: {
56
+ return (h(Fragment, { key: '649e07ee45d3e7e5f72a438ef2939bfe6d3c56e4' }, this.label !== '' ? (h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel || this.label || icon || 'Open popover', disabled: this.disabled, type: this.type ?? 'button', class: "sd-popover", onSdClick: () => this.setShow(!this.show) })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: iconSize, color: color, class: "sd-popover", onClick: () => this.setShow(!this.show) })), this.show && (h("sd-floating-portal", { key: '486d1859387b0c8cc82646ab5e7b6800792ca2be', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '4418e064c76478a5b4dfd2fb69d11e1603a22530', class: {
57
57
  'sd-floating-menu': true,
58
58
  'sd-floating-menu--popover': true,
59
59
  [`sd-floating-menu--${placement}`]: true,
60
60
  [menuClass]: menuClass !== '',
61
61
  }, style: {
62
- '--sd-floating-bg': popoverTokens.popover.bg,
63
- } }, h("i", { key: '1cef252c66b1c350ea43849e552faced5a53fec0', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: '755246fe5fbf9b203509f8d45d2bcbeead0c02c6' })), h("div", { key: 'cbefa421598f83f692533d4abf8cfc584b4e02e1', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '0f1dfbaf65236416ba00e5f87cb60e2e98971995', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (h("div", { key: '38ef67a38921e3fbd1e8bee95892655fc57d124c', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (h("div", { key: '6b3f297563e3b7aa17ace0e20c4423d09b528b32', class: {
62
+ '--sd-floating-bg': popoverTokens.popover.default.bg,
63
+ } }, h("i", { key: 'a181ce40ae957e77be7c8f9b10e6f1fe8190cd52', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: '323bca17c3c245063cbd1ac55ed64bf6f6df9e3e' })), h("div", { key: '06e98cf6e888dc66a6a700710669c61ac9d9c494', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '831ca9893ccafcad8e0858fb28269428ebac6a07', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (h("div", { key: 'cdd2eafe18d5b0b44f10dbebbb68ed9d010173b1', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (h("div", { key: '8149044a08de968ef38f432ee3303d969b49eace', class: {
64
64
  'sd-floating-menu__buttons': true,
65
65
  'sd-floating-menu__buttons--with-link': !!leftLink,
66
- } }, leftLink && (h("sd-text-link", { key: '6ff83b0aefa24ac3bbae7f1399fdaaa1028b4e75', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', useArrow: !!leftLink.useArrow, underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (h("sd-button", { key: 'b8b75cd68c55b16b5eb0e4635c16b784381ced78', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel || button.label || button.icon || 'Open popover', disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), h("sd-ghost-button", { key: '246ab053d1109d7b999e63c3aa5a1048d6096583', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
66
+ } }, leftLink && (h("sd-text-link", { key: '4c7e9c2b4fe8664b3af375a3c89b1cd50d64a9c3', class: "sd-floating-menu__left-link", label: leftLink.label, icon: leftLink.icon ?? '', iconColor: leftLink.iconColor ?? '', rightArrow: leftLink.rightArrow ?? 'none', underline: !!leftLink.underline, disabled: !!leftLink.disabled, onSdClick: leftLink.onClick })), button && (h("sd-button", { key: '730d867339257f168c11d7d1417c9d28a408f462', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel || button.label || button.icon || 'Open popover', disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), h("sd-ghost-button", { key: '7a1f2edf0a601c0dfa91b4a02405c815d3257214', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
67
67
  }
68
68
  static get is() { return "sd-popover"; }
69
69
  static get originalStyleUrls() {
@@ -345,7 +345,7 @@ export class SdPopover {
345
345
  "mutable": false,
346
346
  "complexType": {
347
347
  "original": "PopoverLink",
348
- "resolved": "(Partial<Pick<SdTextLink, \"disabled\" | \"underline\" | \"icon\" | \"iconColor\" | \"useArrow\">> & { label: string; onClick?: ((e: Event) => void) | undefined; }) | undefined",
348
+ "resolved": "(Partial<Pick<SdTextLink, \"disabled\" | \"underline\" | \"icon\" | \"iconColor\" | \"rightArrow\">> & { label: string; onClick?: ((e: Event) => void) | undefined; }) | undefined",
349
349
  "references": {
350
350
  "PopoverLink": {
351
351
  "location": "local",
@@ -36,7 +36,7 @@ export class SdPopup {
36
36
  ...DEFAULT_SUBMIT_BUTTON_PROPS,
37
37
  ...this.submitButtonProps,
38
38
  };
39
- return (h("div", { key: '77379698e76b000368df2d2b7345010cde3df7ba', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: 'e00d2292b718bfd21e491a09e5ea8c18fbb1a2c8', class: "sd-popup__header" }, h("h2", { key: 'b8bac8f58f7f916a3b6fe40a66d21318da45d4d3', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: '56e5b653539752b9fd0fa4694f7342914cd7abc6', class: "sd-popup__body" }, h("slot", { key: '183fafa8179a3350817ec6e3dea12281860f7639' })), this.useFooter && (h("footer", { key: 'd1b7fe2d67e5f3ad3b3f8e20408271fdaab86d93', class: "sd-popup__footer" }, h("div", { key: '7cc5d0bd9d314942d8d5f982f1f459c56fde4bc0', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: 'ffb52c9d679e4ddf9e50e012f8a9aa02b0cb1f95', name: "footer-left" })), h("sd-button", { key: '3ab8061bf4119a9351921a41c3d9cb942c00b5d1', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
39
+ return (h("div", { key: 'ea933af50e1ad1a29cf8d73ce70222e2f44c0bb5', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: '50f1773d911175182888a98a0759b8d3d8829d2f', class: "sd-popup__header" }, h("h2", { key: '4e21a73a6e26388c6b1c814a91ee8a79bf57c576', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'dd6ace33c6d8b3e20c0c85c95580efbf8ad6747c', class: "sd-popup__body" }, h("slot", { key: 'e40fbea5b93016131df544f32b74676d2892204e' })), this.useFooter && (h("footer", { key: '96b27f465a804859a15e9105fcd64c7205bc2143', class: "sd-popup__footer" }, h("div", { key: '6715ba330610850ea235ddde5f2da00584204286', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '092aca3ad212b7218ce4ba247b78b7b45d9e4299', name: "footer-left" })), h("sd-button", { key: '290cd49879cc4868be69ceb60567eab57b5f26fe', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
40
40
  }
41
41
  static get is() { return "sd-popup"; }
42
42
  static get originalStyleUrls() {
@@ -220,7 +220,7 @@ export class SdPortal {
220
220
  this.close.emit();
221
221
  }
222
222
  render() {
223
- return h("slot", { key: '87fb9bf3f15d09321c6c02a1f7b4ed9084516a04' });
223
+ return h("slot", { key: 'f7b160cb574608fa16f6edd27d259b85787e6144' });
224
224
  }
225
225
  static get is() { return "sd-portal"; }
226
226
  static get properties() {
@@ -1,5 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
- import { LIST_ITEM_LAYOUT, LIST_ITEM_TYPOGRAPHY, LIST_ITEM_COLORS, } from "../sd-select.config";
2
+ import { LIST_ITEM_LAYOUT, LIST_ITEM_TYPOGRAPHY, LIST_ITEM_COLORS, isHtmlLabel, } from "../sd-select.config";
3
+ import { sanitizeInlineHtml } from "../../../utils/html/sanitize-inline-html";
3
4
  export class SdSelectListItem {
4
5
  option;
5
6
  depth = 1;
@@ -70,7 +71,7 @@ export class SdSelectListItem {
70
71
  return (
71
72
  // 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
72
73
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
73
- h("div", { key: '33f5d4383d2bfac91507d72d98b8a73b380a70e8', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
74
+ h("div", { key: '55ebe094653cb89d5c70916c3e0a2f4ccb5551f8', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
74
75
  'sd-select-list-item': true,
75
76
  'sd-select-list-item--group': isGroup,
76
77
  'sd-select-list-item--depth1-group': isDepth1Group,
@@ -80,7 +81,7 @@ export class SdSelectListItem {
80
81
  'sd-select-list-item--focused': this.isFocused,
81
82
  'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
82
83
  'sd-select-list-item--disabled': !!this.option.disabled,
83
- }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'a93dec7a45e140d7f715a6fc823c4438c58cdd8f', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), h("span", { key: '81b0bfdd0825b795f2638d6529e8c5fb346be6db', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '2e1425a5d6ab9082a30b4d9079be1d4104d95fc2', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
84
+ }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'f636931bc20264db98e521b11b819610cda764cd', value: this.isSelected === null ? null : !!this.isSelected, disabled: this.option.disabled, inverse: this.isFocused && this.isSelected !== false, class: "sd-select-list-item__checkbox", onClick: this.handleCheckboxClick, onSdUpdate: this.handleCheckboxUpdate })), isHtmlLabel(this.option.label) ? (h("span", { class: "sd-select-list-item__label", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.option.label)) })) : (h("span", { class: "sd-select-list-item__label" }, this.option.label)), this.countInfo && (h("span", { key: '89750bc08c03915b738da390f4255e7451aa9d6d', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
84
85
  }
85
86
  static get is() { return "sd-select-list-item"; }
86
87
  static get originalStyleUrls() {