@sellmate/design-system 1.27.1 → 1.28.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 (317) hide show
  1. package/dist/cjs/component.listBox-MHAv4Yy7.js +15 -0
  2. package/dist/cjs/{component.listItem-Bnh0r_CA.js → component.listItem-cAO_ppOz.js} +0 -7
  3. package/dist/cjs/{component.table-BrI3b--h.js → component.table-POXY492T.js} +5 -4
  4. package/dist/cjs/design-system.cjs.js +2 -2
  5. package/dist/cjs/{index-DsYLSqCp.js → index-D12oddge.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 +1 -1
  9. package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
  10. package/dist/cjs/sd-button_2.cjs.entry.js +1 -1
  11. package/dist/cjs/sd-calendar_2.cjs.entry.js +1 -1
  12. package/dist/cjs/sd-callout.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-card.cjs.entry.js +1 -1
  14. package/dist/cjs/sd-checkbox.cjs.entry.js +2 -3
  15. package/dist/cjs/sd-chip-input.cjs.entry.js +4 -3
  16. package/dist/cjs/sd-chip.cjs.entry.js +1 -1
  17. package/dist/cjs/sd-circle-progress.cjs.entry.js +5 -3
  18. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +6 -3
  19. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-date-picker_7.cjs.entry.js +68 -15
  21. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
  22. package/dist/cjs/sd-divider.cjs.entry.js +1 -1
  23. package/dist/cjs/sd-dropdown-button.cjs.entry.js +1 -1
  24. package/dist/cjs/sd-field_3.cjs.entry.js +6 -6
  25. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  26. package/dist/cjs/sd-ghost-button_3.cjs.entry.js +2 -3
  27. package/dist/cjs/sd-guide.cjs.entry.js +4 -9
  28. package/dist/cjs/sd-key-value-table.cjs.entry.js +2 -2
  29. package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
  30. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  31. package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
  32. package/dist/cjs/sd-pagination_4.cjs.entry.js +14 -12
  33. package/dist/cjs/sd-popover.cjs.entry.js +2 -2
  34. package/dist/cjs/sd-popup.cjs.entry.js +2 -2
  35. package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
  36. package/dist/cjs/sd-radio.cjs.entry.js +2 -3
  37. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +10 -9
  38. package/dist/cjs/{sd-select.config-C9Ohe1QA.js → sd-select.config-omyxekRa.js} +3 -2
  39. package/dist/cjs/sd-select_3.cjs.entry.js +12 -11
  40. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  41. package/dist/cjs/sd-table.cjs.entry.js +9 -9
  42. package/dist/cjs/{sd-table.config-DzC55sap.js → sd-table.config-DFy_S4bc.js} +5 -4
  43. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  44. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  45. package/dist/cjs/sd-text-link.cjs.entry.js +1 -1
  46. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  47. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  48. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  49. package/dist/cjs/{tooltipArrow-FLiD3ceS.js → tooltipArrow-Dda4ik0V.js} +1 -1
  50. package/dist/collection/components/sd-circle-progress/sd-circle-progress.css +12 -0
  51. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +23 -1
  52. package/dist/collection/components/sd-file-picker/sd-file-picker.config.js +9 -0
  53. package/dist/collection/components/sd-file-picker/sd-file-picker.css +18 -0
  54. package/dist/collection/components/sd-file-picker/sd-file-picker.js +73 -7
  55. package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -1
  56. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  57. package/dist/collection/components/sd-guide/sd-guide.config.js +0 -1
  58. package/dist/collection/components/sd-guide/sd-guide.css +0 -3
  59. package/dist/collection/components/sd-guide/sd-guide.js +2 -3
  60. package/dist/collection/components/sd-input/sd-input.js +2 -2
  61. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  62. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  63. package/dist/collection/components/sd-loading-modal/sd-loading-modal.css +7 -0
  64. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +18 -1
  65. package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
  66. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  67. package/dist/collection/components/sd-popup/sd-popup.js +1 -1
  68. package/dist/collection/components/sd-radio-group/sd-radio-group.css +2 -2
  69. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
  70. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  71. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
  72. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
  73. package/dist/collection/components/sd-select/sd-select.js +4 -4
  74. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  75. package/dist/collection/components/sd-table/sd-table.config.js +4 -3
  76. package/dist/collection/components/sd-table/sd-table.js +6 -6
  77. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  78. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  79. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  80. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +3 -1
  81. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  82. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  83. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  84. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  85. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  86. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  87. package/dist/components/index.js +1 -1
  88. package/dist/components/{p-BaRjXqSM.js → p-1i6Q61TF.js} +1 -1
  89. package/dist/components/p-4S0_Ykmo.js +1 -0
  90. package/dist/components/p-5pkzwl5N.js +1 -0
  91. package/dist/components/{p-BxphFsxh.js → p-B-pJW3nY.js} +1 -1
  92. package/dist/components/{p-CIPPETF-.js → p-B2pYDEK7.js} +1 -1
  93. package/dist/components/{p-DTb2c83G.js → p-B3HYnTGx.js} +1 -1
  94. package/dist/components/{p-BHNytAtJ.js → p-B6ezDhRg.js} +1 -1
  95. package/dist/components/{p-DsQQFJ8o.js → p-BAVsc1Ml.js} +1 -1
  96. package/dist/components/{p-PvltLPHp.js → p-BCxePXvg.js} +1 -1
  97. package/dist/components/{p-BV4cnHWn.js → p-BE6ymp9E.js} +1 -1
  98. package/dist/components/{p-BU1H7ElF.js → p-BKV1WAFb.js} +1 -1
  99. package/dist/components/{p-Bk6aI8rL.js → p-BNHhtZUf.js} +1 -1
  100. package/dist/components/{p-DVq9oE_p.js → p-BQ4Okfcm.js} +1 -1
  101. package/dist/components/{p-CmK45nj3.js → p-BSxleKw8.js} +1 -1
  102. package/dist/components/{p-CJcs7kNH.js → p-BUgGuigd.js} +1 -1
  103. package/dist/components/{p-BOJALVxB.js → p-BWHQn4fD.js} +1 -1
  104. package/dist/components/{p-BQqXWtI6.js → p-BZXgIBUG.js} +1 -1
  105. package/dist/components/p-Bgxca9o5.js +1 -0
  106. package/dist/components/{p-DT-e9J59.js → p-BnI9HUOv.js} +1 -1
  107. package/dist/components/{p-Du_Yc-lW.js → p-BuADVB78.js} +1 -1
  108. package/dist/components/{p-BFy8txYj.js → p-Bxb7TcZh.js} +1 -1
  109. package/dist/components/p-C0tnN4yn.js +1 -0
  110. package/dist/components/{p-DnxEeX9I.js → p-CHHlQceE.js} +1 -1
  111. package/dist/components/{p--AZbwi7P.js → p-CMvHDxR5.js} +1 -1
  112. package/dist/components/{p-DkaajrxX.js → p-CSh-DcM7.js} +1 -1
  113. package/dist/components/{p-DMrzTImA.js → p-CTDPl65u.js} +1 -1
  114. package/dist/components/p-Cf62Nvrx.js +1 -0
  115. package/dist/components/{p-SROa9QCy.js → p-ClD0nx1l.js} +1 -1
  116. package/dist/components/{p-Cok_EW_N.js → p-DNbbdJIc.js} +1 -1
  117. package/dist/components/p-DbPS61bp.js +1 -0
  118. package/dist/components/p-DckXBMgo.js +1 -0
  119. package/dist/components/p-DlJaYVWf.js +1 -0
  120. package/dist/components/p-DmAnTwUx.js +1 -0
  121. package/dist/components/{p-hP1aeMuZ.js → p-E8OA_psS.js} +1 -1
  122. package/dist/components/{p-D7XGOtx0.js → p-IDlLs_KA.js} +1 -1
  123. package/dist/components/p-PFLrdhQj.js +1 -0
  124. package/dist/components/{p-CvSPsoRb.js → p-l9RiSWRc.js} +1 -1
  125. package/dist/components/{p-CwwJD-NF.js → p-paSLRXAR.js} +1 -1
  126. package/dist/components/{p-Dy6LmOzw.js → p-pwGA4sDj.js} +1 -1
  127. package/dist/components/{p-DYp8I4VH.js → p-vtuEYpc6.js} +1 -1
  128. package/dist/components/p-x9AWBHPy.js +1 -0
  129. package/dist/components/{p-DeXLIS7e.js → p-yxZBh03f.js} +1 -1
  130. package/dist/components/sd-action-modal.js +1 -1
  131. package/dist/components/sd-badge.js +1 -1
  132. package/dist/components/sd-barcode-input.js +1 -1
  133. package/dist/components/sd-button.js +1 -1
  134. package/dist/components/sd-calendar.js +1 -1
  135. package/dist/components/sd-callout.js +1 -1
  136. package/dist/components/sd-card.js +1 -1
  137. package/dist/components/sd-checkbox.js +1 -1
  138. package/dist/components/sd-chip-input.js +1 -1
  139. package/dist/components/sd-chip.js +1 -1
  140. package/dist/components/sd-circle-progress.js +1 -1
  141. package/dist/components/sd-confirm-modal.js +1 -1
  142. package/dist/components/sd-date-box.js +1 -1
  143. package/dist/components/sd-date-picker-trigger.js +1 -1
  144. package/dist/components/sd-date-picker.js +1 -1
  145. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  146. package/dist/components/sd-date-range-picker.js +1 -1
  147. package/dist/components/sd-divider.js +1 -1
  148. package/dist/components/sd-dropdown-button.js +1 -1
  149. package/dist/components/sd-field.js +1 -1
  150. package/dist/components/sd-file-picker.js +1 -1
  151. package/dist/components/sd-floating-portal.js +1 -1
  152. package/dist/components/sd-form.js +1 -1
  153. package/dist/components/sd-ghost-button.js +1 -1
  154. package/dist/components/sd-guide.js +1 -1
  155. package/dist/components/sd-icon.js +1 -1
  156. package/dist/components/sd-input.js +1 -1
  157. package/dist/components/sd-key-value-table.js +1 -1
  158. package/dist/components/sd-linear-progress.js +1 -1
  159. package/dist/components/sd-loading-container.js +1 -1
  160. package/dist/components/sd-loading-modal.js +1 -1
  161. package/dist/components/sd-modal-container.js +1 -1
  162. package/dist/components/sd-number-input.js +1 -1
  163. package/dist/components/sd-pagination.js +1 -1
  164. package/dist/components/sd-popover.js +1 -1
  165. package/dist/components/sd-popup.js +1 -1
  166. package/dist/components/sd-portal.js +1 -1
  167. package/dist/components/sd-radio-button.js +1 -1
  168. package/dist/components/sd-radio-group.js +1 -1
  169. package/dist/components/sd-radio.js +1 -1
  170. package/dist/components/sd-select-list-item-search.js +1 -1
  171. package/dist/components/sd-select-list-item.js +1 -1
  172. package/dist/components/sd-select-listbox.js +1 -1
  173. package/dist/components/sd-select-trigger.js +1 -1
  174. package/dist/components/sd-select.js +1 -1
  175. package/dist/components/sd-switch.js +1 -1
  176. package/dist/components/sd-table.js +1 -1
  177. package/dist/components/sd-tabs.js +1 -1
  178. package/dist/components/sd-tag.js +1 -1
  179. package/dist/components/sd-tbody.js +1 -1
  180. package/dist/components/sd-td.js +1 -1
  181. package/dist/components/sd-text-link.js +1 -1
  182. package/dist/components/sd-textarea.js +1 -1
  183. package/dist/components/sd-thead.js +1 -1
  184. package/dist/components/sd-toast-container.js +1 -1
  185. package/dist/components/sd-toast.js +1 -1
  186. package/dist/components/sd-toggle.js +1 -1
  187. package/dist/components/sd-tooltip.js +1 -1
  188. package/dist/components/sd-tr.js +1 -1
  189. package/dist/design-system/design-system.css +1 -1
  190. package/dist/design-system/design-system.esm.js +1 -1
  191. package/dist/design-system/p-0048de73.entry.js +1 -0
  192. package/dist/design-system/{p-9603971e.entry.js → p-071e73e0.entry.js} +1 -1
  193. package/dist/design-system/{p-7540f591.entry.js → p-0b8c86c3.entry.js} +1 -1
  194. package/dist/design-system/{p-07755193.entry.js → p-1230b51b.entry.js} +1 -1
  195. package/dist/design-system/p-20f69606.entry.js +1 -0
  196. package/dist/design-system/{p-947dcc28.entry.js → p-2553bb1f.entry.js} +1 -1
  197. package/dist/design-system/{p-b86a69ce.entry.js → p-26f2f4c2.entry.js} +1 -1
  198. package/dist/design-system/{p-edfb5c83.entry.js → p-27197194.entry.js} +1 -1
  199. package/dist/design-system/{p-8ac340db.entry.js → p-287d8016.entry.js} +1 -1
  200. package/dist/design-system/p-3b3a46cd.entry.js +1 -0
  201. package/dist/design-system/{p-a4e1dd8c.entry.js → p-4970f1ff.entry.js} +1 -1
  202. package/dist/design-system/p-4S0_Ykmo.js +1 -0
  203. package/dist/design-system/{p-5aa5aec3.entry.js → p-5687ed0c.entry.js} +1 -1
  204. package/dist/design-system/{p-06b56059.entry.js → p-58ec51db.entry.js} +1 -1
  205. package/dist/design-system/{p-d790fbb8.entry.js → p-5c8f4d9c.entry.js} +1 -1
  206. package/dist/design-system/p-5pkzwl5N.js +1 -0
  207. package/dist/design-system/{p-dfa16f49.entry.js → p-61f5d5ea.entry.js} +1 -1
  208. package/dist/design-system/{p-55c8ce37.entry.js → p-67f19734.entry.js} +1 -1
  209. package/dist/design-system/{p-5142cd06.entry.js → p-70608fec.entry.js} +1 -1
  210. package/dist/design-system/{p-26297c6e.entry.js → p-750a9112.entry.js} +1 -1
  211. package/dist/design-system/{p-cb0cbcb0.entry.js → p-75726e20.entry.js} +1 -1
  212. package/dist/design-system/{p-9825e76c.entry.js → p-7abf62f3.entry.js} +1 -1
  213. package/dist/design-system/{p-5f5f2fbe.entry.js → p-7ae27a26.entry.js} +1 -1
  214. package/dist/design-system/p-84d0181b.entry.js +1 -0
  215. package/dist/design-system/{p-49b1636a.entry.js → p-91f7be74.entry.js} +1 -1
  216. package/dist/design-system/p-94d6b7b4.entry.js +1 -0
  217. package/dist/design-system/{p-80abdfe7.entry.js → p-9b21773a.entry.js} +1 -1
  218. package/dist/design-system/{p-dae6914d.entry.js → p-9c0bca09.entry.js} +1 -1
  219. package/dist/design-system/{p-B-LOf2aM.js → p-CRWmn35N.js} +1 -1
  220. package/dist/design-system/p-Cf62Nvrx.js +1 -0
  221. package/dist/design-system/p-CuAh9n2o.js +1 -0
  222. package/dist/design-system/p-DDNBPrZh.js +2 -0
  223. package/dist/design-system/p-DlJaYVWf.js +1 -0
  224. package/dist/design-system/{p-6aec5853.entry.js → p-a12d7362.entry.js} +1 -1
  225. package/dist/design-system/{p-459a408f.entry.js → p-a938ffee.entry.js} +1 -1
  226. package/dist/design-system/{p-270c8529.entry.js → p-b831eded.entry.js} +1 -1
  227. package/dist/design-system/{p-e63bf0e1.entry.js → p-bab692c6.entry.js} +1 -1
  228. package/dist/design-system/{p-8c1a9374.entry.js → p-bbd24816.entry.js} +1 -1
  229. package/dist/design-system/{p-b9387621.entry.js → p-c5502585.entry.js} +1 -1
  230. package/dist/design-system/p-c81898a0.entry.js +1 -0
  231. package/dist/design-system/{p-9c0d3011.entry.js → p-d4e2f412.entry.js} +1 -1
  232. package/dist/design-system/{p-839e6b5a.entry.js → p-d6b3d78b.entry.js} +1 -1
  233. package/dist/design-system/{p-761c008c.entry.js → p-d7e302af.entry.js} +1 -1
  234. package/dist/design-system/{p-ff9ccbf6.entry.js → p-dbfa3931.entry.js} +1 -1
  235. package/dist/design-system/{p-fd671afe.entry.js → p-f16985c9.entry.js} +1 -1
  236. package/dist/design-system/{p-5f1dae23.entry.js → p-fa967329.entry.js} +1 -1
  237. package/dist/design-system/{p-ddb9a2c4.entry.js → p-fbeed0e4.entry.js} +1 -1
  238. package/dist/esm/component.listBox-DlJaYVWf.js +13 -0
  239. package/dist/esm/{component.listItem-U8VaRj9c.js → component.listItem-4S0_Ykmo.js} +1 -7
  240. package/dist/esm/{component.table-D9tQwTWy.js → component.table-5pkzwl5N.js} +5 -4
  241. package/dist/esm/design-system.js +3 -3
  242. package/dist/esm/{index-BZg-6aSz.js → index-DDNBPrZh.js} +1 -1
  243. package/dist/esm/loader.js +3 -3
  244. package/dist/esm/sd-action-modal.entry.js +1 -1
  245. package/dist/esm/sd-badge.entry.js +1 -1
  246. package/dist/esm/sd-barcode-input.entry.js +1 -1
  247. package/dist/esm/sd-button_2.entry.js +1 -1
  248. package/dist/esm/sd-calendar_2.entry.js +1 -1
  249. package/dist/esm/sd-callout.entry.js +1 -1
  250. package/dist/esm/sd-card.entry.js +1 -1
  251. package/dist/esm/sd-checkbox.entry.js +2 -3
  252. package/dist/esm/sd-chip-input.entry.js +3 -2
  253. package/dist/esm/sd-chip.entry.js +1 -1
  254. package/dist/esm/sd-circle-progress.entry.js +5 -3
  255. package/dist/esm/sd-confirm-modal_2.entry.js +6 -3
  256. package/dist/esm/sd-date-box.entry.js +1 -1
  257. package/dist/esm/sd-date-picker_7.entry.js +68 -15
  258. package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
  259. package/dist/esm/sd-divider.entry.js +1 -1
  260. package/dist/esm/sd-dropdown-button.entry.js +1 -1
  261. package/dist/esm/sd-field_3.entry.js +6 -6
  262. package/dist/esm/sd-form.entry.js +1 -1
  263. package/dist/esm/sd-ghost-button_3.entry.js +2 -3
  264. package/dist/esm/sd-guide.entry.js +4 -9
  265. package/dist/esm/sd-key-value-table.entry.js +2 -2
  266. package/dist/esm/sd-linear-progress.entry.js +2 -2
  267. package/dist/esm/sd-loading-container.entry.js +3 -3
  268. package/dist/esm/sd-modal-container.entry.js +1 -1
  269. package/dist/esm/sd-pagination_4.entry.js +14 -12
  270. package/dist/esm/sd-popover.entry.js +2 -2
  271. package/dist/esm/sd-popup.entry.js +2 -2
  272. package/dist/esm/sd-radio-button.entry.js +1 -1
  273. package/dist/esm/sd-radio.entry.js +2 -3
  274. package/dist/esm/sd-select-list-item_2.entry.js +10 -9
  275. package/dist/esm/{sd-select.config-D6ktrl7E.js → sd-select.config-CeHGlqOT.js} +2 -1
  276. package/dist/esm/sd-select_3.entry.js +12 -11
  277. package/dist/esm/sd-switch.entry.js +2 -2
  278. package/dist/esm/{sd-table.config-BbIWNUE2.js → sd-table.config-DmOBlnsM.js} +5 -4
  279. package/dist/esm/sd-table.entry.js +9 -9
  280. package/dist/esm/sd-tabs.entry.js +2 -2
  281. package/dist/esm/sd-td.entry.js +2 -2
  282. package/dist/esm/sd-text-link.entry.js +1 -1
  283. package/dist/esm/sd-toast-container.entry.js +2 -2
  284. package/dist/esm/sd-toast.entry.js +3 -3
  285. package/dist/esm/sd-toggle.entry.js +2 -2
  286. package/dist/esm/{tooltipArrow-BAi-pktU.js → tooltipArrow-blL0aWPE.js} +1 -1
  287. package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +2 -0
  288. package/dist/types/components/sd-file-picker/sd-file-picker.config.d.ts +6 -0
  289. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +10 -0
  290. package/dist/types/components/sd-guide/sd-guide.config.d.ts +0 -1
  291. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +2 -0
  292. package/dist/types/components/sd-table/sd-table.config.d.ts +1 -0
  293. package/dist/types/components.d.ts +27 -0
  294. package/hydrate/index.js +151 -88
  295. package/hydrate/index.mjs +151 -88
  296. package/package.json +1 -1
  297. package/dist/components/p-BXcizROm.js +0 -1
  298. package/dist/components/p-BZdgdRXJ.js +0 -1
  299. package/dist/components/p-CV5LiFKt.js +0 -1
  300. package/dist/components/p-CiTn4ZiI.js +0 -1
  301. package/dist/components/p-D9tQwTWy.js +0 -1
  302. package/dist/components/p-DmC83_E9.js +0 -1
  303. package/dist/components/p-DvvGi4J_.js +0 -1
  304. package/dist/components/p-NeXvaRu7.js +0 -1
  305. package/dist/components/p-U8VaRj9c.js +0 -1
  306. package/dist/components/p-jwusYvH0.js +0 -1
  307. package/dist/design-system/p-147e0413.entry.js +0 -1
  308. package/dist/design-system/p-51c7839c.entry.js +0 -1
  309. package/dist/design-system/p-65285327.entry.js +0 -1
  310. package/dist/design-system/p-BXcizROm.js +0 -1
  311. package/dist/design-system/p-BZg-6aSz.js +0 -2
  312. package/dist/design-system/p-CAFz8W8_.js +0 -1
  313. package/dist/design-system/p-D9tQwTWy.js +0 -1
  314. package/dist/design-system/p-U8VaRj9c.js +0 -1
  315. package/dist/design-system/p-b84f5550.entry.js +0 -1
  316. package/dist/design-system/p-efc55114.entry.js +0 -1
  317. package/dist/design-system/p-fe2b853f.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { h, } from "@stencil/core";
2
2
  import { nanoid } from "nanoid/non-secure";
3
- import { FILE_PICKER_LAYOUT, FILE_PICKER_COLORS } from "./sd-file-picker.config";
3
+ import { FILE_PICKER_LAYOUT, FILE_PICKER_COLORS, FILE_PICKER_LIST_BOX, } from "./sd-file-picker.config";
4
4
  export class SdFilePicker {
5
5
  el;
6
6
  /** 선택된 파일 값 */
@@ -13,6 +13,8 @@ export class SdFilePicker {
13
13
  inline = false;
14
14
  /** 다중 파일 선택 여부 */
15
15
  multiple = false;
16
+ /** multiple 파일 목록을 필드 아래 칩 대신, caret(▼) 클릭 시 열리는 리스트박스 카드로 표시 */
17
+ useMultipleListBox = false;
16
18
  /** 허용할 파일 타입 (input accept 속성과 동일) */
17
19
  accept;
18
20
  /** 파일 한 개의 최대 크기 (bytes) */
@@ -56,9 +58,13 @@ export class SdFilePicker {
56
58
  hovered = false;
57
59
  internalValue = null;
58
60
  showTooltip = false;
61
+ isListboxOpen = false;
62
+ listboxWidth = '';
59
63
  fileInputRef;
60
64
  fileNamesRef;
65
+ contentRef;
61
66
  formField;
67
+ static VIEWPORT_PADDING = 20;
62
68
  /** 파일 선택 또는 삭제 시 현재 파일 값을 전달합니다. */
63
69
  update;
64
70
  /** 파일이 크기·개수 제한을 초과하여 거부됐을 때 발생합니다. */
@@ -160,6 +166,7 @@ export class SdFilePicker {
160
166
  this.value = clearedValue;
161
167
  this.internalValue = clearedValue;
162
168
  this.update?.emit(clearedValue);
169
+ this.isListboxOpen = false;
163
170
  if (this.fileInputRef) {
164
171
  this.fileInputRef.value = '';
165
172
  }
@@ -169,6 +176,23 @@ export class SdFilePicker {
169
176
  return;
170
177
  this.fileInputRef?.click();
171
178
  };
179
+ /** caret(▼) 클릭 시 파일 목록 리스트박스를 토글한다. */
180
+ handleListboxToggle = (event) => {
181
+ event.stopPropagation();
182
+ if (this.disabled)
183
+ return;
184
+ if (this.isListboxOpen) {
185
+ this.isListboxOpen = false;
186
+ return;
187
+ }
188
+ if (this.contentRef) {
189
+ this.listboxWidth = `${this.contentRef.offsetWidth}px`;
190
+ }
191
+ this.isListboxOpen = true;
192
+ };
193
+ closeListbox = () => {
194
+ this.isListboxOpen = false;
195
+ };
172
196
  hasFiles() {
173
197
  if (Array.isArray(this.internalValue)) {
174
198
  return this.internalValue.length > 0;
@@ -194,12 +218,28 @@ export class SdFilePicker {
194
218
  this.internalValue = newFiles;
195
219
  this.value = newFiles;
196
220
  this.update?.emit(this.value);
221
+ // 리스트박스에서 마지막 파일을 지우면 caret 이 사라지므로 함께 닫는다.
222
+ if (newFiles.length === 0) {
223
+ this.isListboxOpen = false;
224
+ }
197
225
  };
198
226
  renderChipList() {
199
227
  if (!this.hasChips())
200
228
  return null;
201
229
  return (h("div", { class: "sd-file-picker__chip-list" }, this.internalValue.map((file, index) => (h("sd-chip", { value: file.name, onSdRemove: () => this.handleChipRemove(index) })))));
202
230
  }
231
+ renderListbox() {
232
+ if (!this.hasChips() || !this.isListboxOpen)
233
+ return null;
234
+ const listboxStyle = {
235
+ width: this.listboxWidth,
236
+ padding: `${FILE_PICKER_LIST_BOX.chipPadding}px`,
237
+ gap: `${FILE_PICKER_LIST_BOX.chipGap}px`,
238
+ borderRadius: `${FILE_PICKER_LIST_BOX.radius}px`,
239
+ background: FILE_PICKER_LIST_BOX.bg,
240
+ };
241
+ return (h("sd-portal", { open: this.isListboxOpen, parentRef: this.contentRef, viewportPadding: SdFilePicker.VIEWPORT_PADDING, onSdClose: this.closeListbox }, h("div", { class: "sd-file-picker__listbox", style: listboxStyle }, this.internalValue.map((file, index) => (h("sd-chip", { value: file.name, editable: false, onSdRemove: () => this.handleChipRemove(index) }))))));
242
+ }
203
243
  checkOverflow() {
204
244
  if (!this.fileNamesRef)
205
245
  return;
@@ -225,21 +265,25 @@ export class SdFilePicker {
225
265
  '--sd-system-size-field-sm-height': `${FILE_PICKER_LAYOUT.height}px`,
226
266
  '--sd-system-radius-field-sm': `${FILE_PICKER_LAYOUT.radius}px`,
227
267
  };
228
- const content = (h("div", { key: 'f686c8d06b3dbecc037e21f41e7f307d08349e8b', role: "button", tabindex: this.disabled ? -1 : 0, class: "sd-file-picker__content", onClick: this.handleClick, onKeyDown: e => {
268
+ const showListbox = this.multiple && this.useMultipleListBox;
269
+ const content = (h("div", { key: '692bb28ba1adaa90317e18c6b824ab7d2287eb96', role: "button", tabindex: this.disabled ? -1 : 0, class: "sd-file-picker__content", ref: el => (this.contentRef = el), onClick: this.handleClick, onKeyDown: e => {
229
270
  if (e.key === 'Enter' || e.key === ' ') {
230
271
  e.preventDefault();
231
272
  this.handleClick();
232
273
  }
233
- } }, h("input", { key: 'a519e5a7c253d9d9bba21401b2f83092aa8a3a91', ref: el => (this.fileInputRef = el), type: "file", class: "sd-file-picker__input", disabled: this.disabled, multiple: this.multiple, accept: this.accept, onInput: this.handleFileChange, "aria-label": this.placeholder ?? 'Click to upload' }), h("sd-icon", { key: 'b9e7548365f1d54957b6e575d3532a833e301a98', name: "attachFile", size: Number(FILE_PICKER_LAYOUT.iconSize), color: this.getIconColor(), class: "sd-file-picker__icon" }), h("div", { key: 'cb28d1c3abf0e9c30454f01bb8c81cb0ea4477af', ref: el => (this.fileNamesRef = el), class: {
274
+ } }, h("input", { key: '7a1cddff8097952c0c9eda9ae8d1b46b4a18967e', ref: el => (this.fileInputRef = el), type: "file", class: "sd-file-picker__input", disabled: this.disabled, multiple: this.multiple, accept: this.accept, onInput: this.handleFileChange, "aria-label": this.placeholder ?? 'Click to upload' }), h("sd-icon", { key: '2f7dffb5bfc39efb0eace252a45aaaa23091d337', name: "attachFile", size: Number(FILE_PICKER_LAYOUT.iconSize), color: this.getIconColor(), class: "sd-file-picker__icon" }), h("div", { key: '1a6ae3daa59c7befebcfcfdcbbb2c46a32c6c40c', ref: el => (this.fileNamesRef = el), class: {
234
275
  'sd-file-picker__text': true,
235
276
  'sd-file-picker__text--placeholder': !hasFiles,
236
277
  'sd-file-picker__text--active': hasFiles,
237
- } }, displayText), !this.disabled && hasFiles && (h("sd-ghost-button", { key: 'c97d7c306ef2087a9874a16b6e485a94c7cc571f', icon: "close", size: "xxs", ariaLabel: "clear", disabled: this.disabled, class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (h("div", { key: '293a4c75766be383a4ad6f79052111c09608e0e2', class: "sd-file-picker__tooltip" }, displayText))));
238
- return (h("div", { key: '4e25add1b74a232e8786efca26f87ccb5d48f19d', class: {
278
+ } }, displayText), showListbox && hasFiles && !this.disabled && (h("sd-ghost-button", { key: '895eafa47b1e1d851794fd471b304f8458bcac0f', icon: "caretDown", size: "xxs", ariaLabel: "toggle file list", disabled: this.disabled, class: {
279
+ 'sd-file-picker__caret': true,
280
+ 'sd-file-picker__caret--open': this.isListboxOpen,
281
+ }, onClick: this.handleListboxToggle })), !this.disabled && hasFiles && (h("sd-ghost-button", { key: '38d3fe31be05ae66a170671ffb4855bce4984630', icon: "close", size: "xxs", ariaLabel: "clear", disabled: this.disabled, class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (h("div", { key: 'bb94815d7149ce9f1117828f893224c8bc1dbc50', class: "sd-file-picker__tooltip" }, displayText))));
282
+ return (h("div", { key: '3ada174508214a9fafd4f7f228ff52eb60aa76e4', class: {
239
283
  'sd-file-picker__wrapper': true,
240
284
  'sd-file-picker--inline': this.inline,
241
285
  'sd-file-picker--inline-disabled': this.inline && this.disabled,
242
- }, style: cssVars }, h("sd-field", { key: 'fda8f53237f5efb4f1dec906d87851dd10c03593', borderless: this.inline, 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, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content), this.renderChipList()));
286
+ }, style: cssVars }, h("sd-field", { key: '29314b3ba5fc7c6b7d2f1a93a14381d9fb91bcfc', borderless: this.inline, 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, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content), this.useMultipleListBox ? this.renderListbox() : this.renderChipList()));
243
287
  }
244
288
  static get is() { return "sd-file-picker"; }
245
289
  static get originalStyleUrls() {
@@ -357,6 +401,26 @@ export class SdFilePicker {
357
401
  "attribute": "multiple",
358
402
  "defaultValue": "false"
359
403
  },
404
+ "useMultipleListBox": {
405
+ "type": "boolean",
406
+ "mutable": false,
407
+ "complexType": {
408
+ "original": "boolean",
409
+ "resolved": "boolean",
410
+ "references": {}
411
+ },
412
+ "required": false,
413
+ "optional": false,
414
+ "docs": {
415
+ "tags": [],
416
+ "text": "multiple \uD30C\uC77C \uBAA9\uB85D\uC744 \uD544\uB4DC \uC544\uB798 \uCE69 \uB300\uC2E0, caret(\u25BC) \uD074\uB9AD \uC2DC \uC5F4\uB9AC\uB294 \uB9AC\uC2A4\uD2B8\uBC15\uC2A4 \uCE74\uB4DC\uB85C \uD45C\uC2DC"
417
+ },
418
+ "getter": false,
419
+ "setter": false,
420
+ "reflect": true,
421
+ "attribute": "use-multiple-list-box",
422
+ "defaultValue": "false"
423
+ },
360
424
  "accept": {
361
425
  "type": "string",
362
426
  "mutable": false,
@@ -776,7 +840,9 @@ export class SdFilePicker {
776
840
  static get states() {
777
841
  return {
778
842
  "internalValue": {},
779
- "showTooltip": {}
843
+ "showTooltip": {},
844
+ "isListboxOpen": {},
845
+ "listboxWidth": {}
780
846
  };
781
847
  }
782
848
  static get events() {
@@ -9,7 +9,6 @@
9
9
  box-sizing: border-box;
10
10
  background: var(--sd-floating-bg, #07284A);
11
11
  color: var(--sd-floating-content, #FFFFFF);
12
- box-shadow: 2px 2px 12px 2px rgba(0, 0, 0, 0.1);
13
12
  animation: sd-floating-fade-in 0.35s ease-out;
14
13
  }
15
14
  .sd-floating-menu--top {
@@ -114,6 +113,7 @@
114
113
  }
115
114
  .sd-floating-menu--popover {
116
115
  padding: 16px 20px;
116
+ box-shadow: 2px 2px 12px 2px rgba(0, 0, 0, 0.1);
117
117
  }
118
118
  .sd-floating-menu--popover .sd-floating-menu__content {
119
119
  gap: 4px;
@@ -173,7 +173,7 @@ export class SdFloatingPopover {
173
173
  }
174
174
  }
175
175
  render() {
176
- return h("slot", { key: '487d3c23320bd5f44492e3fb84e3cb357605de39' });
176
+ return h("slot", { key: '7bdfc66c7baa0a195d1c0438e6bdd0705a7e5ffd' });
177
177
  }
178
178
  static get is() { return "sd-floating-portal"; }
179
179
  static get originalStyleUrls() {
@@ -29,7 +29,6 @@ export const GUIDE_CONFIG = {
29
29
  paddingX: `${contents.paddingX}px`,
30
30
  paddingY: `${contents.paddingY}px`,
31
31
  gap: `${contents.gap}px`,
32
- rowGap: `${contents.row.gap}px`,
33
32
  bodyGap: `${contents.body.gap}px`,
34
33
  titleGap: `${contents.title.gap}px`,
35
34
  radius: `${contents.radius}px`,
@@ -124,9 +124,6 @@ sd-guide {
124
124
  margin-right: 12px;
125
125
  flex-shrink: 0;
126
126
  }
127
- .sd-guide__popup__list__item--depth-1:not(:first-child) {
128
- margin-top: var(--sd-guide-contents-row-gap);
129
- }
130
127
  .sd-guide__popup__list__item--depth-2 {
131
128
  margin-top: var(--sd-guide-contents-body-gap);
132
129
  }
@@ -60,7 +60,6 @@ export class SdGuide {
60
60
  '--sd-guide-contents-padding-x': contents.paddingX,
61
61
  '--sd-guide-contents-padding-y': contents.paddingY,
62
62
  '--sd-guide-contents-gap': contents.gap,
63
- '--sd-guide-contents-row-gap': contents.rowGap,
64
63
  '--sd-guide-contents-body-gap': contents.bodyGap,
65
64
  '--sd-guide-contents-title-gap': contents.titleGap,
66
65
  '--sd-guide-contents-radius': contents.radius,
@@ -83,10 +82,10 @@ export class SdGuide {
83
82
  const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
84
83
  if (isActive)
85
84
  buttonClasses.push('sd-guide__button--active');
86
- return (h("div", { key: 'd89a517d78a8f9624c94d320291e5a4b5bd0715d', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: '6e959f0f5fd6f816fd1cef4545852b860d30de85', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: 'a837cababa5504400293729ad28e4dcd2450eeec', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: '61dd3c574495f85021495d80865e162999368f9c', class: "sd-guide__popup", style: {
85
+ return (h("div", { key: '7d85d4650de1bef19699cdacaceeeab69a7f221c', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: 'b4cd191ba9593ce83343097e9b24fb56d86c6859', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: '2523de8af47987b2f0761c999817bf1ca595b4e6', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: '2fcc5a768d626d5ba97427ad99dc1c6155b5c36b', class: "sd-guide__popup", style: {
87
86
  ...this.guideStyle,
88
87
  width: this.popupWidth != null ? this.popupWidth + 'px' : '426px',
89
- } }, h("sd-ghost-button", { key: 'dbf8aebd1be4b5286bf726d22e0a5f80c29e867f', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: '5a08fa823bb8839e654d7bb2ba027df2dc68b85b', class: "sd-guide__popup__header" }, h("sd-icon", { key: '1dda43d100b4f5f3b7fa81115a1ac4bfbd584a51', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: 'cfe6342f44f4e1355397ed94d6db74807f917548', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '9acc2f507ed3d3d6f1fda27a9e5cf66dcc2f619d', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
88
+ } }, h("sd-ghost-button", { key: 'de6b053ff6373bf2690d0874d01692e456a38991', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: '10f2de0819a6a97571719ca2e04101833c78f1d3', class: "sd-guide__popup__header" }, h("sd-icon", { key: 'b11478e02574f5e211cd9d2478080d2c9895cb5d', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: 'ef361769bc0363ebb7215b6fbd1fdb38b2864434', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '914ae5fa0fa7ae52954df58e17beb187ddc2a966', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
90
89
  }
91
90
  // 현재 2depth까지만 스타일 적용
92
91
  renderListItem(message, depth = 0) {
@@ -152,12 +152,12 @@ export class SdInput {
152
152
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
153
153
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
154
154
  };
155
- return (h("sd-field", { key: '972d5e17746dc16d4e20b18bd278410fe9c13878', 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: '31e5f2aa7a2f0acaa0bfda8b9bfb94e2d6a98ebe', class: "sd-input__content" }, h("slot", { key: '8230767a7311121fca1d3a1d64be5a04fc3c38aa', name: "prefix" }), h("input", { key: '2961c50e416a08988d3d80022883eab696de2c7c', 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: '6862a98c1254979e0700cd8b18b61517a4c7386a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: '9aa967f89fa448df98079ba1b16fe4ea4ef81c0e', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
155
+ return (h("sd-field", { key: '7ec67f4433bff2a7d2f1b44935f761d79f0e8681', 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: '6c0118c2610f06d13d4a38a857bf37c7ad9508d0', class: "sd-input__content" }, h("slot", { key: '31cd8fe72ab21cb7a562accff98545fdf59efa80', name: "prefix" }), h("input", { key: '47579f31e9255bda6d5623eca8071ffdafd0ca55', 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: 'f2d6e313c8c542d88c252e26cbb2618977fda5fa', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: 'b24cb32d5963b244aef76e31f1c0f350d316be5c', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
156
156
  if (this.disabled || this.readonly)
157
157
  return;
158
158
  this.internalValue = '';
159
159
  await this.formField?.sdValidate();
160
- } })), this.type === 'password' && (h("sd-ghost-button", { key: '2dd03b4920f2e84932c6e8ddb8bbdea2070b070f', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
160
+ } })), this.type === 'password' && (h("sd-ghost-button", { key: '9592350fd3820fa8c8af637cb84f2d4517d6decd', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
161
161
  if (this.disabled || this.readonly)
162
162
  return;
163
163
  this.passwordVisible = !this.passwordVisible;
@@ -31,7 +31,7 @@ export class SdLinearProgress {
31
31
  clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
32
32
  };
33
33
  const valueText = `${Math.round(this.clampedValue)}%`;
34
- return (h(Host, { key: '8d19b1c846b14994eceb6381802b19fa92a241cb', style: hostStyle }, h("div", { key: '23d3e839b1e64a81ae86e994bf77a0e9bf53e870', class: "sd-linear-progress__track" }, h("div", { key: '92ea4d28c312e639ec038002beeea60ab39e42bb', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (h("span", { key: 'd65a8726f14302260d0fad1b3a16ba7e8588530f', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (h("span", { key: '522efd6e3b6f6bbfcb8044113d2e2ae37da84dd6', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '2933b26dc95c1962dc19829f9bf1d8e62d71b0c4', class: "sd-linear-progress__label" }, this.label)));
34
+ return (h(Host, { key: 'c87705d4ca2e7d61de15412af8df8fe32aec6e56', style: hostStyle }, h("div", { key: '0343b5d209cf49e7d25bb7ede349eae791890e29', class: "sd-linear-progress__track" }, h("div", { key: '7771c6589c061d7bba7eb2ae88e1752d80912357', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (h("span", { key: '66f85b9d5f87d7c2aeafd6eadcdc3fb1739124c9', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (h("span", { key: 'd8581b453770e4c8db55abddc6c57f9b90701786', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && h("span", { key: '4223bfa7292cc9adeb9dca1ce18ee45cefc8d670', class: "sd-linear-progress__label" }, this.label)));
35
35
  }
36
36
  static get is() { return "sd-linear-progress"; }
37
37
  static get originalStyleUrls() {
@@ -32,10 +32,10 @@ export class SdLoadingContainer {
32
32
  this.prevBodyOverflow = null;
33
33
  }
34
34
  render() {
35
- return (h("div", { key: '7abf314b6518ab7e6ba0ef60236a8ca6846b0cf4', class: {
35
+ return (h("div", { key: 'c2dad1bed0e513341a447f164fecbb2f879ed523', class: {
36
36
  'sd-loading-container': true,
37
37
  'sd-loading-container--visible': this.visible,
38
- }, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '5c049ffd686654fb4c63bba829bcbe4968285a74', class: "sd-loading-container__backdrop" }), h("div", { key: '21c50b87eac65eedfe2ae475eda2c04a9b2f781d', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '1dd29e83461be200d3d23037fc8965dbba675e77', indeterminate: true, type: "inverse" }), this.message && h("p", { key: 'deb08b4813d784cf47f43648e8187b22b143dfd5', class: "sd-loading-container__message" }, this.message))));
38
+ }, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '254c3cb5eeb25b6c69b3812fbaada2a26d6620e0', class: "sd-loading-container__backdrop" }), h("div", { key: '58ca4033b25302d8a7ea3f25e6b5e8aa7ce9f51c', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: 'c8d48fa1814186a674d3f7c8b63bcd26541299ba', indeterminate: true, type: "inverse" }), this.message && h("p", { key: '899a5f32ceecb23b4f88b750aa634106bb42b394', class: "sd-loading-container__message" }, this.message))));
39
39
  }
40
40
  static get is() { return "sd-loading-container"; }
41
41
  static get originalStyleUrls() {
@@ -2,6 +2,7 @@ sd-loading-modal {
2
2
  display: inline-block;
3
3
  }
4
4
  sd-loading-modal .sd-loading-modal {
5
+ position: relative;
5
6
  display: flex;
6
7
  flex-direction: column;
7
8
  align-items: center;
@@ -15,6 +16,12 @@ sd-loading-modal .sd-loading-modal {
15
16
  background: var(--sd-loading-modal-bg);
16
17
  box-shadow: 4px 4px 24px 4px rgba(0, 0, 0, 0.2);
17
18
  }
19
+ sd-loading-modal .sd-loading-modal__close {
20
+ position: absolute;
21
+ top: 16px;
22
+ right: 16px;
23
+ cursor: pointer;
24
+ }
18
25
  sd-loading-modal .sd-loading-modal__content {
19
26
  display: flex;
20
27
  align-items: center;
@@ -17,6 +17,8 @@ export class SdLoadingModal {
17
17
  progress;
18
18
  /** 버튼 클릭 시 발생합니다. */
19
19
  click;
20
+ /** 닫기 버튼 클릭 시 발생합니다. (error 상태에서만 노출) */
21
+ close;
20
22
  get resolvedState() {
21
23
  return this.state ?? 'loading';
22
24
  }
@@ -58,7 +60,7 @@ export class SdLoadingModal {
58
60
  '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
59
61
  '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
60
62
  };
61
- return (h(Host, { key: '01bd677e5ef79c7fba151be5d4fb28f4de53c063', style: hostStyle }, h("div", { key: 'f1062845695886535ee1d96613db83e1a8da4b88', class: "sd-loading-modal" }, h("div", { key: 'c1ca61a82f105e5582719375506634a2ee5a538f', 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: '60039cb0c90b9450355c6545a82301797c0b65bc', 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.showButton && (h("div", { key: '0f00c197e0f320ffb2a8bebe4418307639d5ee09', class: "sd-loading-modal__button" }, h("sd-button", { key: '6d8f96e681843afe1590f9a9fcc18c4668f64d22', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
63
+ return (h(Host, { key: '71bec4b63fc71720dfc10daecab4e63b8fc12b68', style: hostStyle }, h("div", { key: '20f67d5f61a7c7150b236ebe13fecb345b5a20be', class: "sd-loading-modal" }, this.resolvedState === 'error' && (h("sd-ghost-button", { key: '395097aa0cbf7c277f7669bdc01fe756316ba4a0', class: "sd-loading-modal__close", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() })), h("div", { key: '6942b24672bf59b7c7f34bab0cce38b3d0e477f7', 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: '5dd0e24f06c8283b1baa7eeadf6547a96ecc784e', 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.showButton && (h("div", { key: 'b686ab5f29a9a61520ba5a43f9d214f37c1a90d7', class: "sd-loading-modal__button" }, h("sd-button", { key: '2378b8f300538c9aab8775a526104acd6089b580', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
62
64
  }
63
65
  static get is() { return "sd-loading-modal"; }
64
66
  static get originalStyleUrls() {
@@ -235,6 +237,21 @@ export class SdLoadingModal {
235
237
  "resolved": "void",
236
238
  "references": {}
237
239
  }
240
+ }, {
241
+ "method": "close",
242
+ "name": "sdClose",
243
+ "bubbles": true,
244
+ "cancelable": true,
245
+ "composed": true,
246
+ "docs": {
247
+ "tags": [],
248
+ "text": "\uB2EB\uAE30 \uBC84\uD2BC \uD074\uB9AD \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4. (error \uC0C1\uD0DC\uC5D0\uC11C\uB9CC \uB178\uCD9C)"
249
+ },
250
+ "complexType": {
251
+ "original": "void",
252
+ "resolved": "void",
253
+ "references": {}
254
+ }
238
255
  }];
239
256
  }
240
257
  }
@@ -314,15 +314,15 @@ export class SdNumberInput {
314
314
  '--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
315
315
  '--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
316
316
  };
317
- return (h("sd-field", { key: '391ac51b1c7844a81664907af4e7c063d6c4c5e4', 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: '7bdc01654f679228c9893d4438daa0a8324b1e56', class: {
317
+ return (h("sd-field", { key: '9e82f7ec1e40c7f435233d1d8e05fdd2de0c2712', 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: 'b5f2e1c32bbba8147a72edf2dfe42f591d81d6f7', class: {
318
318
  'sd-number-input__content': true,
319
319
  'sd-number-input__content--no-stepper': !this.useButton,
320
- } }, this.useButton && (h("button", { key: '57819a2fbc917ebf6fdf640e4226443cf6d138b1', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '05c900ee4b9ccb0f2b8bf5a555f5586fe91c3c53', name: "minus", size: iconSize, color: this.isDecrementDisabled()
320
+ } }, this.useButton && (h("button", { key: '07e053c769556282da7595ba7d185db7c9af19a2', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '95b48b8a0fa45ff60b3097d24405b48e4776b928', name: "minus", size: iconSize, color: this.isDecrementDisabled()
321
321
  ? NUMBER_INPUT_STEPPER.icon.disabled
322
- : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: 'e406fa40696f58e4a8ad4f2be2a33ecfc2f4ff3a', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '3df235c03deac87a615d295d65473a487155f07c', 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: {
322
+ : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '2381fade9767b593d5f6848bc411c3244a6f9da2', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '00b886990e9c1155c20ee404eda26777e56d31c2', 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: {
323
323
  textAlign: this.useButton ? 'center' : 'right',
324
324
  ...this.inputStyle,
325
- } }), this.inputSuffix && h("span", { key: 'b23bd9594ca53147d628d97b8a99512d0ecc6c82', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: 'c4757ac52cccab448a91458ca66e7de29b5d4b5d', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '45eadd745300df1f9bec18d7a9d6367f25ee53b7', name: "add", size: iconSize, color: this.isIncrementDisabled()
325
+ } }), this.inputSuffix && h("span", { key: '5254313e957f3ded4139f047b588e38222c33975', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: 'f7389a1c5869460791249f579b3195b3583255fe', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'b272b62e2ce27a1e5ecb86738af6eacb89b0d6c6', name: "add", size: iconSize, color: this.isIncrementDisabled()
326
326
  ? NUMBER_INPUT_STEPPER.icon.disabled
327
327
  : NUMBER_INPUT_STEPPER.icon.default }))))));
328
328
  }
@@ -88,13 +88,13 @@ export class SdPagination {
88
88
  '--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
89
89
  '--sd-pagination-item-width': `${this.buttonWidth}px`,
90
90
  };
91
- return (h("div", { key: '2e5fdcc2d6a426be32128960131db2ed51674939', class: {
91
+ return (h("div", { key: '4a67cbb9ed9d3cafbd3d9f99562948e3b3840210', class: {
92
92
  'sd-pagination': true,
93
93
  'sd-pagination--simple': this.simple,
94
- }, style: cssVars }, h("div", { key: 'a83ee12c1af9ca41e3a5773fcd840200fcb873e2', 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: {
94
+ }, style: cssVars }, h("div", { key: 'f0cc77abd3b03a1525f52fbcd2587b6ad9cd468d', 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: {
95
95
  'sd-pagination__item': true,
96
96
  'sd-pagination__item--selected': this.currentPage === n,
97
- }, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '3c98ea6c1bf5bea43baaa73a2a7db5c4fe1404e5', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
97
+ }, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: 'c4053f5917345cf1e7fcea9f3c2fa0d6b5fa7a3f', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
98
98
  }
99
99
  static get is() { return "sd-pagination"; }
100
100
  static get originalStyleUrls() {
@@ -40,7 +40,7 @@ export class SdPopup {
40
40
  ...DEFAULT_SUBMIT_BUTTON_PROPS,
41
41
  ...this.submitButtonProps,
42
42
  };
43
- return (h("div", { key: 'cc0381250b37b498e93fd7f8d932ad95ff802bcc', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: '07b4378a9c8d292f73e0a6307ec2b6335087cc9f', class: "sd-popup__header" }, h("h2", { key: 'a17318a803d2d825e0a85f43ff436944424bb213', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'f2147c40fbd425565f6e61e62e2da2d97eacb27a', class: "sd-popup__body" }, h("slot", { key: '5600679290a775e53e838fd5ea2d9cfc1008130f' })), this.useFooter && (h("footer", { key: '2bfa07724438b8afa03a0654359ab760498ef7dc', class: "sd-popup__footer" }, h("div", { key: 'd70c88b18b23bd8d1b3f6d4899d65b25e378b9aa', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '42d7108b390bf460398dcbc128a837784ba5c544', name: "footer-left" })), h("sd-button", { key: '0525a19c52caef0dcaf0eb2783391132d53d18db', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
43
+ return (h("div", { key: 'f138f3d792295a6e1cb3894033547176cfd03163', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: '7ff26c89a03cd79d5abe83513d96ae5f40b83869', class: "sd-popup__header" }, h("h2", { key: 'd9d3282b60b5b6baa5c2b1568c13db5847e9f9af', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'a296adcd58df30f4915b2523931c5b9eb4588e5d', class: "sd-popup__body" }, h("slot", { key: 'aaf4dfc93d5664ca19a8071e3f37bf8a5857e471' })), this.useFooter && (h("footer", { key: '1afb1b638fa8bfa69f5d4bc87fca538800614312', class: "sd-popup__footer" }, h("div", { key: '7539bc751847a03fef6ec1e15587b346ffb19c83', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '66fbec51d23bd1a203159f6c968935034a4c086c', name: "footer-left" })), h("sd-button", { key: '8d236d5fcd9b5fdae1c27ade7bff6bc605ef8bde', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
44
44
  }
45
45
  static get is() { return "sd-popup"; }
46
46
  static get originalStyleUrls() {
@@ -94,10 +94,10 @@ sd-radio-group .sd-radio-group {
94
94
  }
95
95
  sd-radio-group .sd-radio-group--vertical {
96
96
  flex-direction: column;
97
- gap: 8px;
97
+ gap: var(--sd-radio-radio-group-gap-vertical);
98
98
  }
99
99
  sd-radio-group .sd-radio-group--horizontal {
100
100
  flex-direction: row;
101
101
  align-items: center;
102
- gap: 20px;
102
+ gap: var(--sd-radio-radio-group-gap-horizontal);
103
103
  }
@@ -78,7 +78,7 @@ export class SdSelectListItem {
78
78
  return (
79
79
  // 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
80
80
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
81
- h("div", { key: 'dd2c4cbd210ed70c00a954a9c6da6923ea76c91e', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
81
+ h("div", { key: '0e0a07c33c9e6718771ba8cc27d62e4909434562', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
82
82
  'sd-select-list-item': true,
83
83
  'sd-select-list-item--group': isGroup,
84
84
  'sd-select-list-item--depth1-group': isDepth1Group,
@@ -88,7 +88,7 @@ export class SdSelectListItem {
88
88
  'sd-select-list-item--focused': this.isFocused,
89
89
  'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
90
90
  'sd-select-list-item--disabled': !!this.option.disabled,
91
- }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '18fb5ec3ccd00aa34c974975324bb214aa4d38f8', 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: '70ee48fdece9e38db3bf9450a5d82ad6db4ec985', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
91
+ }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: 'd3078da8737c28b279f2057c06266710af6191cd', 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: '36b88dbda0d2bbd27b5df60eaaa855ebe77e0905', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
92
92
  }
93
93
  static get is() { return "sd-select-list-item"; }
94
94
  static get originalStyleUrls() {
@@ -45,15 +45,15 @@ export class SdSelectListItemSearch {
45
45
  clearTimeout(this.debounceTimer);
46
46
  }
47
47
  render() {
48
- return (h("div", { key: '951bb1f2507918c057bb88bd8254a8b4bc4b6018', class: {
48
+ return (h("div", { key: '6caac256fb6b1fc3e7b3fc7f7ee66b163737f944', class: {
49
49
  'sd-select-list-item-search': true,
50
50
  'sd-select-list-item-search--scrolled': this.isScrolled,
51
- } }, h("div", { key: '32164db917f4ccadb301c00e77d8296d0ef59e7d', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '9493497b5b8b7274c31bac9e865a1949c0cd4493', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '3917e46b5e6ad55ab7481655fe31d7a3b29632f6', ref: el => {
51
+ } }, h("div", { key: '3193b47072cb73c4400e606aa8dbd4553e178738', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '6165dae71933cbdf5c66d533d4cae43ae95f7bd4', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: 'd0526a3a20e220068a4b4cb489af060c80952325', ref: el => {
52
52
  this.inputEl = el;
53
- }, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: '93c11a138545e9480aae3dd0ed961fe613fc1b14', type: "button", class: {
53
+ }, type: "text", class: "sd-select-list-item-search__input", placeholder: "\uAC80\uC0C9\uC5B4 \uC785\uB825", value: this.searchText, onInput: this.handleInput, onFocus: () => this.searchFocus.emit() }), h("button", { key: 'e139b3ddab9ac793bfcf44480161a1d0c501a861', type: "button", class: {
54
54
  'sd-select-list-item-search__clear': true,
55
55
  'sd-select-list-item-search__clear--hidden': this.searchText === '',
56
- }, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: 'dead91d16ab3af88a4a94ee061b9ca1c1336f2f7', name: "close", size: 12, color: "#888888" })))));
56
+ }, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '4d29274a17767dec92bb6052196832272ab215df', name: "close", size: 12, color: "#888888" })))));
57
57
  }
58
58
  static get is() { return "sd-select-list-item-search"; }
59
59
  static get originalStyleUrls() {
@@ -361,9 +361,9 @@ export class SdSelectListbox {
361
361
  '--listbox-max-height': this.maxHeight ?? '260px',
362
362
  '--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
363
363
  };
364
- return (h("div", { key: '0e322ab6384a37b9ea83883e8012799f157ec833', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: '12d35a6ab654d4ce0cf504c0d1b1b6e4cc7eac78', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: 'ba99682e9c486fe0efa02a888166a06a600c189e', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
364
+ return (h("div", { key: '4de15e4c150ee542656ee3f73aa41dd32379748f', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: 'cb656ccafc2833b438f14ac48ca8686684212ead', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: '5ffaefb63605c4319810046e9d40aa5fcb4754de', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
365
365
  this.listEl = el;
366
- } }, this.showSelectAll && (h("sd-select-list-item", { key: '8f66c32cc3f8287d04ad7081e71903ccb4467b4f', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (h("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
366
+ } }, this.showSelectAll && (h("sd-select-list-item", { key: 'e1d3f7a37a037b386aae50cceb61e2b79d37453e', option: SdSelectListbox.SELECT_ALL_OPTION, depth: 1, isSelected: this.selectAllState, isFocused: this.isOptionFocused(SdSelectListbox.SELECT_ALL_OPTION), useCheckbox: true, onSdListItemClick: this.handleSelectAllClick, onMouseEnter: () => this.handleOptionHover(SdSelectListbox.SELECT_ALL_OPTION) })), this.isEmpty ? (h("div", { class: "sd-select-listbox__empty" }, EMPTY_MESSAGE)) : this.isDepth ? (this.renderOptions(this.filteredOptions)) : (this.filteredOptions.map(option => (h("sd-select-list-item", { option: option, depth: 1, isSelected: this.isOptionSelected(option), isFocused: this.isOptionFocused(option), useCheckbox: this.isMulti, onSdListItemClick: this.handleOptionClick, onMouseEnter: () => this.handleOptionHover(option) })))))));
367
367
  }
368
368
  static get is() { return "sd-select-listbox"; }
369
369
  static get encapsulation() { return "shadow"; }
@@ -51,7 +51,7 @@ export class SdSelectTrigger {
51
51
  ? SELECT_COLORS.icon.disabled
52
52
  : SELECT_COLORS.icon.default,
53
53
  };
54
- return (h("div", { key: 'a261a38ab844572d693bdb736e8c6c5df8b2b0c6', ref: el => {
54
+ return (h("div", { key: '33e639898a581e8556e1e9c966f14cb863246c35', ref: el => {
55
55
  this.triggerEl = el;
56
56
  }, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
57
57
  'sd-select-trigger': true,
@@ -62,7 +62,7 @@ export class SdSelectTrigger {
62
62
  e.preventDefault();
63
63
  this.handleClick();
64
64
  }
65
- }, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'c8255f624c101fa984d7dc081231f0ce957f8707', class: "sd-select-trigger__content" }, hasValue && isHtmlLabel(this.displayText) ? (h("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.displayText)) })) : (h("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), h("sd-icon", { key: 'bf2145a098a31eba8a5210eb265fb252b84c9e0b', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
65
+ }, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: 'a935f82879727eb212422c875b16e5fbf01460ba', class: "sd-select-trigger__content" }, hasValue && isHtmlLabel(this.displayText) ? (h("span", { class: "sd-select-trigger__text", ref: el => el && (el.innerHTML = sanitizeInlineHtml(this.displayText)) })) : (h("span", { class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택'))), h("sd-icon", { key: 'e98e8e317aa86a960674b21714ca90cfa3920197', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
66
66
  'sd-select-trigger__icon': true,
67
67
  'sd-select-trigger__icon--open': this.isOpen,
68
68
  } }))));
@@ -283,15 +283,15 @@ export class SdSelect {
283
283
  this.closeDropdown();
284
284
  },
285
285
  };
286
- return (h("sd-field", { key: '426e5777a976da591726108e8a19c27822151c34', 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, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
286
+ return (h("sd-field", { key: '2272f300b9aa6645dd772d06694e728f9abcea28', 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, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, onMouseEnter: () => {
287
287
  this.hovered = true;
288
288
  }, onMouseLeave: () => {
289
289
  this.hovered = false;
290
- } }, h("div", { key: '2e47d100a63bd6445f452701409cf05efabb30e0', class: "sd-select", ref: el => {
290
+ } }, h("div", { key: 'b9c769146720634abb4d018d022e28749ef0b939', class: "sd-select", ref: el => {
291
291
  this.triggerRef = el;
292
- } }, h("sd-select-trigger", { key: '65763371f56bae558f927189931b567e5ca73df6', ref: el => {
292
+ } }, h("sd-select-trigger", { key: '792bbee6e36298a306d720bc15bff61d5bba7545', ref: el => {
293
293
  this.triggerComponentRef = el;
294
- }, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '98518c875649c8e38c15565d9bfccf9c0b0eeb9a', ...portalProps }, h("sd-select-listbox", { key: 'be8e2c814bd30a57ee20b0a0b378f3809ffef26a', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.dropdownWidth || this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
294
+ }, displayText: this.displayText, placeholder: this.placeholder ?? '선택', disabled: this.disabled, isOpen: this.isOpen, onSdTriggerClick: this.handleTriggerClick, onSdTriggerFocus: this.handleTriggerFocus, onSdTriggerBlur: this.handleTriggerBlur })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: 'c70299735ea4f9fd257a0b3384e728bbf9fc9d97', ...portalProps }, h("sd-select-listbox", { key: 'd0dbfc0382131e998f54d6a0cb04fc6b1a9128c8', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.dropdownWidth || this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
295
295
  }
296
296
  static get is() { return "sd-select"; }
297
297
  static get originalStyleUrls() {
@@ -45,7 +45,7 @@ export class SdSwitch {
45
45
  '--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
46
46
  '--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
47
47
  };
48
- return (h("label", { key: 'dded99ece17ee7308da9c7183a725493f705caf2', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '8ca9b17fbbd97cdfe351f06fa5dba7efb22faf39', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'dffb2503df8755076218fc24ce974ed5cccb37c3', class: "sd-switch__track" }, h("div", { key: '52b8d7b125bf3a2fdddbcfe4690933432cb0ff29', class: "sd-switch__knob" })), this.label && h("span", { key: 'e4e62e02aa1d7336bf1de5add45ed0b2dbecbcd1', class: "sd-switch__label" }, this.label)));
48
+ return (h("label", { key: '0dd7063a45e2adc589e2e8dfc7cdb5c0c585aeac', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '01b94b14edd1571b8e21ba5a8bb72a0bd151b3a2', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '6c6bfaa3909ed885811f3e2af402d3a16c9b75e2', class: "sd-switch__track" }, h("div", { key: 'd3861a5c67779b7e871d7a2f45b20439648402cc', class: "sd-switch__knob" })), this.label && h("span", { key: '25c5198adb208b1016e9eb5bf01eaa6fb501ebe5', class: "sd-switch__label" }, this.label)));
49
49
  }
50
50
  static get is() { return "sd-switch"; }
51
51
  static get originalStyleUrls() {
@@ -28,10 +28,11 @@ export const TABLE_BODY_LAYOUT = {
28
28
  },
29
29
  dense: {
30
30
  height: tableTokens.table.body.dense.height,
31
- paddingY: tableTokens.table.body.dense.paddingY,
31
+ paddingY: tableTokens.table.body.paddingY.dense,
32
32
  },
33
- paddingX: tableTokens.table.body.paddingX.default,
34
- framePadding: tableTokens.table.body.paddingX.frame,
33
+ paddingX: tableTokens.table.body.paddingX.wide,
34
+ densePaddingX: tableTokens.table.body.paddingX.default,
35
+ framePadding: tableTokens.table.body.paddingX.default,
35
36
  };
36
37
  export const TABLE_BODY_TYPOGRAPHY = {
37
38
  fontFamily: tableTokens.table.body.typography.fontFamily,