@sellmate/design-system 1.5.0 → 1.7.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 (327) hide show
  1. package/dist/cjs/{component.table-qOFez3z3.js → component.table-DIxmbGBT.js} +4 -1
  2. package/dist/cjs/design-system.cjs.js +2 -2
  3. package/dist/cjs/{index-Cw-78mnC.js → index-BGwB03Tk.js} +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
  6. package/dist/cjs/sd-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
  8. package/dist/cjs/{sd-button.config-DH08UNfl.js → sd-button.config-BSHkfgdC.js} +17 -12
  9. package/dist/cjs/sd-button_2.cjs.entry.js +2 -2
  10. package/dist/cjs/sd-calendar_2.cjs.entry.js +1 -1
  11. package/dist/cjs/sd-callout.cjs.entry.js +1 -1
  12. package/dist/cjs/sd-card.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
  14. package/dist/cjs/sd-chip.cjs.entry.js +4 -4
  15. package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
  16. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +3 -2
  17. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  18. package/dist/cjs/sd-date-picker_7.cjs.entry.js +56 -25
  19. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-divider.cjs.entry.js +27 -0
  21. package/dist/cjs/sd-dropdown-button.cjs.entry.js +47 -22
  22. package/dist/cjs/sd-field_3.cjs.entry.js +7 -6
  23. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  24. package/dist/cjs/sd-ghost-button.cjs.entry.js +1 -1
  25. package/dist/cjs/sd-guide.cjs.entry.js +2 -2
  26. package/dist/cjs/sd-key-value-table.cjs.entry.js +3 -3
  27. package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
  28. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  29. package/dist/cjs/sd-modal-container.cjs.entry.js +4 -1
  30. package/dist/cjs/sd-pagination_4.cjs.entry.js +31 -51
  31. package/dist/cjs/sd-popover.cjs.entry.js +10 -8
  32. package/dist/cjs/sd-popup.cjs.entry.js +3 -3
  33. package/dist/cjs/sd-portal.cjs.entry.js +1 -1
  34. package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
  35. package/dist/cjs/sd-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +7 -7
  37. package/dist/cjs/sd-select_3.cjs.entry.js +9 -9
  38. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  39. package/dist/cjs/sd-table.cjs.entry.js +15 -49
  40. package/dist/cjs/{sd-table.config-DqgNOdXO.js → sd-table.config-BjJW74Zx.js} +7 -3
  41. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  42. package/dist/cjs/sd-tag.cjs.entry.js +1 -1
  43. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  44. package/dist/cjs/sd-text-link.cjs.entry.js +1 -1
  45. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  46. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  47. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  48. package/dist/cjs/{system-wrt-tcOq.js → system-CdAyz3ej.js} +3 -0
  49. package/dist/cjs/{tooltipArrow-BjSFKIUq.js → tooltipArrow-COD-SNZL.js} +1 -1
  50. package/dist/collection/collection-manifest.json +1 -0
  51. package/dist/collection/components/sd-chip/sd-chip.js +3 -3
  52. package/dist/collection/components/sd-divider/sd-divider.config.js +4 -0
  53. package/dist/collection/components/sd-divider/sd-divider.css +25 -0
  54. package/dist/collection/components/sd-divider/sd-divider.js +47 -0
  55. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -3
  56. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +29 -10
  57. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +74 -15
  58. package/dist/collection/components/sd-field/sd-field.js +2 -1
  59. package/dist/collection/components/sd-file-picker/sd-file-picker.css +15 -1
  60. package/dist/collection/components/sd-file-picker/sd-file-picker.js +44 -16
  61. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  62. package/dist/collection/components/sd-input/sd-input.js +2 -2
  63. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  64. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  65. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +21 -1
  66. package/dist/collection/components/sd-modal-container/sd-modal-container.js +3 -0
  67. package/dist/collection/components/sd-number-input/sd-number-input.js +75 -4
  68. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  69. package/dist/collection/components/sd-popover/sd-popover.js +13 -44
  70. package/dist/collection/components/sd-popup/sd-popup.js +1 -1
  71. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
  72. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  73. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
  74. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
  75. package/dist/collection/components/sd-select/sd-select.js +4 -4
  76. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  77. package/dist/collection/components/sd-table/sd-table.config.js +4 -1
  78. package/dist/collection/components/sd-table/sd-table.css +1 -1
  79. package/dist/collection/components/sd-table/sd-table.js +17 -51
  80. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  81. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  82. package/dist/collection/components/sd-table/sd-thead/sd-thead.css +15 -5
  83. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +6 -5
  84. package/dist/collection/components/sd-table/sd-tr/sd-tr.css +6 -7
  85. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +20 -40
  86. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  87. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  88. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  89. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  90. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  91. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  92. package/dist/components/index.js +1 -1
  93. package/dist/components/{p-CJ-QHG0F.js → p-2aQ4cVXp.js} +1 -1
  94. package/dist/components/{p-BGb86o0p.js → p-5_BC8C6x.js} +1 -1
  95. package/dist/components/{p-wOAxmZ1V.js → p-BDJJQALT.js} +1 -1
  96. package/dist/components/{p-HK6Bwtz8.js → p-BFAQ4nY2.js} +1 -1
  97. package/dist/components/{p-AO2RGdjH.js → p-BNXKU1BW.js} +1 -1
  98. package/dist/components/{p-DeK3og10.js → p-BVvVDIo0.js} +1 -1
  99. package/dist/components/{p-FKKk7Bk8.js → p-BYRvYsiC.js} +1 -1
  100. package/dist/components/{p-DmaopssQ.js → p-B_2U9h3P.js} +1 -1
  101. package/dist/{design-system/p-C29HUShl.js → components/p-BasCjDiE.js} +1 -1
  102. package/dist/components/{p-B3sb3aIX.js → p-C1Fk1556.js} +1 -1
  103. package/dist/components/{p-VuxN5d2D.js → p-CAP-9lnL.js} +1 -1
  104. package/dist/components/{p-BZabVWBD.js → p-CJRGLvgC.js} +1 -1
  105. package/dist/components/{p-m_OtjUs1.js → p-CK6jFkqR.js} +1 -1
  106. package/dist/components/{p-DrrsZftV.js → p-CRq8zgt_.js} +1 -1
  107. package/dist/components/{p-BqrZA_Nl.js → p-CSbyXQa9.js} +1 -1
  108. package/dist/components/{p-fpzgqVv1.js → p-CWGbMz0J.js} +1 -1
  109. package/dist/components/{p-Cvk-Luhs.js → p-CnbeQ2DI.js} +1 -1
  110. package/dist/components/{p-IThoLpLs.js → p-CtXad9by.js} +1 -1
  111. package/dist/components/p-CvfW21oo.js +1 -0
  112. package/dist/components/{p-BSQsJHnV.js → p-Cye8r1MG.js} +1 -1
  113. package/dist/components/{p-D5inekTL.js → p-D155awu4.js} +1 -1
  114. package/dist/components/{p-J3eT660D.js → p-D4mjSR0u.js} +1 -1
  115. package/dist/components/{p-DQFHAKL_.js → p-D6GUzecR.js} +1 -1
  116. package/dist/components/p-DAAHX92J.js +1 -0
  117. package/dist/components/p-DGyTYauz.js +1 -0
  118. package/dist/components/p-DK4Jvax0.js +1 -0
  119. package/dist/components/{p-BSfu4DO2.js → p-DQj-S8AC.js} +1 -1
  120. package/dist/components/p-DR1f1cS9.js +1 -0
  121. package/dist/components/p-DY1iQfib.js +1 -0
  122. package/dist/components/{p-C54v30vB.js → p-DeHt0RYQ.js} +1 -1
  123. package/dist/components/{p-D7nYP2a4.js → p-DfKa36bs.js} +1 -1
  124. package/dist/components/{p-Co3H5873.js → p-Dq38kgOY.js} +1 -1
  125. package/dist/components/{p-BLhu2So8.js → p-DwKYjjIC.js} +1 -1
  126. package/dist/components/{p-CgYjGJEh.js → p-EbF6qsnG.js} +1 -1
  127. package/dist/components/{p-yH47DvUh.js → p-F7yyGdIc.js} +1 -1
  128. package/dist/components/p-LZKaKr8O.js +1 -0
  129. package/dist/components/p-_zllPZMm.js +1 -0
  130. package/dist/components/p-j2khhcHY.js +1 -0
  131. package/dist/components/{p-CbXb6ylI.js → p-pTx5xpqU.js} +1 -1
  132. package/dist/components/p-pwNG5WaX.js +1 -0
  133. package/dist/components/p-vZLoby4N.js +1 -0
  134. package/dist/components/sd-action-modal.js +1 -1
  135. package/dist/components/sd-badge.js +1 -1
  136. package/dist/components/sd-barcode-input.js +1 -1
  137. package/dist/components/sd-button.js +1 -1
  138. package/dist/components/sd-calendar.js +1 -1
  139. package/dist/components/sd-callout.js +1 -1
  140. package/dist/components/sd-card.js +1 -1
  141. package/dist/components/sd-checkbox.js +1 -1
  142. package/dist/components/sd-chip.js +1 -1
  143. package/dist/components/sd-circle-progress.js +1 -1
  144. package/dist/components/sd-confirm-modal.js +1 -1
  145. package/dist/components/sd-date-box.js +1 -1
  146. package/dist/components/sd-date-picker-trigger.js +1 -1
  147. package/dist/components/sd-date-picker.js +1 -1
  148. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  149. package/dist/components/sd-date-range-picker.js +1 -1
  150. package/dist/components/sd-divider.d.ts +11 -0
  151. package/dist/components/sd-divider.js +1 -0
  152. package/dist/components/sd-dropdown-button.js +1 -1
  153. package/dist/components/sd-field.js +1 -1
  154. package/dist/components/sd-file-picker.js +1 -1
  155. package/dist/components/sd-floating-portal.js +1 -1
  156. package/dist/components/sd-form.js +1 -1
  157. package/dist/components/sd-ghost-button.js +1 -1
  158. package/dist/components/sd-guide.js +1 -1
  159. package/dist/components/sd-icon.js +1 -1
  160. package/dist/components/sd-input.js +1 -1
  161. package/dist/components/sd-key-value-table.js +1 -1
  162. package/dist/components/sd-linear-progress.js +1 -1
  163. package/dist/components/sd-loading-container.js +1 -1
  164. package/dist/components/sd-loading-modal.js +1 -1
  165. package/dist/components/sd-modal-container.js +1 -1
  166. package/dist/components/sd-number-input.js +1 -1
  167. package/dist/components/sd-pagination.js +1 -1
  168. package/dist/components/sd-popover.js +1 -1
  169. package/dist/components/sd-popup.js +1 -1
  170. package/dist/components/sd-portal.js +1 -1
  171. package/dist/components/sd-radio-button.js +1 -1
  172. package/dist/components/sd-radio-group.js +1 -1
  173. package/dist/components/sd-radio.js +1 -1
  174. package/dist/components/sd-select-list-item-search.js +1 -1
  175. package/dist/components/sd-select-list-item.js +1 -1
  176. package/dist/components/sd-select-listbox.js +1 -1
  177. package/dist/components/sd-select-trigger.js +1 -1
  178. package/dist/components/sd-select.js +1 -1
  179. package/dist/components/sd-switch.js +1 -1
  180. package/dist/components/sd-table.js +1 -1
  181. package/dist/components/sd-tabs.js +1 -1
  182. package/dist/components/sd-tag.js +1 -1
  183. package/dist/components/sd-tbody.js +1 -1
  184. package/dist/components/sd-td.js +1 -1
  185. package/dist/components/sd-text-link.js +1 -1
  186. package/dist/components/sd-textarea.js +1 -1
  187. package/dist/components/sd-thead.js +1 -1
  188. package/dist/components/sd-toast-container.js +1 -1
  189. package/dist/components/sd-toast.js +1 -1
  190. package/dist/components/sd-toggle.js +1 -1
  191. package/dist/components/sd-tooltip.js +1 -1
  192. package/dist/components/sd-tr.js +1 -1
  193. package/dist/design-system/design-system.css +1 -1
  194. package/dist/design-system/design-system.esm.js +1 -1
  195. package/dist/design-system/{p-c3e4853c.entry.js → p-0060136e.entry.js} +1 -1
  196. package/dist/design-system/{p-0894c492.entry.js → p-08798232.entry.js} +1 -1
  197. package/dist/design-system/{p-d39e515d.entry.js → p-0964c79a.entry.js} +1 -1
  198. package/dist/design-system/{p-4473c051.entry.js → p-102c2153.entry.js} +1 -1
  199. package/dist/design-system/{p-aac84d22.entry.js → p-10f579ba.entry.js} +1 -1
  200. package/dist/design-system/{p-b868d747.entry.js → p-1743651a.entry.js} +1 -1
  201. package/dist/design-system/p-17ec576c.entry.js +1 -0
  202. package/dist/design-system/{p-399d416c.entry.js → p-25fad267.entry.js} +1 -1
  203. package/dist/design-system/{p-06a6798d.entry.js → p-282b1260.entry.js} +1 -1
  204. package/dist/design-system/{p-d226bd61.entry.js → p-2e4d1fe1.entry.js} +1 -1
  205. package/dist/design-system/{p-819e28fe.entry.js → p-32d96a70.entry.js} +1 -1
  206. package/dist/design-system/{p-b8e34533.entry.js → p-4b43648c.entry.js} +1 -1
  207. package/dist/design-system/{p-61f4238b.entry.js → p-4cf1c8ae.entry.js} +1 -1
  208. package/dist/design-system/{p-435ae69e.entry.js → p-4ef942a8.entry.js} +1 -1
  209. package/dist/design-system/{p-9681b0ba.entry.js → p-521e5d2e.entry.js} +1 -1
  210. package/dist/design-system/p-54086285.entry.js +1 -0
  211. package/dist/design-system/{p-3f4a281f.entry.js → p-643c004a.entry.js} +1 -1
  212. package/dist/design-system/p-69a208c0.entry.js +1 -0
  213. package/dist/design-system/{p-795bae4c.entry.js → p-70f47e43.entry.js} +1 -1
  214. package/dist/design-system/{p-c7099e9e.entry.js → p-733aa107.entry.js} +1 -1
  215. package/dist/design-system/{p-352c68ae.entry.js → p-7444d475.entry.js} +1 -1
  216. package/dist/design-system/{p-03badf68.entry.js → p-840f592d.entry.js} +1 -1
  217. package/dist/design-system/{p-d3cc8538.entry.js → p-8d2815cf.entry.js} +1 -1
  218. package/dist/design-system/{p-9404ab06.entry.js → p-8fc49d2d.entry.js} +1 -1
  219. package/dist/design-system/{p-339cb954.entry.js → p-914d74c4.entry.js} +1 -1
  220. package/dist/design-system/p-9c74571a.entry.js +1 -0
  221. package/dist/design-system/{p-aeccfb2b.entry.js → p-9e75a5dc.entry.js} +1 -1
  222. package/dist/design-system/p-C7p6g_sM.js +1 -0
  223. package/dist/design-system/{p-DQFHAKL_.js → p-D6GUzecR.js} +1 -1
  224. package/dist/design-system/p-DGyTYauz.js +1 -0
  225. package/dist/design-system/p-DNWwGHho.js +2 -0
  226. package/dist/design-system/p-LIf7YMBN.js +1 -0
  227. package/dist/design-system/{p-2bdceecb.entry.js → p-a6c9baa5.entry.js} +1 -1
  228. package/dist/design-system/{p-fa670cc4.entry.js → p-adce8704.entry.js} +1 -1
  229. package/dist/design-system/{p-4a91875c.entry.js → p-afdca5bb.entry.js} +1 -1
  230. package/dist/design-system/{p-00b2c850.entry.js → p-b08ca29b.entry.js} +1 -1
  231. package/dist/design-system/p-b5e9320f.entry.js +1 -0
  232. package/dist/design-system/{p-1e530c87.entry.js → p-d1da969d.entry.js} +1 -1
  233. package/dist/design-system/{p-679bce6c.entry.js → p-d8292621.entry.js} +1 -1
  234. package/dist/design-system/{p-eae21a79.entry.js → p-e1350f4d.entry.js} +1 -1
  235. package/dist/design-system/p-e159f70d.entry.js +1 -0
  236. package/dist/design-system/{p-e902a3f4.entry.js → p-e9079238.entry.js} +1 -1
  237. package/dist/design-system/{p-14e30f67.entry.js → p-ea17a361.entry.js} +1 -1
  238. package/dist/design-system/{p-a71d4947.entry.js → p-eef5f8d7.entry.js} +1 -1
  239. package/dist/design-system/p-f172920e.entry.js +1 -0
  240. package/dist/design-system/{p-8ee990bd.entry.js → p-f97b75d3.entry.js} +1 -1
  241. package/dist/design-system/p-j2khhcHY.js +1 -0
  242. package/dist/esm/{component.table-DQFHAKL_.js → component.table-D6GUzecR.js} +4 -1
  243. package/dist/esm/design-system.js +3 -3
  244. package/dist/esm/{index-0U6dRjlq.js → index-DNWwGHho.js} +1 -1
  245. package/dist/esm/loader.js +3 -3
  246. package/dist/esm/sd-action-modal.entry.js +1 -1
  247. package/dist/esm/sd-badge.entry.js +1 -1
  248. package/dist/esm/sd-barcode-input.entry.js +1 -1
  249. package/dist/esm/{sd-button.config-BDjErF_K.js → sd-button.config-C7p6g_sM.js} +17 -12
  250. package/dist/esm/sd-button_2.entry.js +2 -2
  251. package/dist/esm/sd-calendar_2.entry.js +1 -1
  252. package/dist/esm/sd-callout.entry.js +1 -1
  253. package/dist/esm/sd-card.entry.js +1 -1
  254. package/dist/esm/sd-checkbox.entry.js +1 -1
  255. package/dist/esm/sd-chip.entry.js +4 -4
  256. package/dist/esm/sd-circle-progress.entry.js +2 -2
  257. package/dist/esm/sd-confirm-modal_2.entry.js +3 -2
  258. package/dist/esm/sd-date-box.entry.js +1 -1
  259. package/dist/esm/sd-date-picker_7.entry.js +56 -25
  260. package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
  261. package/dist/esm/sd-divider.entry.js +25 -0
  262. package/dist/esm/sd-dropdown-button.entry.js +47 -22
  263. package/dist/esm/sd-field_3.entry.js +7 -6
  264. package/dist/esm/sd-form.entry.js +1 -1
  265. package/dist/esm/sd-ghost-button.entry.js +1 -1
  266. package/dist/esm/sd-guide.entry.js +2 -2
  267. package/dist/esm/sd-key-value-table.entry.js +3 -3
  268. package/dist/esm/sd-linear-progress.entry.js +3 -3
  269. package/dist/esm/sd-loading-container.entry.js +3 -3
  270. package/dist/esm/sd-modal-container.entry.js +4 -1
  271. package/dist/esm/sd-pagination_4.entry.js +31 -51
  272. package/dist/esm/sd-popover.entry.js +10 -8
  273. package/dist/esm/sd-popup.entry.js +3 -3
  274. package/dist/esm/sd-portal.entry.js +1 -1
  275. package/dist/esm/sd-radio-button.entry.js +1 -1
  276. package/dist/esm/sd-radio.entry.js +1 -1
  277. package/dist/esm/sd-select-list-item_2.entry.js +7 -7
  278. package/dist/esm/sd-select_3.entry.js +9 -9
  279. package/dist/esm/sd-switch.entry.js +2 -2
  280. package/dist/esm/{sd-table.config-CFHtQ8LX.js → sd-table.config-D9meRqTx.js} +7 -4
  281. package/dist/esm/sd-table.entry.js +15 -49
  282. package/dist/esm/sd-tabs.entry.js +2 -2
  283. package/dist/esm/sd-tag.entry.js +1 -1
  284. package/dist/esm/sd-td.entry.js +2 -2
  285. package/dist/esm/sd-text-link.entry.js +1 -1
  286. package/dist/esm/sd-toast-container.entry.js +2 -2
  287. package/dist/esm/sd-toast.entry.js +3 -3
  288. package/dist/esm/sd-toggle.entry.js +2 -2
  289. package/dist/esm/{system-DGlmvjGc.js → system-j2khhcHY.js} +3 -0
  290. package/dist/esm/{tooltipArrow-O5LOsHae.js → tooltipArrow-Cj3AqWK0.js} +1 -1
  291. package/dist/types/components/sd-chip/sd-chip.d.ts +1 -1
  292. package/dist/types/components/sd-divider/sd-divider.config.d.ts +3 -0
  293. package/dist/types/components/sd-divider/sd-divider.d.ts +5 -0
  294. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +5 -0
  295. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +3 -0
  296. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
  297. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -0
  298. package/dist/types/components/sd-number-input/sd-number-input.d.ts +4 -0
  299. package/dist/types/components/sd-popover/sd-popover.d.ts +2 -2
  300. package/dist/types/components/sd-table/sd-table.config.d.ts +2 -0
  301. package/dist/types/components/sd-table/sd-table.d.ts +1 -6
  302. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +1 -5
  303. package/dist/types/components.d.ts +83 -29
  304. package/hydrate/index.js +253 -194
  305. package/hydrate/index.mjs +253 -194
  306. package/package.json +1 -1
  307. package/dist/components/p-BZCvsLRf.js +0 -1
  308. package/dist/components/p-BjkROjjt.js +0 -1
  309. package/dist/components/p-DChOBMCc.js +0 -1
  310. package/dist/components/p-DGlmvjGc.js +0 -1
  311. package/dist/components/p-DUcbofDO.js +0 -1
  312. package/dist/components/p-DZbc1mgp.js +0 -1
  313. package/dist/components/p-DdLntfiw.js +0 -1
  314. package/dist/components/p-DhTcn6jX.js +0 -1
  315. package/dist/components/p-DyZNk1VT.js +0 -1
  316. package/dist/components/p-iCuIUhaK.js +0 -1
  317. package/dist/components/p-uHITnW_J.js +0 -1
  318. package/dist/design-system/p-0U6dRjlq.js +0 -2
  319. package/dist/design-system/p-3d61e68f.entry.js +0 -1
  320. package/dist/design-system/p-40bdbe5a.entry.js +0 -1
  321. package/dist/design-system/p-786c72e9.entry.js +0 -1
  322. package/dist/design-system/p-78de36f2.entry.js +0 -1
  323. package/dist/design-system/p-843d4b16.entry.js +0 -1
  324. package/dist/design-system/p-92f368a2.entry.js +0 -1
  325. package/dist/design-system/p-BDjErF_K.js +0 -1
  326. package/dist/design-system/p-DGlmvjGc.js +0 -1
  327. package/dist/design-system/p-DZbc1mgp.js +0 -1
@@ -12,6 +12,9 @@ export class SdNumberInput {
12
12
  value = null;
13
13
  label;
14
14
  labelWidth = '';
15
+ icon = undefined;
16
+ labelTooltip = '';
17
+ labelTooltipProps = null;
15
18
  addonLabel = '';
16
19
  addonAlign = 'start';
17
20
  placeholder = '입력해 주세요.';
@@ -272,15 +275,15 @@ export class SdNumberInput {
272
275
  '--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
273
276
  '--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
274
277
  };
275
- return (h("sd-field", { key: 'b32943cd55dad7d6bb4fc1a18812360c2ab01a83', 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, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '050395b8ab3bd77ff5f786b3de182b7a35b8b01f', class: {
278
+ return (h("sd-field", { key: '508f0952028672d4951b5339d581b2180dd5a425', 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: '8762e78034b655fc325de8a5be1dcc6dfad280f3', class: {
276
279
  'sd-number-input__content': true,
277
280
  'sd-number-input__content--no-stepper': !this.useButton,
278
- } }, this.useButton && (h("button", { key: 'e76188a1f1f76450227328854ee3048d7b2b9e85', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: '544e5a41790302df564ca0a3e83e2f9052c3f290', name: "minus", size: iconSize, color: this.isDecrementDisabled()
281
+ } }, this.useButton && (h("button", { key: '5a341252ff361744d47bf2297d164fbf39d7a2fe', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'f8de73e01fa5762e6fadd10c9fda610efd3710e4', name: "minus", size: iconSize, color: this.isDecrementDisabled()
279
282
  ? NUMBER_INPUT_STEPPER.icon.disabled
280
- : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '34e8c9af864332b8614e3c9a5d2cf94310a2555d', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '07e0484ad473e010d9ba8f971875bd463585ca47', 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: '5e010880ff176350f333dc0e9de9b5f1d89b7efd', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '0fc29e67f960bc2e93da90ffcd3d83ef24f151c2', 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: {
281
284
  textAlign: this.useButton ? 'center' : 'right',
282
285
  ...this.inputStyle,
283
- } }), this.inputSuffix && h("span", { key: '990a3e1dc5cfeaa8e1823391e0bb0218ce4cfb02', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: 'd2496ab718cf44fd658c871086d8e67c66380668', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'fcab0109e01a1c683bf09349cb699534eaa1a8d1', name: "add", size: iconSize, color: this.isIncrementDisabled()
286
+ } }), this.inputSuffix && h("span", { key: 'db977e7d355fa86ddb35f4e1417e2408d8485ec2', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '55bdd004f7bb3aa160f90edf7696944af23e3619', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: 'b5ce9631347c3f78b6f0fe04060def8e3a04bac3', name: "add", size: iconSize, color: this.isIncrementDisabled()
284
287
  ? NUMBER_INPUT_STEPPER.icon.disabled
285
288
  : NUMBER_INPUT_STEPPER.icon.default }))))));
286
289
  }
@@ -483,6 +486,74 @@ export class SdNumberInput {
483
486
  "attribute": "label-width",
484
487
  "defaultValue": "''"
485
488
  },
489
+ "icon": {
490
+ "type": "unknown",
491
+ "mutable": false,
492
+ "complexType": {
493
+ "original": "IconProps",
494
+ "resolved": "IconProps | undefined",
495
+ "references": {
496
+ "IconProps": {
497
+ "location": "global",
498
+ "id": "global::IconProps"
499
+ }
500
+ }
501
+ },
502
+ "required": false,
503
+ "optional": true,
504
+ "docs": {
505
+ "tags": [],
506
+ "text": ""
507
+ },
508
+ "getter": false,
509
+ "setter": false,
510
+ "defaultValue": "undefined"
511
+ },
512
+ "labelTooltip": {
513
+ "type": "string",
514
+ "mutable": false,
515
+ "complexType": {
516
+ "original": "string",
517
+ "resolved": "string",
518
+ "references": {}
519
+ },
520
+ "required": false,
521
+ "optional": false,
522
+ "docs": {
523
+ "tags": [],
524
+ "text": ""
525
+ },
526
+ "getter": false,
527
+ "setter": false,
528
+ "reflect": false,
529
+ "attribute": "label-tooltip",
530
+ "defaultValue": "''"
531
+ },
532
+ "labelTooltipProps": {
533
+ "type": "unknown",
534
+ "mutable": false,
535
+ "complexType": {
536
+ "original": "SdTooltipProps | null",
537
+ "resolved": "SdTooltip | null",
538
+ "references": {
539
+ "SdTooltipProps": {
540
+ "location": "import",
541
+ "path": "../sd-tooltip/sd-tooltip.config",
542
+ "id": "src/components/sd-tooltip/sd-tooltip.config.ts::SdTooltipProps",
543
+ "referenceLocation": "SdTooltipProps"
544
+ }
545
+ }
546
+ },
547
+ "required": false,
548
+ "optional": false,
549
+ "docs": {
550
+ "tags": [],
551
+ "text": ""
552
+ },
553
+ "getter": false,
554
+ "setter": false,
555
+ "defaultValue": "null"
556
+ },
486
557
  "addonLabel": {
487
558
  "type": "string",
488
559
  "mutable": false,
@@ -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: 'b16a4c0ff75913e80fdb9a539d8afb714931a531', class: {
86
+ return (h("div", { key: 'a5d1cb7e22c1d582800f329e6b02ffd9f5e6605c', class: {
87
87
  'sd-pagination': true,
88
88
  'sd-pagination--simple': this.simple,
89
- }, style: cssVars }, h("div", { key: '42d019164c409d09d13b94845c9ee99ece41a8f3', 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: '196f7f2b3cc0fc896ddbcd4449b23d31729c7ec3', 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: '9695ce3aaede66529547151800fede0f5413e7d8', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
92
+ }, onClick: () => this.handlePageChange(n) }, n))))), h("div", { key: '5fe50f0cef43f8b5ef72556ed4d19653cb30a7e9', 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() {
@@ -15,11 +15,10 @@ export class SdPopover {
15
15
  disabled = false;
16
16
  type = 'button';
17
17
  menuTitle;
18
- messages = [];
19
18
  leftLink;
20
19
  button;
21
20
  menuClass = '';
22
- useClose = false;
21
+ slotContentHTML = '';
23
22
  showChange;
24
23
  buttonEl;
25
24
  setShow = (next) => {
@@ -41,27 +40,30 @@ export class SdPopover {
41
40
  }
42
41
  }
43
42
  handleClose = () => this.setShow(false);
43
+ componentWillLoad() {
44
+ this.slotContentHTML = this.el.innerHTML;
45
+ this.el.innerHTML = '';
46
+ }
44
47
  render() {
45
48
  const placement = this.placement ?? 'bottom';
46
49
  const color = this.color ?? '#01BB4B';
47
50
  const icon = this.icon ?? 'helpOutline';
48
51
  const iconSize = this.iconSize ?? 12;
49
52
  const menuClass = this.menuClass ?? '';
50
- const messages = Array.isArray(this.messages) ? this.messages : [];
51
53
  const leftLink = this.leftLink;
52
54
  const button = this.button;
53
55
  const hasFooter = !!leftLink || !!button;
54
- return (h(Fragment, { key: 'b50da46efd85cdb48f66b24c591ab662a9fd62cb' }, 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, 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: 'a31d6c00a9b61826fa412247f603d78874a3dba6', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '11020f31a14dbb7325b30ebc48315b344662cf43', class: {
56
+ return (h(Fragment, { key: '3eb48b91ccf49d78cf332bf2c83268ca903be3ef' }, 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: '94c0b1d56307b29944d078d03bdd686c3eacaee0', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.popoverOffset }, h("div", { key: '3f969dcad5785973e80cab6090e8b687461bbbe2', class: {
55
57
  'sd-floating-menu': true,
56
58
  'sd-floating-menu--popover': true,
57
59
  [`sd-floating-menu--${placement}`]: true,
58
60
  [menuClass]: menuClass !== '',
59
61
  }, style: {
60
62
  '--sd-floating-bg': popoverTokens.popover.bg,
61
- } }, h("i", { key: '51b35ade68a68c92b7488b97f2b1808d7fcf33e5', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'd491c997e07a2bb2d4a3ad3624d5098457f91c05' })), h("div", { key: '19bfc90b0c5da4fe736aad3b8b2061ac58d8efb4', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: '31875711b7cd54c0c48f0017ac94365c3cc97821', class: "sd-floating-menu__title" }, this.menuTitle), messages.length > 0 && (h("div", { key: '9c78a748831045f96fe48fd2ae9dcd85b1335aa0', class: "sd-floating-menu__messages" }, messages.map((message, i) => (h("div", { key: `msg-${i}` }, message))))), hasFooter && (h("div", { key: '787f0d2ac133bef9f72ce248b943b0ff9883db9e', class: {
63
+ } }, h("i", { key: '3992cc7f589dc932c59a9bd88376b93e66e37cd0', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'b2d27b5131e022d3d22a82cccf9cd80afc414194' })), h("div", { key: '48b33b11d8179e51fe4b3f0fbc24084d197b5447', class: "sd-floating-menu__content" }, this.menuTitle && h("div", { key: 'b955fb4707b66d003414197254a165388ceafb11', class: "sd-floating-menu__title" }, this.menuTitle), this.slotContentHTML && (h("div", { key: 'c5416ab9a7f4f0bcda01af31304e4358f25ff6e2', class: "sd-floating-menu__messages", innerHTML: this.slotContentHTML })), hasFooter && (h("div", { key: '51db3b7a70e4f1befc49b7ee26422a634a38d9e1', class: {
62
64
  'sd-floating-menu__buttons': true,
63
65
  'sd-floating-menu__buttons--with-link': !!leftLink,
64
- } }, leftLink && (h("sd-text-link", { key: '2000a926c2c808e6ee51f47905fadf8847553bfe', 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: 'cca9d6bef231fe4c469d8895fefa8b6d5855a57c', name: button.name ?? 'secondary_xs', label: button.label, icon: button.icon, rightIcon: button.rightIcon, ariaLabel: button.ariaLabel, disabled: button.disabled, type: button.type, onSdClick: button.onClick }))))), this.useClose && (h("sd-ghost-button", { key: '032461787d74367ea047c088e08704ce7409f74b', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose })))))));
66
+ } }, leftLink && (h("sd-text-link", { key: 'a2a164fa9ab3294c0b0e726c7c69405a612de264', 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: '41c917026e1255ac2bd355042500c6efa0e76cb0', 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: 'dde5bbb7bc8b9b5ce6b122eb566ce961dd640ad0', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xs", onClick: this.handleClose }))))));
65
67
  }
66
68
  static get is() { return "sd-popover"; }
67
69
  static get originalStyleUrls() {
@@ -338,24 +340,6 @@ export class SdPopover {
338
340
  "reflect": false,
339
341
  "attribute": "menu-title"
340
342
  },
341
- "messages": {
342
- "type": "unknown",
343
- "mutable": false,
344
- "complexType": {
345
- "original": "string[]",
346
- "resolved": "string[]",
347
- "references": {}
348
- },
349
- "required": false,
350
- "optional": false,
351
- "docs": {
352
- "tags": [],
353
- "text": ""
354
- },
355
- "getter": false,
356
- "setter": false,
357
- "defaultValue": "[]"
358
- },
359
343
  "leftLink": {
360
344
  "type": "unknown",
361
345
  "mutable": false,
@@ -421,29 +405,14 @@ export class SdPopover {
421
405
  "reflect": false,
422
406
  "attribute": "menu-class",
423
407
  "defaultValue": "''"
424
- },
425
- "useClose": {
426
- "type": "boolean",
427
- "mutable": false,
428
- "complexType": {
429
- "original": "boolean",
430
- "resolved": "boolean",
431
- "references": {}
432
- },
433
- "required": false,
434
- "optional": false,
435
- "docs": {
436
- "tags": [],
437
- "text": ""
438
- },
439
- "getter": false,
440
- "setter": false,
441
- "reflect": false,
442
- "attribute": "use-close",
443
- "defaultValue": "false"
444
408
  }
445
409
  };
446
410
  }
411
+ static get states() {
412
+ return {
413
+ "slotContentHTML": {}
414
+ };
415
+ }
447
416
  static get events() {
448
417
  return [{
449
418
  "method": "showChange",
@@ -36,7 +36,7 @@ export class SdPopup {
36
36
  ...DEFAULT_SUBMIT_BUTTON_PROPS,
37
37
  ...this.submitButtonProps,
38
38
  };
39
- return (h("div", { key: 'fe8ca033482913b9c8c7a62963d81d8c5c86c724', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: 'b27afc04689384abc8cdd45e67e4765c3fef82e9', class: "sd-popup__header" }, h("h2", { key: '15d6cf170e483bfdea861aa7a218df8379d83be2', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: 'daf70c8196ad95b214c978166f547a2a2fa56814', class: "sd-popup__body" }, h("slot", { key: 'f8f4a9f93b88404993e2c8f7155abe4756f9bdba' })), this.useFooter && (h("footer", { key: '38ff051abd11378ad0a83b2d634985d689e0dc27', class: "sd-popup__footer" }, h("div", { key: '149a3de3d7ab0703d9cec41b35af23a6eebd67de', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '2507cece435fa3e00ea698bebf6c980fea081521', name: "footer-left" })), h("sd-button", { key: '5ae38a07e39437d6f3b8aa111258d60aa044152d', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
39
+ return (h("div", { key: '53c0cca8c1188f36569ffaf79767fe81f9a5bf87', class: `sd-popup sd-popup--${this.type}`, style: cssVars }, h("header", { key: 'f8459d43d2568e1f8fbcb19f789ba2a9998db8e7', class: "sd-popup__header" }, h("h2", { key: '56b960c73d215e4ce878007acd0b04e1371ee87b', class: "sd-popup__title" }, this.popupTitle)), h("div", { key: '513de018b9826c54672bdc8019447b3026fb2d9f', class: "sd-popup__body" }, h("slot", { key: '60109bc7ee30ac100a08285e50d24027e6bc22d0' })), this.useFooter && (h("footer", { key: '4daa5fa938f2d79b2ab4d13de1d6aeb0b02d78e1', class: "sd-popup__footer" }, h("div", { key: '6f885be6acb363054c659f7f844558b9bda1ca74', class: "sd-popup__footer-slot sd-popup__footer-slot--left" }, h("slot", { key: '57231c78bb0512407323c8ef16a90011027abbc4', name: "footer-left" })), h("sd-button", { key: 'ce4c1e577d4b3346d368e22ce713ccc57f54f231', ...submitButtonProps, class: "sd-popup__submit", onSdClick: () => this.submit.emit() })))));
40
40
  }
41
41
  static get is() { return "sd-popup"; }
42
42
  static get originalStyleUrls() {
@@ -70,7 +70,7 @@ export class SdSelectListItem {
70
70
  return (
71
71
  // 키보드 네비게이션은 부모 listbox 의 ArrowUp/Down + Enter 가 담당. 항목 자체는 role=option, tabindex=-1 으로 표시.
72
72
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events
73
- h("div", { key: '37189acb2854061fd120d662050fddddb396170c', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
73
+ h("div", { key: 'd1030a5fb5797ea6be89f6a3a32201145e5fa387', role: "option", tabindex: -1, "aria-selected": this.isSelected === true ? 'true' : 'false', class: {
74
74
  'sd-select-list-item': true,
75
75
  'sd-select-list-item--group': isGroup,
76
76
  'sd-select-list-item--depth1-group': isDepth1Group,
@@ -80,7 +80,7 @@ export class SdSelectListItem {
80
80
  'sd-select-list-item--focused': this.isFocused,
81
81
  'sd-select-list-item--selectable': this.isSelectable && !this.option.disabled,
82
82
  'sd-select-list-item--disabled': !!this.option.disabled,
83
- }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '7cc43ed0a1c4a2019be3a7f6f60de1c7f03a6148', 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: '331c7d1ded82834521f3292dc739612f24d7209e', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '80b34cd1a6e67719d50c62afedf23c0903259c78', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
83
+ }, style: cssVars, onClick: this.handleClick }, this.useCheckbox && (h("sd-checkbox", { key: '1f8a7812f567ece12b7e064a9e9738366b0a0e11', 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: '55e2e4c9497aea99fc0502b40ac16809c257206e', class: "sd-select-list-item__label" }, this.option.label), this.countInfo && (h("span", { key: '722599bf0022770c91c02d4e67a6e234da4e0f80', class: "sd-select-list-item__count" }, "(", this.countInfo.selected, "/", this.countInfo.total, ")"))));
84
84
  }
85
85
  static get is() { return "sd-select-list-item"; }
86
86
  static get originalStyleUrls() {
@@ -41,15 +41,15 @@ export class SdSelectListItemSearch {
41
41
  clearTimeout(this.debounceTimer);
42
42
  }
43
43
  render() {
44
- return (h("div", { key: 'a8b62b61ec6a0afd69de50b8df02e57de2a04c8c', class: {
44
+ return (h("div", { key: '69416e32b3915ca27d8e2f25a7f36d1868835696', class: {
45
45
  'sd-select-list-item-search': true,
46
46
  'sd-select-list-item-search--scrolled': this.isScrolled,
47
- } }, h("div", { key: '2b04a677a8b4e3212eff83c07609a4b7d89799c1', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: 'c0c51d4b0150fee7151c7e2bcc5aaf8428d31043', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '85d2309cbb037851053c34baeca5f59c690c0881', ref: el => {
47
+ } }, h("div", { key: '3917460421d197d70abc7b6b9c75fa85ce9e6631', class: "sd-select-list-item-search__inner" }, h("sd-icon", { key: '42a0d8221d2479457af32db35111bb35d7a28e53', name: "search", size: 16, color: "grey_70", class: "sd-select-list-item-search__icon" }), h("input", { key: '48ab6ef174ddf194aa2616d0cbfbc09fa2032222', ref: el => {
48
48
  this.inputEl = el;
49
- }, 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: '564b6ae6dbab1fa5f4f6d977fa9fd52bb9114873', type: "button", class: {
49
+ }, 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: 'ead5c189a8ef2b8cb3696cc6536c58dd4864c71e', type: "button", class: {
50
50
  'sd-select-list-item-search__clear': true,
51
51
  'sd-select-list-item-search__clear--hidden': this.searchText === '',
52
- }, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '8ae0f92f8762681cc4c2a6fc11340498b8b01c98', name: "close", size: 12, color: "#888888" })))));
52
+ }, onClick: this.handleClear, tabindex: this.searchText !== '' ? 0 : -1, "aria-hidden": this.searchText !== '' ? 'false' : 'true' }, h("sd-icon", { key: '6590c0acd5114722126459f4886c587b320a17e1', name: "close", size: 12, color: "#888888" })))));
53
53
  }
54
54
  static get is() { return "sd-select-list-item-search"; }
55
55
  static get originalStyleUrls() {
@@ -348,9 +348,9 @@ export class SdSelectListbox {
348
348
  '--listbox-max-height': this.maxHeight ?? '260px',
349
349
  '--listbox-radius': `${LIST_BOX_LAYOUT.radius}px`,
350
350
  };
351
- return (h("div", { key: '1834dbfee219988e78ad47d3640ebafb9983298c', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: '28fbfce57184f2a8c090d628c5b33cecf9337c3c', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: 'b7430d72cdb26cad59b226af8cf98d796645390c', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
351
+ return (h("div", { key: 'f2b243788074de1aa3e78a78566a622ab3116351', class: "sd-select-listbox", style: cssVars }, this.showSearch && (h("sd-select-list-item-search", { key: 'a9f9f30a43e1965756095e29a24f75b4f1c14100', isScrolled: this.isScrolled, onSdSearchFilter: this.handleSearchFilter })), h("div", { key: 'b500f705a69e2c98e3ad79bf04c2bb2a4b8a6162', class: "sd-select-listbox__list", onScroll: this.handleScroll, ref: el => {
352
352
  this.listEl = el;
353
- } }, this.showSelectAll && (h("sd-select-list-item", { key: '8f159cdef838c0f39bb7aad1717a88c04c75dbda', 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) })))))));
353
+ } }, this.showSelectAll && (h("sd-select-list-item", { key: 'c47e41ebce483ee311cae261b2f4fe21c134e437', 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) })))))));
354
354
  }
355
355
  static get is() { return "sd-select-listbox"; }
356
356
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class SdSelectTrigger {
42
42
  ? SELECT_COLORS.icon.disabled
43
43
  : SELECT_COLORS.icon.default,
44
44
  };
45
- return (h("div", { key: '645d8e7ff5065664a3510b127628cb54d97fb613', ref: el => {
45
+ return (h("div", { key: '471e6df2948987989fa192474b0305ad0c8bcd32', ref: el => {
46
46
  this.triggerEl = el;
47
47
  }, role: "button", "aria-haspopup": "listbox", "aria-expanded": this.isOpen ? 'true' : 'false', tabindex: this.disabled ? -1 : 0, class: {
48
48
  'sd-select-trigger': true,
@@ -53,7 +53,7 @@ export class SdSelectTrigger {
53
53
  e.preventDefault();
54
54
  this.handleClick();
55
55
  }
56
- }, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '515dda6d98ad09b0854e0ef0e04f0bf8c9592d1a', class: "sd-select-trigger__content" }, h("span", { key: '9d92577675d0c7e6ba32174ae0cdd754788dbccb', class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택')), h("sd-icon", { key: '347532a73d9ff2929d9f716fb8d2e314af7d7069', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
56
+ }, onFocus: this.handleFocus, onBlur: this.handleBlur }, h("div", { key: '8133b44065cd4a27d6aa71980c8684c363c7e7ba', class: "sd-select-trigger__content" }, h("span", { key: 'd8ee3d118cf760b687b491387592efe0c7532cf2', class: "sd-select-trigger__text" }, hasValue ? this.displayText : (this.placeholder ?? '선택')), h("sd-icon", { key: '0271061d32f1236346812a21a2e483402a94415c', name: "chevronDown", size: 12, color: "var(--trigger-icon-color)", class: {
57
57
  'sd-select-trigger__icon': true,
58
58
  'sd-select-trigger__icon--open': this.isOpen,
59
59
  } }))));
@@ -254,15 +254,15 @@ export class SdSelect {
254
254
  this.closeDropdown();
255
255
  },
256
256
  };
257
- return (h("sd-field", { key: '21849c194994f51c36b2fa5eafd606230b21e365', 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: () => {
257
+ return (h("sd-field", { key: '08992d05403b6e7ba6aec7968dd6fa99d8857666', 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: () => {
258
258
  this.hovered = true;
259
259
  }, onMouseLeave: () => {
260
260
  this.hovered = false;
261
- } }, h("div", { key: 'bcba54ed8d325a540d14af14c9b3bf332f631ce8', class: "sd-select", ref: el => {
261
+ } }, h("div", { key: '3372029d54087654b8172d4d374126c0be703f5c', class: "sd-select", ref: el => {
262
262
  this.triggerRef = el;
263
- } }, h("sd-select-trigger", { key: '72e361ca6e162eee56b82398902e89226e980d3d', ref: el => {
263
+ } }, h("sd-select-trigger", { key: 'af832319b490501468b05da69eeed964a07f00ea', ref: el => {
264
264
  this.triggerComponentRef = el;
265
- }, 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: '0ff55857cbc146db57caa53d560752d0fae8413b', ...portalProps }, h("sd-select-listbox", { key: '20c103309dc7f2eaf4bee6abae271606b64ace8b', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
265
+ }, 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: 'b6b9211aadd5ef643716948dfa67d6d923420679', ...portalProps }, h("sd-select-listbox", { key: '9d532180439c8d1867e349d89914626b644ac224', type: this.type, options: this.options, value: this.value, emitValue: this.emitValue, useSearch: this.useSearch, useSelectAll: this.useSelectAll, triggerWidth: this.triggerWidth, maxWidth: this.resolvedMaxDropdownWidth, maxHeight: this.resolvedDropdownHeight, onSdOptionSelect: event => this.handleOptionSelect(event.detail) })))));
266
266
  }
267
267
  static get is() { return "sd-select"; }
268
268
  static get originalStyleUrls() {
@@ -40,7 +40,7 @@ export class SdSwitch {
40
40
  '--sd-switch-line-height': `${SWITCH_TYPOGRAPHY.lineHeight}px`,
41
41
  '--sd-switch-text-decoration': SWITCH_TYPOGRAPHY.textDecoration,
42
42
  };
43
- return (h("label", { key: '3d9449733d73dcbd2d7a95505b6afd930a43a114', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'f8d35ea743b5f85697d9d4de8fe915ce2d8f7b56', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'b62a6bfa60c488270184698610337926b688baff', class: "sd-switch__track" }, h("div", { key: 'da7764fe4a4202366fe0a922de687ece121eb73f', class: "sd-switch__knob" })), this.label && h("span", { key: '924c2939f0cb2196ff69be560e1c7f113590c73b', class: "sd-switch__label" }, this.label)));
43
+ return (h("label", { key: 'b5dc0e7a9a59d679402226aa18f3155e42f6b7c2', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'aa77eb38e07dfc911eb3a72c3ab3b3287423deaa', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: 'b973671f6229fea3aab8d4040cc2916e32001eaf', class: "sd-switch__track" }, h("div", { key: 'db6073df05c1d77681559490fd773fdce24c6ca4', class: "sd-switch__knob" })), this.label && h("span", { key: '8ee1f5ba9fc1561a351d6982929721cc33ce0650', class: "sd-switch__label" }, this.label)));
44
44
  }
45
45
  static get is() { return "sd-switch"; }
46
46
  static get originalStyleUrls() {
@@ -47,7 +47,8 @@ export const TABLE_BORDER = {
47
47
  };
48
48
  export const TABLE_SEPARATOR = {
49
49
  color: tableTokens.table.separator.color,
50
- width: tableTokens.table.separator.Width,
50
+ width: tableTokens.table.separator.width.default,
51
+ denseWidth: tableTokens.table.separator.width.dense,
51
52
  };
52
53
  export const TABLE_RADIUS = tableTokens.table.radius;
53
54
  // ── Content Tokens ──
@@ -71,6 +72,8 @@ export const TABLE_KEY_VALUE = {
71
72
  bodyPadding: tableTokens.table.keyValue.body.padding,
72
73
  height: tableTokens.table.keyValue.height,
73
74
  };
75
+ // ── Selectable Column ──
76
+ export const TABLE_SELECTABLE_COLUMN_WIDTH = 48;
74
77
  // ── Header Icon Color Defaults ──
75
78
  const ICON_DEFAULT_COLOR = {
76
79
  pageEdit: systemTokens.color.darkblue.strong,
@@ -28,7 +28,7 @@ sd-table *,
28
28
  border-radius: var(--table-radius, 8px);
29
29
  overflow: hidden;
30
30
  }
31
- .sd-table__wrapper--radius-use-top {
31
+ .sd-table__wrapper--use-top {
32
32
  border-radius: 0 0 var(--table-radius, 8px) var(--table-radius, 8px);
33
33
  }
34
34
 
@@ -1,7 +1,7 @@
1
1
  import { h, Host, readTask, forceUpdate, } from "@stencil/core";
2
2
  import { nanoid } from "nanoid";
3
3
  import { TABLE_ID_ATTR, } from "./constants";
4
- import { TABLE_RADIUS, TABLE_BORDER, TABLE_BODY_TYPOGRAPHY, TABLE_BODY_LAYOUT, } from "./sd-table.config";
4
+ import { TABLE_RADIUS, TABLE_BORDER, TABLE_BODY_TYPOGRAPHY, TABLE_BODY_LAYOUT, TABLE_SELECTABLE_COLUMN_WIDTH, } from "./sd-table.config";
5
5
  export class SdTable {
6
6
  static DEFAULT_NO_DATA_LABEL = '데이터가 없습니다.';
7
7
  el;
@@ -17,7 +17,7 @@ export class SdTable {
17
17
  height;
18
18
  stickyHeader = false;
19
19
  stickyColumn = { left: 0, right: 0 };
20
- radius = 'default';
20
+ useTop = false;
21
21
  noDataLabel = SdTable.DEFAULT_NO_DATA_LABEL;
22
22
  resolvedNoDataLabel = SdTable.DEFAULT_NO_DATA_LABEL;
23
23
  isLoading = false;
@@ -77,8 +77,6 @@ export class SdTable {
77
77
  // 키: `${rowKey}::${field}` → sd-td의 sdClass 문자열
78
78
  // sd-tr가 td를 그릴 때 머지해서 셀-단위 커스텀 클래스를 적용한다.
79
79
  cellClassRegistry = new Map();
80
- // separator 직전 행의 시각적 인덱스 집합
81
- separatorPrevIndices = new Set();
82
80
  // rowKey 문자열 → rows 배열에서의 visual index.
83
81
  // rowspan 위쪽 행 스캔에서 "내 위에 있느냐"를 판정하기 위한 시각적 순서 소스.
84
82
  // rows prop이 있으면 채워지고, 없으면 비어 있어 Number(rowKey) fallback이 사용된다.
@@ -231,9 +229,6 @@ export class SdTable {
231
229
  el.unregisterSpanSync = this.unregisterSpanSync.bind(this);
232
230
  el.getSpanSync = this.getSpanSync.bind(this);
233
231
  el.isCoveredSync = this.isCoveredSync.bind(this);
234
- el.registerSeparatorSync = this.registerSeparatorSync.bind(this);
235
- el.unregisterSeparatorSync = this.unregisterSeparatorSync.bind(this);
236
- el.isVisualLastRowBeforeSeparatorSync = this.isVisualLastRowBeforeSeparatorSync.bind(this);
237
232
  el.hasRowspanSync = this.hasRowspanSync.bind(this);
238
233
  el.registerCellClassSync = this.registerCellClassSync.bind(this);
239
234
  el.unregisterCellClassSync = this.unregisterCellClassSync.bind(this);
@@ -573,7 +568,7 @@ export class SdTable {
573
568
  getStickyStyleSync(colIdx) {
574
569
  const leftOffset = this.columnWidths
575
570
  .slice(0, colIdx)
576
- .reduce((a, b) => a + b, this.selectable ? 52 : 0);
571
+ .reduce((a, b) => a + b, this.selectable ? TABLE_SELECTABLE_COLUMN_WIDTH : 0);
577
572
  const rightOffset = this.columnWidths
578
573
  .filter((_, i) => i >=
579
574
  this.columns.filter(c => c.visible !== false).length -
@@ -723,36 +718,6 @@ export class SdTable {
723
718
  }
724
719
  return false;
725
720
  }
726
- // rowspan을 반영한 셀의 시각적 하단 행 인덱스를 반환한다.
727
- // isVisualLastRowBeforeSeparatorSync 헬퍼.
728
- resolveVisualBottom(rowKey, field) {
729
- const myRowIdx = this.resolveRowIndex(rowKey);
730
- if (myRowIdx == null)
731
- return null;
732
- const span = this.spanRegistry.get(this.spanKey(rowKey, field));
733
- const rs = Math.max(1, span?.rowspan ?? 1);
734
- return myRowIdx + rs - 1;
735
- }
736
- registerSeparatorSync(prevRowKey) {
737
- const idx = this.resolveRowIndex(prevRowKey);
738
- if (idx != null)
739
- this.separatorPrevIndices.add(idx);
740
- }
741
- unregisterSeparatorSync(prevRowKey) {
742
- const idx = this.resolveRowIndex(prevRowKey);
743
- if (idx != null)
744
- this.separatorPrevIndices.delete(idx);
745
- }
746
- // 셀의 시각적 하단이 separator 바로 앞 행인지 판정.
747
- // 해당 셀에 border-bottom: none을 적용하기 위함.
748
- isVisualLastRowBeforeSeparatorSync(rowKey, field) {
749
- if (this.separatorPrevIndices.size === 0)
750
- return false;
751
- const visualBottom = this.resolveVisualBottom(rowKey, field);
752
- if (visualBottom == null)
753
- return false;
754
- return this.separatorPrevIndices.has(visualBottom);
755
- }
756
721
  setRowCountSync(count) {
757
722
  const safeCount = Math.max(0, Math.floor(this.toFiniteNumber(count, 0)));
758
723
  if (safeCount !== this.rowCount) {
@@ -848,26 +813,27 @@ export class SdTable {
848
813
  '--table-body-font-size': `${TABLE_BODY_TYPOGRAPHY.fontSize}px`,
849
814
  '--table-body-line-height': `${TABLE_BODY_TYPOGRAPHY.lineHeight}px`,
850
815
  '--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
816
+ '--table-selectable-width': `${TABLE_SELECTABLE_COLUMN_WIDTH}px`,
851
817
  };
852
- return (h(Host, { key: '9ee5b528b330f9edf406ff40ec089136c0807653', style: hostStyle }, h("div", { key: '9ac6cbba84b7ef7d0897474168748811fb15af92', class: "sd-table__container", style: {
818
+ return (h(Host, { key: '73046beb47b356f351ae89b162c8e8af2942b0b2', style: hostStyle }, h("div", { key: 'f56b8a425d15a3598e6c1f3373d21ef263cbd800', class: "sd-table__container", style: {
853
819
  '--table-width': this.width,
854
820
  '--table-height': effectiveTableHeight,
855
821
  '--table-container-height': `calc(${effectiveTableHeight} - ${paginationHeight}px)`,
856
- } }, h("div", { key: '11f916debfd443e1d243bfa2335dbb0a3cb094bc', class: {
822
+ } }, h("div", { key: '519a193ab21616ce0a423c9043e0114c489539f3', class: {
857
823
  'sd-table__wrapper': true,
858
- 'sd-table__wrapper--radius-use-top': this.radius === 'useTop',
859
- } }, h("div", { key: '3cad3d86f731a3edc0d2b5a680bcaf6ad6be7399', class: {
824
+ 'sd-table__wrapper--use-top': this.useTop,
825
+ } }, h("div", { key: 'ef96c9e2ef6b70023c35e5709048f3d994a5bebc', class: {
860
826
  'sd-table__scroll-container': true,
861
827
  'sd-table__scroll-container--loading': this.isLoading,
862
828
  'sd-table__scroll-container--no-data': isNoData,
863
- } }, this.isLoading && (h("div", { key: '6f0aac84dcb3d9ca721ed82cd45214b3956d3f94', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '8bb6b8025fceee6ef856efd9cafefe925fc95272', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: '69e6e22b68261832a299de470c8ca7f5a16205dd', class: "sd-table__no-data-header-overlay" }), h("div", { key: 'c797a2d41c752698bed1f034beefddc4bf8b951d', class: "sd-table__no-data" }, h("div", { key: '0f0306bc89b5d9046de2aec935822eab0c3ca36c', class: "sd-table__no-data-content", ref: el => {
829
+ } }, this.isLoading && (h("div", { key: '94f9bbc56855af3548a73ccbbf228b2247764f54', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '2f8a0bfbc0c5829779b7474a9520ddec70a977ea', indeterminate: true }))), isNoData && (h(h.Fragment, null, h("div", { key: 'fab3d44147ecbc99ff3745908ec69da003b4e7cf', class: "sd-table__no-data-header-overlay" }), h("div", { key: '10f8b13e6bba12c80001e5d4432715b0abe2f2f2', class: "sd-table__no-data" }, h("div", { key: '8c411450fc0780df83e69c86ad06c2d09cf80350', class: "sd-table__no-data-content", ref: el => {
864
830
  this.noDataContentEl = el;
865
831
  if (el)
866
832
  this.syncNoDataContentObserver();
867
- } }, h("slot", { key: '042671d4c65c4031a756da386ed010146c17f736', name: "no-data" }, h("span", { key: '5994f656dbea3fd1dea69c105907b188658f8c41' }, this.resolvedNoDataLabel)))))), h("table", { key: '16bb3a7c6b32e5312eda79015cd7d90bef37bdff', class: this.tableClasses }, this.autoThead ? (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, h("sd-thead", { rows: this.rows ?? [] }))) : (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
833
+ } }, h("slot", { key: '661b982cde4f4a6dfa9f6c712efed6745e20f3bf', name: "no-data" }, h("span", { key: '76330839b2614611266315bb8b482b6a8571f1f4' }, this.resolvedNoDataLabel)))))), h("table", { key: '89d9f80c6a0c9963b311d2c121ae0cb0a3289da0', class: this.tableClasses }, this.autoThead ? (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }, h("sd-thead", { rows: this.rows ?? [] }))) : (h("slot", { name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange })), this.autoTbody ? (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }, h("sd-tbody", { rows: this.rows ?? [] }, this.renderAutoRows()))) : (h("slot", { name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange }))))), this.pagination &&
868
834
  this.pagination.rowsPerPage > 0 &&
869
835
  this.rowCount > 0 &&
870
- !this.useVirtualScroll && (h("div", { key: '6c3ee5d93fb395154c4c42c914669af535c1a5bc', class: "sd-table__pagination" }, h("sd-pagination", { key: '46053012374e1255037706a8fa4d068dbc60f2d9', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (h("sd-select", { key: 'df04b19e857e823be8237148d84456d492575ce3', value: this.useInternalPagination
836
+ !this.useVirtualScroll && (h("div", { key: '02e675535bbdc30ab7177378f1b2b13799a9e5c8', class: "sd-table__pagination" }, h("sd-pagination", { key: '83537d5e2f6d5b92e2a4b7dd9e4624372adf0433', currentPage: !this.useInternalPagination ? this.pagination.page : this.currentPage, lastPage: !this.useInternalPagination ? this.pagination.lastPage : this.lastPageNumber, onSdPageChange: (e) => this.changePage(e.detail) }), this.useRowsPerPageSelect && (h("sd-select", { key: 'f843f063b736e534b017fd7f881f049c4258c792', value: this.useInternalPagination
871
837
  ? this.innerRowsPerPage
872
838
  : this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
873
839
  if (!this.isRowsPerPageValue(e.detail))
@@ -1126,12 +1092,12 @@ export class SdTable {
1126
1092
  "setter": false,
1127
1093
  "defaultValue": "{ left: 0, right: 0 }"
1128
1094
  },
1129
- "radius": {
1130
- "type": "string",
1095
+ "useTop": {
1096
+ "type": "boolean",
1131
1097
  "mutable": false,
1132
1098
  "complexType": {
1133
- "original": "'default' | 'useTop'",
1134
- "resolved": "\"default\" | \"useTop\"",
1099
+ "original": "boolean",
1100
+ "resolved": "boolean",
1135
1101
  "references": {}
1136
1102
  },
1137
1103
  "required": false,
@@ -1143,8 +1109,8 @@ export class SdTable {
1143
1109
  "getter": false,
1144
1110
  "setter": false,
1145
1111
  "reflect": false,
1146
- "attribute": "radius",
1147
- "defaultValue": "'default'"
1112
+ "attribute": "use-top",
1113
+ "defaultValue": "false"
1148
1114
  },
1149
1115
  "noDataLabel": {
1150
1116
  "type": "string",
@@ -45,9 +45,9 @@ export class SdTbody {
45
45
  }
46
46
  }
47
47
  render() {
48
- return (h(Host, { key: 'a3d0ee1c1820474e97e430ba91f48e12ee0e252d', slot: `${this.tableId}-body` }, h("tbody", { key: 'bbd5b9acf02150b146c9b25d07f2e7a9dd347921', class: { tbody: true } }, [
48
+ return (h(Host, { key: 'b35f308e703fd3240f8c8dc30bc04432a213fb14', slot: `${this.tableId}-body` }, h("tbody", { key: 'b43c4347f84f13b9babad33ba841ffc18630ac55', class: { tbody: true } }, [
49
49
  this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
50
- h("slot", { key: 'f0ec0aa4d7e7190fc93d96afe5591004174fff63' }),
50
+ h("slot", { key: 'ac0cbfc76b8c38743f73e38c584459176c2a5b94' }),
51
51
  this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
52
52
  ])));
53
53
  }
@@ -150,7 +150,7 @@ export class SdTd {
150
150
  }
151
151
  }
152
152
  render() {
153
- return (h(Host, { key: '91c033a0c4c3a6c3c9b29c0be99912c5ac1283ee', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'abfbc911c707012bc7d924e328ba07d71b96f9a9' })));
153
+ return (h(Host, { key: '5c40fa3dd98dbd88850bd14836ee5578ceb04349', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: '864b000e178c0b6de25b930aa5a84b4f7d7c189b' })));
154
154
  }
155
155
  static get is() { return "sd-td"; }
156
156
  static get originalStyleUrls() {
@@ -42,11 +42,10 @@ sd-thead * {
42
42
  }
43
43
  .th--selected {
44
44
  position: relative;
45
- width: 52px !important;
46
- max-width: 52px !important;
47
- min-width: 52px !important;
48
- padding: 0 10px 0 24px;
49
- text-align: left;
45
+ width: var(--table-selectable-width, 48px) !important;
46
+ max-width: var(--table-selectable-width, 48px) !important;
47
+ min-width: var(--table-selectable-width, 48px) !important;
48
+ text-align: center;
50
49
  }
51
50
  .th--selected sd-checkbox label {
52
51
  position: relative;
@@ -133,6 +132,17 @@ sd-thead * {
133
132
  word-break: keep-all;
134
133
  }
135
134
 
135
+ .th__bar {
136
+ position: absolute;
137
+ top: 50%;
138
+ right: 0;
139
+ transform: translateY(-50%);
140
+ width: var(--table-border-width, 1px);
141
+ height: var(--table-header-resizer-height, 16px);
142
+ z-index: 3;
143
+ background-color: var(--table-header-resizer-color, #CCCCCC);
144
+ }
145
+
136
146
  .th__resizer {
137
147
  position: absolute;
138
148
  top: 50%;