@sellmate/design-system 1.0.75 → 1.0.77

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 (460) hide show
  1. package/dist/cjs/design-system.cjs.js +2 -2
  2. package/dist/cjs/{index-Dptupbm0.js → index-CaGGRpd8.js} +1 -1
  3. package/dist/cjs/index.cjs.js +5 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/sd-action-modal.cjs.entry.js +2 -2
  6. package/dist/cjs/sd-badge.cjs.entry.js +2 -2
  7. package/dist/cjs/sd-barcode-input.cjs.entry.js +2 -2
  8. package/dist/cjs/sd-button-v2_2.cjs.entry.js +3 -3
  9. package/dist/cjs/sd-button_4.cjs.entry.js +10 -13
  10. package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
  11. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  12. package/dist/cjs/sd-checkbox.cjs.entry.js +7 -4
  13. package/dist/cjs/sd-chip.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -3
  15. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -4
  16. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  17. package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +2 -2
  18. package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +3 -3
  19. package/dist/cjs/sd-date-picker.cjs.entry.js +3 -3
  20. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
  21. package/dist/cjs/sd-date-range-picker.cjs.entry.js +1 -1
  22. package/dist/cjs/sd-dropdown-button.cjs.entry.js +94 -7
  23. package/dist/cjs/sd-file-picker.cjs.entry.js +2 -2
  24. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  25. package/dist/cjs/sd-ghost-button.cjs.entry.js +11 -6
  26. package/dist/cjs/sd-guide.cjs.entry.js +2 -2
  27. package/dist/cjs/{sd-input_2.cjs.entry.js → sd-input.cjs.entry.js} +3 -43
  28. package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
  29. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  30. package/dist/cjs/sd-modal-container.cjs.entry.js +77 -69
  31. package/dist/cjs/sd-number-input.cjs.entry.js +4 -4
  32. package/dist/cjs/sd-pagination_5.cjs.entry.js +921 -0
  33. package/dist/cjs/sd-popover.cjs.entry.js +2 -2
  34. package/dist/cjs/sd-portal.cjs.entry.js +2 -2
  35. package/dist/cjs/sd-radio-button.cjs.entry.js +7 -2
  36. package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
  37. package/dist/cjs/sd-radio.cjs.entry.js +1 -1
  38. package/dist/cjs/{sd-select-v2-list-item_4.cjs.entry.js → sd-select-list-item_4.cjs.entry.js} +108 -48
  39. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  40. package/dist/cjs/sd-table.cjs.entry.js +178 -21
  41. package/dist/cjs/sd-table.config-hnNodd18.js +105 -0
  42. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  43. package/dist/cjs/sd-tag.cjs.entry.js +3 -3
  44. package/dist/cjs/sd-td.cjs.entry.js +54 -2
  45. package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
  46. package/dist/cjs/sd-textarea.cjs.entry.js +2 -2
  47. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  48. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  49. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  50. package/dist/cjs/{system-BbCUNhDJ.js → system-DRemSdU1.js} +7 -1
  51. package/dist/cjs/{tooltipArrow-DuANjCfc.js → tooltipArrow-BEff0q3z.js} +1 -1
  52. package/dist/collection/collection-manifest.json +11 -21
  53. package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
  54. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  55. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
  56. package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
  57. package/dist/collection/components/sd-card/sd-card.js +1 -1
  58. package/dist/collection/components/sd-checkbox/sd-checkbox.js +6 -3
  59. package/dist/collection/components/sd-chip/sd-chip.js +1 -1
  60. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  61. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
  62. package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
  63. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  64. package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
  65. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  66. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
  67. package/dist/collection/components/sd-field/sd-field.js +5 -8
  68. package/dist/collection/components/sd-file-picker/sd-file-picker.js +1 -1
  69. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  70. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +10 -5
  71. package/dist/collection/components/sd-input/sd-input.js +2 -2
  72. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  73. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  74. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
  75. package/dist/collection/components/sd-modal-container/sd-modal-container.js +77 -71
  76. package/dist/collection/components/sd-number-input/sd-number-input.js +3 -3
  77. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  78. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  79. package/dist/collection/components/sd-radio-button/sd-radio-button.js +6 -1
  80. package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.css → sd-select/sd-select-list-item/sd-select-list-item.css} +13 -13
  81. package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js → sd-select/sd-select-list-item/sd-select-list-item.js} +28 -28
  82. package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.css → sd-select/sd-select-list-item-search/sd-select-list-item-search.css} +11 -11
  83. package/dist/collection/components/{sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js → sd-select/sd-select-list-item-search/sd-select-list-item-search.js} +13 -13
  84. package/dist/collection/components/{sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css → sd-select/sd-select-listbox/sd-select-listbox.css} +3 -3
  85. package/dist/collection/components/{sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js → sd-select/sd-select-listbox/sd-select-listbox.js} +133 -33
  86. package/dist/collection/components/{sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.css → sd-select/sd-select-trigger/sd-select-trigger.css} +7 -7
  87. package/dist/collection/components/{sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js → sd-select/sd-select-trigger/sd-select-trigger.js} +12 -12
  88. package/dist/collection/components/sd-select/sd-select.css +3 -47
  89. package/dist/collection/components/sd-select/sd-select.js +413 -294
  90. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  91. package/dist/collection/components/sd-table/sd-table.config.js +81 -0
  92. package/dist/collection/components/sd-table/sd-table.css +17 -9
  93. package/dist/collection/components/sd-table/sd-table.js +179 -21
  94. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.css +0 -8
  95. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +9 -5
  96. package/dist/collection/components/sd-table/sd-td/sd-td.js +91 -1
  97. package/dist/collection/components/sd-table/sd-thead/sd-thead.css +16 -12
  98. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +58 -9
  99. package/dist/collection/components/sd-table/sd-tr/sd-tr.css +11 -3
  100. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +75 -12
  101. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  102. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  103. package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
  104. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  105. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  106. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  107. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  108. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  109. package/dist/collection/utils/modal.js +5 -0
  110. package/dist/collection/utils/testing/index.js +2 -0
  111. package/dist/collection/utils/testing/mocks.js +35 -0
  112. package/dist/components/index.js +1 -1
  113. package/dist/components/p-B6KZfiQ5.js +1 -0
  114. package/dist/components/{p-CTwEbxRN.js → p-BEOrkEV1.js} +1 -1
  115. package/dist/components/p-BJJvCBQs.js +1 -0
  116. package/dist/components/p-BM_PRj8W.js +1 -0
  117. package/dist/components/p-BR_ZAr48.js +1 -0
  118. package/dist/components/p-BeNJfxnb.js +1 -0
  119. package/dist/components/{p-BLwIhCdO.js → p-BfoLbEZx.js} +1 -1
  120. package/dist/components/p-Bm8Fue-a.js +1 -0
  121. package/dist/components/{p-DaAhgdib.js → p-BynnUMVZ.js} +1 -1
  122. package/dist/components/{p-D5HLYqT-.js → p-C52iEAqd.js} +1 -1
  123. package/dist/components/p-C8Dy_x5h.js +1 -0
  124. package/dist/components/{p-C3dI7f7C.js → p-CJAQuJik.js} +1 -1
  125. package/dist/components/{p-iAWNMLXh.js → p-CJqZcEqD.js} +1 -1
  126. package/dist/components/{p-H-9uoufd.js → p-CNm5Qbf-.js} +1 -1
  127. package/dist/components/{p-B3xZdEDI.js → p-CQy5JErK.js} +1 -1
  128. package/dist/components/{p-BgFLSKqC.js → p-CZxeqYuw.js} +1 -1
  129. package/dist/components/{p-SDBnyM8D.js → p-CkgQbCMR.js} +1 -1
  130. package/dist/components/p-CvnC61M9.js +1 -0
  131. package/dist/components/{p-6LtMeKKA.js → p-D1SJ2TMu.js} +1 -1
  132. package/dist/components/{p-BXdEjuI_.js → p-D2FOkhao.js} +1 -1
  133. package/dist/components/p-D66nhMt3.js +1 -0
  134. package/dist/components/p-DDDZWrWj.js +1 -0
  135. package/dist/components/p-DK3vj3bG.js +1 -0
  136. package/dist/components/{p-CZPR_5mk.js → p-DcuLMUdl.js} +1 -1
  137. package/dist/components/p-DxXwz3cY.js +1 -0
  138. package/dist/components/p-NlCzTjK4.js +1 -0
  139. package/dist/components/{p-BZm6KN1s.js → p-RpjjrX78.js} +1 -1
  140. package/dist/components/{p-BM0sVq5Z.js → p-ZH78tQXS.js} +1 -1
  141. package/dist/components/{p-DQfNwvwx.js → p-ZLsQA11g.js} +1 -1
  142. package/dist/components/{p-DdJyzIYe.js → p-eGToaKCt.js} +1 -1
  143. package/dist/components/p-hTUSl23P.js +1 -0
  144. package/dist/components/p-mqa9-iql.js +1 -0
  145. package/dist/components/sd-action-modal.js +1 -1
  146. package/dist/components/sd-badge.js +1 -1
  147. package/dist/components/sd-barcode-input.js +1 -1
  148. package/dist/components/sd-button-v2.js +1 -1
  149. package/dist/components/sd-button.js +1 -1
  150. package/dist/components/sd-calendar.js +1 -1
  151. package/dist/components/sd-card.js +1 -1
  152. package/dist/components/sd-checkbox.js +1 -1
  153. package/dist/components/sd-chip.js +1 -1
  154. package/dist/components/sd-circle-progress.js +1 -1
  155. package/dist/components/sd-confirm-modal.js +1 -1
  156. package/dist/components/sd-date-box.js +1 -1
  157. package/dist/components/sd-date-picker-calendar.js +1 -1
  158. package/dist/components/sd-date-picker-trigger.js +1 -1
  159. package/dist/components/sd-date-picker.js +1 -1
  160. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  161. package/dist/components/sd-date-range-picker.js +1 -1
  162. package/dist/components/sd-dropdown-button.js +1 -1
  163. package/dist/components/sd-field.js +1 -1
  164. package/dist/components/sd-file-picker.js +1 -1
  165. package/dist/components/sd-floating-portal.js +1 -1
  166. package/dist/components/sd-form.js +1 -1
  167. package/dist/components/sd-ghost-button.js +1 -1
  168. package/dist/components/sd-guide.js +1 -1
  169. package/dist/components/sd-icon.js +1 -1
  170. package/dist/components/sd-input.js +1 -1
  171. package/dist/components/sd-linear-progress.js +1 -1
  172. package/dist/components/sd-loading-container.js +1 -1
  173. package/dist/components/sd-loading-modal.js +1 -1
  174. package/dist/components/sd-modal-container.js +1 -1
  175. package/dist/components/sd-number-input.js +1 -1
  176. package/dist/components/sd-pagination.js +1 -1
  177. package/dist/components/sd-popover.js +1 -1
  178. package/dist/components/sd-portal.js +1 -1
  179. package/dist/components/sd-radio-button.js +1 -1
  180. package/dist/components/sd-radio-group.js +1 -1
  181. package/dist/components/sd-radio.js +1 -1
  182. package/dist/components/sd-select-list-item-search.d.ts +11 -0
  183. package/dist/components/sd-select-list-item-search.js +1 -0
  184. package/dist/components/{sd-select-multiple.d.ts → sd-select-list-item.d.ts} +4 -4
  185. package/dist/components/sd-select-list-item.js +1 -0
  186. package/dist/components/{sd-select-option.d.ts → sd-select-listbox.d.ts} +4 -4
  187. package/dist/components/sd-select-listbox.js +1 -0
  188. package/dist/components/{sd-select-group.d.ts → sd-select-trigger.d.ts} +4 -4
  189. package/dist/components/sd-select-trigger.js +1 -0
  190. package/dist/components/sd-select.js +1 -1
  191. package/dist/components/sd-switch.js +1 -1
  192. package/dist/components/sd-table.js +1 -1
  193. package/dist/components/sd-tabs.js +1 -1
  194. package/dist/components/sd-tag.js +1 -1
  195. package/dist/components/sd-tbody.js +1 -1
  196. package/dist/components/sd-td.js +1 -1
  197. package/dist/components/sd-text-link.js +1 -1
  198. package/dist/components/sd-textarea.js +1 -1
  199. package/dist/components/sd-thead.js +1 -1
  200. package/dist/components/sd-toast-container.js +1 -1
  201. package/dist/components/sd-toast.js +1 -1
  202. package/dist/components/sd-toggle.js +1 -1
  203. package/dist/components/sd-tooltip.js +1 -1
  204. package/dist/components/sd-tr.js +1 -1
  205. package/dist/design-system/design-system.css +1 -1
  206. package/dist/design-system/design-system.esm.js +1 -1
  207. package/dist/design-system/index.esm.js +1 -1
  208. package/dist/design-system/{p-dad07e1a.entry.js → p-120df622.entry.js} +1 -1
  209. package/dist/design-system/{p-6af9e663.entry.js → p-28b727df.entry.js} +1 -1
  210. package/dist/design-system/{p-05a1c092.entry.js → p-2cd2fb76.entry.js} +1 -1
  211. package/dist/design-system/p-3f9d60a0.entry.js +1 -0
  212. package/dist/design-system/p-400b3676.entry.js +1 -0
  213. package/dist/design-system/{p-2eb910ec.entry.js → p-41ea33fb.entry.js} +1 -1
  214. package/dist/design-system/{p-c7bcb232.entry.js → p-42906763.entry.js} +1 -1
  215. package/dist/design-system/p-42a8f8a2.entry.js +1 -0
  216. package/dist/design-system/{p-fdcfaa7c.entry.js → p-43ffe7b0.entry.js} +1 -1
  217. package/dist/design-system/p-4ad9a5b8.entry.js +1 -0
  218. package/dist/design-system/{p-3a9559ee.entry.js → p-504033e8.entry.js} +1 -1
  219. package/dist/design-system/p-64d3c984.entry.js +1 -0
  220. package/dist/design-system/{p-ce3d0f9c.entry.js → p-67f88b1a.entry.js} +1 -1
  221. package/dist/design-system/{p-6a3f8588.entry.js → p-68d0fa15.entry.js} +1 -1
  222. package/dist/design-system/p-6dc47f4c.entry.js +1 -0
  223. package/dist/design-system/{p-d6896893.entry.js → p-6f9b0b32.entry.js} +1 -1
  224. package/dist/design-system/{p-3ca5c303.entry.js → p-704dc1f1.entry.js} +1 -1
  225. package/dist/design-system/{p-17cd3a33.entry.js → p-732ee178.entry.js} +1 -1
  226. package/dist/design-system/{p-8200b5f2.entry.js → p-7d892b68.entry.js} +1 -1
  227. package/dist/design-system/{p-16a15368.entry.js → p-809e616c.entry.js} +1 -1
  228. package/dist/design-system/p-80c51996.entry.js +1 -0
  229. package/dist/design-system/{p-b745cd95.entry.js → p-889971bc.entry.js} +1 -1
  230. package/dist/design-system/{p-33bec0e3.entry.js → p-8abc2413.entry.js} +1 -1
  231. package/dist/design-system/{p-bb492ba7.entry.js → p-970f9ea5.entry.js} +1 -1
  232. package/dist/design-system/p-BHmXH7dZ.js +2 -0
  233. package/dist/design-system/{p-BgFLSKqC.js → p-CZxeqYuw.js} +1 -1
  234. package/dist/design-system/p-DDDZWrWj.js +1 -0
  235. package/dist/design-system/p-DG7d45mX.js +1 -0
  236. package/dist/design-system/{p-280dc548.entry.js → p-a69d6a99.entry.js} +1 -1
  237. package/dist/design-system/{p-49f78122.entry.js → p-ab5a94c8.entry.js} +1 -1
  238. package/dist/design-system/{p-f4a00276.entry.js → p-ae626d30.entry.js} +1 -1
  239. package/dist/design-system/p-b9a870bf.entry.js +1 -0
  240. package/dist/design-system/{p-97ebf578.entry.js → p-bab814c5.entry.js} +1 -1
  241. package/dist/design-system/{p-eb29dc9f.entry.js → p-c21f30de.entry.js} +1 -1
  242. package/dist/design-system/p-c863a31d.entry.js +1 -0
  243. package/dist/design-system/{p-a8bde8d9.entry.js → p-cab35b9a.entry.js} +1 -1
  244. package/dist/design-system/p-cea424f6.entry.js +1 -0
  245. package/dist/design-system/p-d8bb2cb4.entry.js +1 -0
  246. package/dist/design-system/p-dd63e10f.entry.js +1 -0
  247. package/dist/design-system/p-e04302a2.entry.js +1 -0
  248. package/dist/design-system/{p-5f6379e9.entry.js → p-e84d1bac.entry.js} +1 -1
  249. package/dist/design-system/p-ebbffddb.entry.js +1 -0
  250. package/dist/design-system/{p-d1dfa0e1.entry.js → p-ec02b3e8.entry.js} +1 -1
  251. package/dist/design-system/{p-8ff967f7.entry.js → p-ed1c4625.entry.js} +1 -1
  252. package/dist/design-system/{p-2d154fe0.entry.js → p-f06038fd.entry.js} +1 -1
  253. package/dist/design-system/{p-2cd2f2dd.entry.js → p-f80d10ad.entry.js} +1 -1
  254. package/dist/design-system/p-fbb7e090.entry.js +1 -0
  255. package/dist/design-system/{p-a9fc2c21.entry.js → p-feb84f87.entry.js} +1 -1
  256. package/dist/esm/design-system.js +3 -3
  257. package/dist/esm/{index-Bp7ytJz5.js → index-BHmXH7dZ.js} +1 -1
  258. package/dist/esm/index.js +5 -0
  259. package/dist/esm/loader.js +3 -3
  260. package/dist/esm/sd-action-modal.entry.js +2 -2
  261. package/dist/esm/sd-badge.entry.js +2 -2
  262. package/dist/esm/sd-barcode-input.entry.js +2 -2
  263. package/dist/esm/sd-button-v2_2.entry.js +3 -3
  264. package/dist/esm/sd-button_4.entry.js +10 -13
  265. package/dist/esm/sd-calendar.entry.js +1 -1
  266. package/dist/esm/sd-card.entry.js +2 -2
  267. package/dist/esm/sd-checkbox.entry.js +7 -4
  268. package/dist/esm/sd-chip.entry.js +2 -2
  269. package/dist/esm/sd-circle-progress.entry.js +3 -3
  270. package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
  271. package/dist/esm/sd-date-box.entry.js +1 -1
  272. package/dist/esm/sd-date-picker-calendar.entry.js +2 -2
  273. package/dist/esm/sd-date-picker-trigger.entry.js +3 -3
  274. package/dist/esm/sd-date-picker.entry.js +3 -3
  275. package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
  276. package/dist/esm/sd-date-range-picker.entry.js +1 -1
  277. package/dist/esm/sd-dropdown-button.entry.js +93 -6
  278. package/dist/esm/sd-file-picker.entry.js +2 -2
  279. package/dist/esm/sd-form.entry.js +1 -1
  280. package/dist/esm/sd-ghost-button.entry.js +11 -6
  281. package/dist/esm/sd-guide.entry.js +2 -2
  282. package/dist/esm/{sd-input_2.entry.js → sd-input.entry.js} +4 -43
  283. package/dist/esm/sd-linear-progress.entry.js +3 -3
  284. package/dist/esm/sd-loading-container.entry.js +3 -3
  285. package/dist/esm/sd-modal-container.entry.js +77 -69
  286. package/dist/esm/sd-number-input.entry.js +4 -4
  287. package/dist/esm/sd-pagination_5.entry.js +915 -0
  288. package/dist/esm/sd-popover.entry.js +2 -2
  289. package/dist/esm/sd-portal.entry.js +2 -2
  290. package/dist/esm/sd-radio-button.entry.js +7 -2
  291. package/dist/esm/sd-radio-group.entry.js +1 -1
  292. package/dist/esm/sd-radio.entry.js +1 -1
  293. package/dist/esm/{sd-select-v2-list-item_4.entry.js → sd-select-list-item_4.entry.js} +105 -45
  294. package/dist/esm/sd-switch.entry.js +2 -2
  295. package/dist/esm/sd-table.config-DKkzCQwJ.js +94 -0
  296. package/dist/esm/sd-table.entry.js +178 -21
  297. package/dist/esm/sd-tabs.entry.js +2 -2
  298. package/dist/esm/sd-tag.entry.js +3 -3
  299. package/dist/esm/sd-td.entry.js +54 -2
  300. package/dist/esm/sd-text-link.entry.js +4 -4
  301. package/dist/esm/sd-textarea.entry.js +2 -2
  302. package/dist/esm/sd-toast-container.entry.js +2 -2
  303. package/dist/esm/sd-toast.entry.js +3 -3
  304. package/dist/esm/sd-toggle.entry.js +2 -2
  305. package/dist/esm/{system-BgFLSKqC.js → system-CZxeqYuw.js} +7 -1
  306. package/dist/esm/{tooltipArrow-BHRQVawd.js → tooltipArrow-DZ-N5HBq.js} +1 -1
  307. package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +1 -0
  308. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -1
  309. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -4
  310. package/dist/types/components/sd-radio-button/sd-radio-button.d.ts +1 -0
  311. package/dist/types/components/{sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.d.ts → sd-select/sd-select-list-item/sd-select-list-item.d.ts} +4 -4
  312. package/dist/types/components/{sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.d.ts → sd-select/sd-select-list-item-search/sd-select-list-item-search.d.ts} +1 -1
  313. package/dist/types/components/{sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.d.ts → sd-select/sd-select-listbox/sd-select-listbox.d.ts} +15 -6
  314. package/dist/types/components/{sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.d.ts → sd-select/sd-select-trigger/sd-select-trigger.d.ts} +1 -1
  315. package/dist/types/components/{sd-select-v2/sd-select-v2.config.d.ts → sd-select/sd-select.config.d.ts} +12 -12
  316. package/dist/types/components/sd-select/sd-select.d.ts +56 -84
  317. package/dist/types/components/sd-table/constants.d.ts +4 -1
  318. package/dist/types/components/sd-table/sd-table.config.d.ts +64 -0
  319. package/dist/types/components/sd-table/sd-table.d.ts +17 -0
  320. package/dist/types/components/sd-table/sd-td/sd-td.d.ts +8 -0
  321. package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +5 -0
  322. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +4 -0
  323. package/dist/types/components.d.ts +1012 -2402
  324. package/dist/types/utils/testing/index.d.ts +2 -0
  325. package/dist/types/utils/testing/mocks.d.ts +4 -0
  326. package/hydrate/index.js +821 -2272
  327. package/hydrate/index.mjs +821 -2272
  328. package/package.json +1 -1
  329. package/dist/cjs/base-dropdown-event-BTPlZ1KF.js +0 -91
  330. package/dist/cjs/sd-pagination_2.cjs.entry.js +0 -427
  331. package/dist/cjs/sd-progress.cjs.entry.js +0 -63
  332. package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +0 -231
  333. package/dist/cjs/sd-select-group.cjs.entry.js +0 -332
  334. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +0 -458
  335. package/dist/cjs/sd-select-multiple.cjs.entry.js +0 -191
  336. package/dist/cjs/sd-select-option-group.cjs.entry.js +0 -68
  337. package/dist/cjs/sd-select.cjs.entry.js +0 -181
  338. package/dist/cjs/sd-tbody.cjs.entry.js +0 -66
  339. package/dist/cjs/sd-thead.cjs.entry.js +0 -179
  340. package/dist/cjs/sd-tr.cjs.entry.js +0 -171
  341. package/dist/cjs/select-keyboard-navigation-CErfIrGV.js +0 -27
  342. package/dist/cjs/table-test.cjs.entry.js +0 -96
  343. package/dist/collection/components/sd-progress/sd-progress.css +0 -63
  344. package/dist/collection/components/sd-progress/sd-progress.js +0 -186
  345. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.css +0 -30
  346. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +0 -444
  347. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.css +0 -36
  348. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +0 -257
  349. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.css +0 -23
  350. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +0 -161
  351. package/dist/collection/components/sd-select-group/sd-select-group.css +0 -81
  352. package/dist/collection/components/sd-select-group/sd-select-group.js +0 -1061
  353. package/dist/collection/components/sd-select-multiple/sd-select-multiple.css +0 -54
  354. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +0 -770
  355. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.css +0 -79
  356. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +0 -1183
  357. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.css +0 -75
  358. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +0 -305
  359. package/dist/collection/components/sd-select-v2/sd-select-v2.css +0 -11
  360. package/dist/collection/components/sd-select-v2/sd-select-v2.js +0 -819
  361. package/dist/collection/components/table-test/table-test.css +0 -59
  362. package/dist/collection/components/table-test/table-test.js +0 -316
  363. package/dist/components/p-9ZtJl4s6.js +0 -1
  364. package/dist/components/p-BALOEavB.js +0 -1
  365. package/dist/components/p-BZc6lwGD.js +0 -1
  366. package/dist/components/p-Bbs5Ws0k.js +0 -1
  367. package/dist/components/p-Bp0B8tcl.js +0 -1
  368. package/dist/components/p-Btx5sC7s.js +0 -1
  369. package/dist/components/p-CHFGWh0m.js +0 -1
  370. package/dist/components/p-CNAzAL53.js +0 -1
  371. package/dist/components/p-CWEeXx2E.js +0 -1
  372. package/dist/components/p-CgL8_FSD.js +0 -1
  373. package/dist/components/p-CqghR1aS.js +0 -1
  374. package/dist/components/p-Cy6HMEsK.js +0 -1
  375. package/dist/components/p-D8fG9Yt7.js +0 -1
  376. package/dist/components/p-DBex-RJU.js +0 -1
  377. package/dist/components/p-DEBakAhm.js +0 -1
  378. package/dist/components/p-DWMY9O2B.js +0 -1
  379. package/dist/components/p-DuMkBStM.js +0 -1
  380. package/dist/components/p-vQDL-PZ8.js +0 -1
  381. package/dist/components/sd-progress.d.ts +0 -11
  382. package/dist/components/sd-progress.js +0 -1
  383. package/dist/components/sd-select-dropdown.d.ts +0 -11
  384. package/dist/components/sd-select-dropdown.js +0 -1
  385. package/dist/components/sd-select-group.js +0 -1
  386. package/dist/components/sd-select-multiple-group.d.ts +0 -11
  387. package/dist/components/sd-select-multiple-group.js +0 -1
  388. package/dist/components/sd-select-multiple.js +0 -1
  389. package/dist/components/sd-select-option-group.d.ts +0 -11
  390. package/dist/components/sd-select-option-group.js +0 -1
  391. package/dist/components/sd-select-option.js +0 -1
  392. package/dist/components/sd-select-search-input.d.ts +0 -11
  393. package/dist/components/sd-select-search-input.js +0 -1
  394. package/dist/components/sd-select-v2-list-item-search.d.ts +0 -11
  395. package/dist/components/sd-select-v2-list-item-search.js +0 -1
  396. package/dist/components/sd-select-v2-list-item.d.ts +0 -11
  397. package/dist/components/sd-select-v2-list-item.js +0 -1
  398. package/dist/components/sd-select-v2-listbox.d.ts +0 -11
  399. package/dist/components/sd-select-v2-listbox.js +0 -1
  400. package/dist/components/sd-select-v2-trigger.d.ts +0 -11
  401. package/dist/components/sd-select-v2-trigger.js +0 -1
  402. package/dist/components/sd-select-v2.d.ts +0 -11
  403. package/dist/components/sd-select-v2.js +0 -1
  404. package/dist/components/table-test.d.ts +0 -11
  405. package/dist/components/table-test.js +0 -1
  406. package/dist/design-system/p-00612047.entry.js +0 -1
  407. package/dist/design-system/p-07adda3c.entry.js +0 -1
  408. package/dist/design-system/p-1573f415.entry.js +0 -1
  409. package/dist/design-system/p-1b9f6cef.entry.js +0 -1
  410. package/dist/design-system/p-1cc7d81f.entry.js +0 -1
  411. package/dist/design-system/p-1fa6c17f.entry.js +0 -1
  412. package/dist/design-system/p-380198bc.entry.js +0 -1
  413. package/dist/design-system/p-4114eea3.entry.js +0 -1
  414. package/dist/design-system/p-5e300b77.entry.js +0 -1
  415. package/dist/design-system/p-6b537e2f.entry.js +0 -1
  416. package/dist/design-system/p-6e90fb80.entry.js +0 -1
  417. package/dist/design-system/p-711c59fc.entry.js +0 -1
  418. package/dist/design-system/p-7b77c65c.entry.js +0 -1
  419. package/dist/design-system/p-850de8d4.entry.js +0 -1
  420. package/dist/design-system/p-8f88bd67.entry.js +0 -1
  421. package/dist/design-system/p-9fee77f0.entry.js +0 -1
  422. package/dist/design-system/p-BPGLtKk5.js +0 -1
  423. package/dist/design-system/p-Bp7ytJz5.js +0 -2
  424. package/dist/design-system/p-CRdYeSBK.js +0 -1
  425. package/dist/design-system/p-Cy6HMEsK.js +0 -1
  426. package/dist/design-system/p-ba5fea6f.entry.js +0 -1
  427. package/dist/design-system/p-be54d6bd.entry.js +0 -1
  428. package/dist/design-system/p-c3379a6e.entry.js +0 -1
  429. package/dist/design-system/p-cc62c180.entry.js +0 -1
  430. package/dist/design-system/p-ce2210ad.entry.js +0 -1
  431. package/dist/design-system/p-d52f25c6.entry.js +0 -1
  432. package/dist/design-system/p-dbcbbf1e.entry.js +0 -1
  433. package/dist/design-system/p-dc07d618.entry.js +0 -1
  434. package/dist/design-system/p-ef09409c.entry.js +0 -1
  435. package/dist/design-system/p-f8237991.entry.js +0 -1
  436. package/dist/esm/base-dropdown-event-CRdYeSBK.js +0 -89
  437. package/dist/esm/sd-pagination_2.entry.js +0 -424
  438. package/dist/esm/sd-progress.entry.js +0 -61
  439. package/dist/esm/sd-select-dropdown_2.entry.js +0 -228
  440. package/dist/esm/sd-select-group.entry.js +0 -330
  441. package/dist/esm/sd-select-multiple-group.entry.js +0 -456
  442. package/dist/esm/sd-select-multiple.entry.js +0 -189
  443. package/dist/esm/sd-select-option-group.entry.js +0 -66
  444. package/dist/esm/sd-select.entry.js +0 -179
  445. package/dist/esm/sd-tbody.entry.js +0 -64
  446. package/dist/esm/sd-thead.entry.js +0 -177
  447. package/dist/esm/sd-tr.entry.js +0 -169
  448. package/dist/esm/select-keyboard-navigation-Cy6HMEsK.js +0 -25
  449. package/dist/esm/table-test.entry.js +0 -94
  450. package/dist/types/components/sd-progress/sd-progress.d.ts +0 -15
  451. package/dist/types/components/sd-select/sd-select-dropdown/sd-select-dropdown.d.ts +0 -41
  452. package/dist/types/components/sd-select/sd-select-option/sd-select-option.d.ts +0 -23
  453. package/dist/types/components/sd-select/sd-select-search-input/sd-select-search-input.d.ts +0 -11
  454. package/dist/types/components/sd-select-group/sd-select-group.d.ts +0 -86
  455. package/dist/types/components/sd-select-multiple/sd-select-multiple.d.ts +0 -64
  456. package/dist/types/components/sd-select-multiple-group/sd-select-multiple-group.d.ts +0 -110
  457. package/dist/types/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.d.ts +0 -29
  458. package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +0 -71
  459. package/dist/types/components/table-test/table-test.d.ts +0 -46
  460. /package/dist/collection/components/{sd-select-v2/sd-select-v2.config.js → sd-select/sd-select.config.js} +0 -0
@@ -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: 'ac6a35d06ddd04bc94369014ff586766dd745bbb', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: '9ebc810e93c9dfa3bf7407f279dadbada579196e', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '7add76be99645d6434e95305f6318fac7da0de57', class: "sd-switch__track" }, h("div", { key: 'ed90778aa4dcd6f0853029579c36cfdb8640afcf', class: "sd-switch__knob" })), this.label && h("span", { key: '70e3ddf819e77da4c693a4853ddb7f392381964e', class: "sd-switch__label" }, this.label)));
43
+ return (h("label", { key: '54ebe92b29a80537e2e4380ffe096a252f883d10', "aria-label": this.label || 'switch', class: this.switchClasses, style: cssVars }, h("input", { key: 'd18abbbf293434f07ae7dfa18b983b47cac1b774', type: "checkbox", checked: this.value, disabled: this.disabled, onInput: this.handleChange }), h("div", { key: '76fef910e632b541c0b33c508e6001529df5614f', class: "sd-switch__track" }, h("div", { key: 'a66f4ecca5787f00febe19216a93ec62916e0541', class: "sd-switch__knob" })), this.label && h("span", { key: '948d2b7afc6e171ee329752cb85f8e361f6bbed8', class: "sd-switch__label" }, this.label)));
44
44
  }
45
45
  static get is() { return "sd-switch"; }
46
46
  static get originalStyleUrls() {
@@ -0,0 +1,81 @@
1
+ import tableTokens from "../../tokens/generated/component.table.json";
2
+ import systemTokens from "../../tokens/generated/system.json";
3
+ // ── Header Tokens ──
4
+ export const TABLE_HEADER_LAYOUT = {
5
+ height: tableTokens.table.header.height,
6
+ paddingX: tableTokens.table.header.paddingX,
7
+ gap: tableTokens.table.header.gap,
8
+ };
9
+ export const TABLE_HEADER_TYPOGRAPHY = {
10
+ fontFamily: tableTokens.table.header.typography.fontFamily,
11
+ fontWeight: tableTokens.table.header.typography.fontWeight,
12
+ fontSize: tableTokens.table.header.typography.fontSize,
13
+ lineHeight: tableTokens.table.header.typography.lineHeight,
14
+ textDecoration: tableTokens.table.header.typography.textDecoration,
15
+ };
16
+ export const TABLE_HEADER_COLORS = {
17
+ bg: tableTokens.table.header.bg,
18
+ };
19
+ export const TABLE_HEADER_RESIZING_BAR = {
20
+ color: tableTokens.table.header.resizingBar.color,
21
+ height: tableTokens.table.header.resizingBar.height,
22
+ };
23
+ // ── Body Tokens ──
24
+ export const TABLE_BODY_LAYOUT = {
25
+ default: {
26
+ height: tableTokens.table.body.default.height,
27
+ paddingY: tableTokens.table.body.default.paddingY,
28
+ },
29
+ dense: {
30
+ height: tableTokens.table.body.dense.height,
31
+ paddingY: tableTokens.table.body.dense.paddingY,
32
+ },
33
+ paddingX: tableTokens.table.body.paddingX,
34
+ framePadding: tableTokens.table.body.frame.padding,
35
+ };
36
+ export const TABLE_BODY_TYPOGRAPHY = {
37
+ fontFamily: tableTokens.table.body.typography.fontFamily,
38
+ fontWeight: tableTokens.table.body.typography.fontWeight,
39
+ fontSize: tableTokens.table.body.typography.fontSize,
40
+ lineHeight: tableTokens.table.body.typography.lineHeight,
41
+ textDecoration: tableTokens.table.body.typography.textDecoration,
42
+ };
43
+ // ── Frame / Border Tokens ──
44
+ export const TABLE_BORDER = {
45
+ color: tableTokens.table.border.default,
46
+ width: tableTokens.table.border.width.width,
47
+ };
48
+ export const TABLE_RADIUS = tableTokens.table.radius;
49
+ // ── Content Tokens ──
50
+ export const TABLE_CONTENT = {
51
+ gap: tableTokens.table.content.gap,
52
+ };
53
+ // ── Bar Tokens ──
54
+ export const TABLE_BAR_LAYOUT = {
55
+ height: tableTokens.table.bar.height,
56
+ sectionGap: tableTokens.table.bar.section.gap,
57
+ dividerHeight: tableTokens.table.bar.divider.height,
58
+ };
59
+ export const TABLE_BAR_COLORS = {
60
+ count: {
61
+ total: tableTokens.table.bar.count.total,
62
+ null: tableTokens.table.bar.count.null,
63
+ },
64
+ };
65
+ // ── KeyValue Tokens ──
66
+ export const TABLE_KEY_VALUE = {
67
+ bodyPadding: tableTokens.table.keyValue.body.padding,
68
+ // TODO: 오타 수정 요청 후 변경
69
+ height: tableTokens.table.keyVlaue.height,
70
+ };
71
+ // ── Header Icon Color Defaults ──
72
+ const ICON_DEFAULT_COLOR = {
73
+ pageEdit: systemTokens.color.darkblue.strong,
74
+ arrowDown: systemTokens.color.darkblue.strong,
75
+ arrowUp: systemTokens.color.darkblue.strong,
76
+ updown: systemTokens.color.grey.strong,
77
+ pageMove: systemTokens.color.darkblue.strong,
78
+ star: systemTokens.color.blue.strong,
79
+ };
80
+ export const resolveTableIconColor = (name, override) => override ?? ICON_DEFAULT_COLOR[name];
81
+ export const resolveSortIconName = (sort) => sort === 'asc' ? 'arrowDown' : sort === 'desc' ? 'arrowUp' : 'updown';
@@ -11,7 +11,7 @@ sd-table *,
11
11
  }
12
12
 
13
13
  .sd-table__container {
14
- height: var(--table-height, auto);
14
+ height: var(--table-height, 100%);
15
15
  width: var(--table-width, 100%);
16
16
  max-width: 100%;
17
17
  min-width: 0;
@@ -24,12 +24,12 @@ sd-table *,
24
24
  width: 100%;
25
25
  min-width: 0;
26
26
  height: var(--table-container-height, 400px);
27
- border: 1px solid #E1E1E1;
28
- border-radius: 8px;
27
+ border: var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);
28
+ border-radius: var(--table-radius, 8px);
29
29
  overflow: hidden;
30
30
  }
31
31
  .sd-table__clip--has-pagination {
32
- border-radius: 8px 8px 0 0;
32
+ border-radius: var(--table-radius, 8px) var(--table-radius, 8px) 0 0;
33
33
  }
34
34
 
35
35
  .sd-table__wrapper {
@@ -38,7 +38,11 @@ sd-table *,
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  position: relative;
41
- font-size: 12px;
41
+ font-family: var(--table-body-font-family, inherit);
42
+ font-weight: var(--table-body-font-weight, 400);
43
+ font-size: var(--table-body-font-size, 12px);
44
+ line-height: var(--table-body-line-height, 20px);
45
+ text-decoration: var(--table-body-text-decoration, none);
42
46
  overflow: auto;
43
47
  background: #FFFFFF;
44
48
  }
@@ -57,12 +61,16 @@ sd-table *,
57
61
  display: flex;
58
62
  align-items: center;
59
63
  justify-content: center;
60
- font-size: 12px;
64
+ font-size: var(--table-body-font-size, 12px);
61
65
  color: #888888;
62
66
  pointer-events: none;
63
67
  z-index: 200;
64
68
  background: rgba(255, 255, 255, 0.6);
65
69
  }
70
+ .sd-table__no-data ::slotted(*),
71
+ .sd-table__no-data span {
72
+ pointer-events: auto;
73
+ }
66
74
 
67
75
  .sd-table__loading {
68
76
  position: absolute;
@@ -121,11 +129,11 @@ sd-table *,
121
129
  display: flex;
122
130
  align-items: center;
123
131
  justify-content: center;
124
- border: 1px solid #E1E1E1;
132
+ border: var(--table-border-width, 1px) solid var(--table-border-color, #E1E1E1);
125
133
  border-top: none;
126
- border-radius: 0 0 8px 8px;
134
+ border-radius: 0 0 var(--table-radius, 8px) var(--table-radius, 8px);
127
135
  }
128
- .sd-table__pagination sd-select-v2 {
136
+ .sd-table__pagination sd-select {
129
137
  position: absolute;
130
138
  right: 10px;
131
139
  top: 50%;
@@ -1,6 +1,7 @@
1
- import { h, Host, readTask, } from "@stencil/core";
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 } from "./sd-table.config";
4
5
  export class SdTable {
5
6
  static DEFAULT_NO_DATA_LABEL = '데이터가 없습니다.';
6
7
  el;
@@ -47,11 +48,17 @@ export class SdTable {
47
48
  scrolledRight = false;
48
49
  rowCount = 0;
49
50
  loadingScrollTop = 0;
51
+ // light DOM에 sd-thead / sd-tbody 자식이 없으면 sd-table이 직접 렌더해야 함을 알리는 플래그.
52
+ // componentWillLoad에서 한 번 결정되며, 이후 동적 토글은 지원하지 않는다.
53
+ autoThead = false;
54
+ autoTbody = false;
50
55
  vsStart = 0;
51
56
  vsEnd = 0;
52
57
  lastReachEndNotifiedRowCount = -1;
53
58
  scrollContainer = null;
54
59
  onScroll;
60
+ // 키: `${rowKey}::${field}` → { rowspan, colspan }
61
+ spanRegistry = new Map();
55
62
  toFiniteNumber(value, fallback) {
56
63
  const n = typeof value === 'number' ? value : Number(value);
57
64
  return Number.isFinite(n) ? n : fallback;
@@ -130,9 +137,16 @@ export class SdTable {
130
137
  this.innerRowsPerPage = newVal.rowsPerPage;
131
138
  }
132
139
  }
140
+ detectChildren() {
141
+ const hasThead = !!this.el.querySelector(':scope > sd-thead');
142
+ const hasTbody = !!this.el.querySelector(':scope > sd-tbody');
143
+ this.autoThead = !hasThead;
144
+ this.autoTbody = !hasTbody;
145
+ }
133
146
  componentWillLoad() {
134
147
  this.syncTableIdAttribute();
135
148
  this.handleNoDataLabelChange(this.noDataLabel);
149
+ this.detectChildren();
136
150
  this.innerSelected = new Set(this.selected || []);
137
151
  this.columnWidths = (this.columns || []).map(c => parseInt(c.width || '120', 10));
138
152
  if (this.pagination?.page) {
@@ -155,6 +169,11 @@ export class SdTable {
155
169
  el.getTableIdSync = () => this.getResolvedTableId();
156
170
  el.getVirtualScrollConfigSync = this.getVirtualScrollConfigSync.bind(this);
157
171
  el.calculateVisibleRange = this.calculateVisibleRange.bind(this);
172
+ el.registerSpanSync = this.registerSpanSync.bind(this);
173
+ el.unregisterSpanSync = this.unregisterSpanSync.bind(this);
174
+ el.getSpanSync = this.getSpanSync.bind(this);
175
+ el.isCoveredSync = this.isCoveredSync.bind(this);
176
+ el.hasRowspanSync = this.hasRowspanSync.bind(this);
158
177
  if (Array.isArray(this.rows)) {
159
178
  this.rowCount = this.rows.length;
160
179
  this.pushRowsToChildren(this.rows);
@@ -203,11 +222,22 @@ export class SdTable {
203
222
  this.scrollContainer.removeEventListener('scroll', this.onScroll);
204
223
  }
205
224
  }
225
+ // light DOM(manual mode 자식)과 shadow DOM(autoThead/autoTbody fallback) 양쪽 모두에서 자식을 찾는다.
226
+ queryChildEl(selector) {
227
+ return (this.el.querySelector(selector) ??
228
+ this.el.shadowRoot?.querySelector(selector) ??
229
+ null);
230
+ }
231
+ queryAllTr() {
232
+ const light = Array.from(this.el.querySelectorAll('sd-tr'));
233
+ const shadow = Array.from(this.el.shadowRoot?.querySelectorAll('sd-tr') ?? []);
234
+ return [...light, ...shadow];
235
+ }
206
236
  pushRowsToChildren(rows) {
207
- const tbody = this.el.querySelector('sd-tbody');
237
+ const tbody = this.queryChildEl('sd-tbody');
208
238
  if (tbody)
209
239
  tbody.rows = rows;
210
- const thead = this.el.querySelector('sd-thead');
240
+ const thead = this.queryChildEl('sd-thead');
211
241
  if (thead)
212
242
  thead.rows = rows;
213
243
  }
@@ -218,16 +248,14 @@ export class SdTable {
218
248
  this.refreshChildrenConfig();
219
249
  };
220
250
  refreshChildrenSelection() {
221
- const thead = this.el.querySelector('sd-thead');
222
- const rows = this.el.querySelectorAll('sd-tr');
251
+ const thead = this.queryChildEl('sd-thead');
223
252
  thead?.refreshSelection?.();
224
- rows.forEach(tr => tr?.refreshSelection?.());
253
+ this.queryAllTr().forEach(tr => tr?.refreshSelection?.());
225
254
  }
226
255
  refreshChildrenConfig() {
227
- const thead = this.el.querySelector('sd-thead');
228
- const rows = this.el.querySelectorAll('sd-tr');
256
+ const thead = this.queryChildEl('sd-thead');
229
257
  thead?.refreshConfig?.();
230
- rows.forEach(tr => tr?.refreshConfig?.());
258
+ this.queryAllTr().forEach(tr => tr?.refreshConfig?.());
231
259
  }
232
260
  maybeEmitVirtualReachEnd(start, end) {
233
261
  const threshold = Math.max(1, this.virtualEndThreshold);
@@ -259,7 +287,7 @@ export class SdTable {
259
287
  this.vsEnd = end;
260
288
  const topHeight = start * this.rowHeight;
261
289
  const bottomHeight = Math.max(0, (this.rowCount - end) * this.rowHeight);
262
- const tbody = this.el.querySelector('sd-tbody');
290
+ const tbody = this.queryChildEl('sd-tbody');
263
291
  tbody?.setSpacersSync?.(topHeight, bottomHeight);
264
292
  if (rangeChanged) {
265
293
  this.sdVirtualUpdate.emit({
@@ -351,8 +379,7 @@ export class SdTable {
351
379
  this.updateRowsVisibility();
352
380
  }
353
381
  updateRowsVisibility() {
354
- const rows = this.el.querySelectorAll('sd-tr');
355
- rows.forEach(tr => tr?.updateVisibility?.());
382
+ this.queryAllTr().forEach(tr => tr?.updateVisibility?.());
356
383
  }
357
384
  changeRowsPerPage(perPage) {
358
385
  const changedRowsPerPage = perPage ? Number(perPage) : 0;
@@ -389,10 +416,9 @@ export class SdTable {
389
416
  const delta = moveEvent.clientX - startX;
390
417
  const newWidth = Math.min(Math.max(startWidth + (reversed ? -delta : delta), minWidth), maxWidth);
391
418
  this.columnWidths = this.columnWidths.map((width, idx) => (idx === index ? newWidth : width));
392
- const thead = this.el.querySelector('sd-thead');
393
- const rows = this.el.querySelectorAll('sd-tr');
419
+ const thead = this.queryChildEl('sd-thead');
394
420
  thead?.setColumnWidths?.(this.columnWidths);
395
- rows.forEach(tr => tr?.setColumnWidths?.(this.columnWidths));
421
+ this.queryAllTr().forEach(tr => tr?.setColumnWidths?.(this.columnWidths));
396
422
  const stickyRightCount = this.stickyColumn?.right || 0;
397
423
  const visibleColCount = this.columns.filter(c => c.visible !== false).length;
398
424
  const isRightStickyEdgeResizer = stickyRightCount > 0 && index === visibleColCount - stickyRightCount;
@@ -429,6 +455,112 @@ export class SdTable {
429
455
  async getStickyStyle(colIdx) {
430
456
  return this.getStickyStyleSync(colIdx);
431
457
  }
458
+ // ─── rowspan / colspan registry ─────────────────────────────────
459
+ // sd-td가 mount/unmount 시 자기 (rowKey, field)와 span을 등록한다.
460
+ // sd-tr는 render마다 isCoveredSync로 자신의 셀 위치가 다른 셀의 span에
461
+ // 덮였는지 판정해 <td>를 그릴지 결정한다.
462
+ spanKey(rowKey, field) {
463
+ return `${rowKey}::${field}`;
464
+ }
465
+ // span 등록은 sd-td의 lifecycle에서 비동기적으로 일어나므로,
466
+ // 등록/해제 직후 형제 sd-tr들이 새 레지스트리 상태로 다시 그려져야
467
+ // 덮인 셀이 사라지거나 다시 나타난다.
468
+ // forceUpdate는 React 래퍼 환경에서 prop 동기화 사이클과 부딪혀 누락되는
469
+ // 경우가 있어, sd-tr의 @State (spansVersion)을 통해 재렌더를 강제한다.
470
+ requestAllTrUpdate() {
471
+ this.queryAllTr().forEach(tr => {
472
+ const trAny = tr;
473
+ if (typeof trAny.bumpSpansVersion === 'function') {
474
+ trAny.bumpSpansVersion();
475
+ }
476
+ else {
477
+ forceUpdate(tr);
478
+ }
479
+ });
480
+ }
481
+ registerSpanSync(rowKey, field, rowspan, colspan) {
482
+ if (rowKey == null || !field)
483
+ return;
484
+ const safeRowspan = Math.max(1, Math.floor(rowspan || 1));
485
+ const safeColspan = Math.max(1, Math.floor(colspan || 1));
486
+ const key = this.spanKey(rowKey, field);
487
+ const prev = this.spanRegistry.get(key);
488
+ if (safeRowspan === 1 && safeColspan === 1) {
489
+ if (!prev)
490
+ return;
491
+ this.spanRegistry.delete(key);
492
+ this.requestAllTrUpdate();
493
+ return;
494
+ }
495
+ if (prev && prev.rowspan === safeRowspan && prev.colspan === safeColspan)
496
+ return;
497
+ this.spanRegistry.set(key, { rowspan: safeRowspan, colspan: safeColspan });
498
+ this.requestAllTrUpdate();
499
+ }
500
+ unregisterSpanSync(rowKey, field) {
501
+ if (rowKey == null || !field)
502
+ return;
503
+ const key = this.spanKey(rowKey, field);
504
+ if (!this.spanRegistry.has(key))
505
+ return;
506
+ this.spanRegistry.delete(key);
507
+ this.requestAllTrUpdate();
508
+ }
509
+ getSpanSync(rowKey, field) {
510
+ return this.spanRegistry.get(this.spanKey(rowKey, field));
511
+ }
512
+ // 레지스트리에 rowspan>1 항목이 하나라도 있으면 true.
513
+ // hover 동작을 끌지 결정하는 데 사용 — colspan만 있는 경우는 그대로 hover 유지.
514
+ hasRowspanSync() {
515
+ for (const span of this.spanRegistry.values()) {
516
+ if (span.rowspan > 1)
517
+ return true;
518
+ }
519
+ return false;
520
+ }
521
+ isCoveredSync(rowKey, colIdx, columns) {
522
+ if (this.spanRegistry.size === 0)
523
+ return false;
524
+ const visibleCols = columns.filter(c => c.visible !== false);
525
+ // 1. 같은 행 왼쪽 스캔 — colspan으로 이 위치를 덮는 셀이 있는가
526
+ for (let i = 0; i < colIdx; i++) {
527
+ const c = visibleCols[i];
528
+ if (!c)
529
+ continue;
530
+ const field = typeof c.field === 'string' ? c.field : c.name;
531
+ const span = this.spanRegistry.get(this.spanKey(rowKey, field));
532
+ if (!span)
533
+ continue;
534
+ if (i + span.colspan > colIdx)
535
+ return true;
536
+ }
537
+ // 2. 위쪽 행 스캔 — 숫자 변환 가능한 rowKey만 rowspan 평가
538
+ const myRowIdx = Number(rowKey);
539
+ if (!Number.isFinite(myRowIdx))
540
+ return false;
541
+ for (const [key, span] of this.spanRegistry) {
542
+ if (span.rowspan <= 1)
543
+ continue;
544
+ const sepIdx = key.indexOf('::');
545
+ if (sepIdx < 0)
546
+ continue;
547
+ const otherRowKey = key.slice(0, sepIdx);
548
+ const otherField = key.slice(sepIdx + 2);
549
+ const otherRowIdx = Number(otherRowKey);
550
+ if (!Number.isFinite(otherRowIdx))
551
+ continue;
552
+ if (otherRowIdx >= myRowIdx)
553
+ continue;
554
+ if (otherRowIdx + span.rowspan <= myRowIdx)
555
+ continue;
556
+ const otherColIdx = visibleCols.findIndex(c => (typeof c.field === 'string' ? c.field : c.name) === otherField);
557
+ if (otherColIdx < 0)
558
+ continue;
559
+ if (otherColIdx <= colIdx && otherColIdx + span.colspan > colIdx)
560
+ return true;
561
+ }
562
+ return false;
563
+ }
432
564
  setRowCountSync(count) {
433
565
  const safeCount = Math.max(0, Math.floor(this.toFiniteNumber(count, 0)));
434
566
  if (safeCount !== this.rowCount) {
@@ -476,6 +608,20 @@ export class SdTable {
476
608
  return null;
477
609
  return { from: this.vsStart, to: this.vsEnd };
478
610
  }
611
+ // autoTbody fallback에서 sd-table이 직접 sd-tr을 만들어내는 경로.
612
+ // 가상 스크롤은 사용자가 직접 SdTbody+SdTr을 작성해야 하므로 빈 배열을 반환한다.
613
+ renderAutoRows() {
614
+ if (this.useVirtualScroll)
615
+ return null;
616
+ const allRows = this.rows ?? [];
617
+ const pageInfo = this.getPaginationInfoSync();
618
+ const startIdx = pageInfo?.startIndex ?? 0;
619
+ const displayed = pageInfo ? allRows.slice(pageInfo.startIndex, pageInfo.endIndex) : allRows;
620
+ return displayed.map((row, i) => {
621
+ const absoluteIdx = startIdx + i;
622
+ return h("sd-tr", { key: absoluteIdx, "row-key": String(absoluteIdx), row: row });
623
+ });
624
+ }
479
625
  get tableClasses() {
480
626
  return [
481
627
  'sd-table',
@@ -495,24 +641,34 @@ export class SdTable {
495
641
  }
496
642
  render() {
497
643
  const resolvedTableId = this.getResolvedTableId();
498
- return (h(Host, { key: '0b90643721a90b7bb59a6c31f6edeb313849b973' }, h("div", { key: 'e55fe4f476dbea4888a168861e7e6d6951d7d489', class: "sd-table__container", style: {
644
+ const hostStyle = {
645
+ '--table-radius': `${TABLE_RADIUS}px`,
646
+ '--table-border-color': TABLE_BORDER.color,
647
+ '--table-border-width': `${TABLE_BORDER.width}px`,
648
+ '--table-body-font-family': TABLE_BODY_TYPOGRAPHY.fontFamily,
649
+ '--table-body-font-weight': TABLE_BODY_TYPOGRAPHY.fontWeight,
650
+ '--table-body-font-size': `${TABLE_BODY_TYPOGRAPHY.fontSize}px`,
651
+ '--table-body-line-height': `${TABLE_BODY_TYPOGRAPHY.lineHeight}px`,
652
+ '--table-body-text-decoration': TABLE_BODY_TYPOGRAPHY.textDecoration,
653
+ };
654
+ return (h(Host, { key: '1a80b7c3589a8a2eefaabf24ed895c927543aac4', style: hostStyle }, h("div", { key: 'd97aa6c04948153671e26066b6df02e206fc35e6', class: "sd-table__container", style: {
499
655
  '--table-width': this.width,
500
656
  '--table-height': this.height,
501
657
  '--table-container-height': `calc(${this.height || '100%'} - ${this.pagination && this.rowCount > 0 && !this.useVirtualScroll ? 48 : 0}px)`,
502
- } }, h("div", { key: 'de18a900037a7b2f619dd22981c30ed76f5a8111', class: {
658
+ } }, h("div", { key: '0e13dbbe062953c93a0acaaf5c00ca40a5b7e245', class: {
503
659
  'sd-table__clip': true,
504
660
  'sd-table__clip--has-pagination': !!(this.pagination &&
505
661
  this.pagination.rowsPerPage > 0 &&
506
662
  this.rowCount > 0 &&
507
663
  !this.useVirtualScroll),
508
- } }, h("div", { key: '028e0982d415033adaf420ee6b953241c8f3dbec', class: {
664
+ } }, h("div", { key: 'c800ecac543d1540d9b6c9faf06753c9dc10aaf3', class: {
509
665
  'sd-table__wrapper': true,
510
666
  'sd-table__wrapper--loading': this.isLoading,
511
667
  'sd-table__wrapper--no-data': this.rowCount === 0 && !this.isLoading,
512
- } }, this.isLoading && (h("div", { key: '8c9110c9c2c26cddbbed8e1f2782ecfaafd3679c', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '51b61f91b0ecebf63fe3e65b94012963f0375e5c', indeterminate: true }))), this.rowCount === 0 && !this.isLoading && (h("div", { key: '0a7a45049014869b8164b081a251218d3c814e87', class: "sd-table__no-data" }, h("slot", { key: 'd4b6219e5dcaaa22be3360f7f0f05a8b32533890', name: "no-data" }, h("span", { key: 'c76848aad8a1d3967f3cd239090e97266e46ab3e' }, this.resolvedNoDataLabel)))), h("table", { key: '2b560d112402549c7043b337d944b0de88c3ba0e', class: this.tableClasses }, h("slot", { key: '1c4583148df6a585f389c1bed0426fa4a3cb4899', name: `${resolvedTableId}-head`, onSlotchange: this.handleStructureSlotChange }), h("slot", { key: 'a5d983106de61c829f9cbeb541d1908fee48468c', name: `${resolvedTableId}-body`, onSlotchange: this.handleStructureSlotChange })))), this.pagination &&
668
+ } }, this.isLoading && (h("div", { key: '656bc53538c8513e014f31f1e976fd66ce79c7aa', class: "sd-table__loading", style: { top: `${this.loadingScrollTop}px` } }, h("sd-circle-progress", { key: '74078add6860fc95e238d89335d57e205e751cd6', indeterminate: true }))), this.rowCount === 0 && !this.isLoading && (h("div", { key: '18a33a7247bde3d08472f8082325c76217734e5d', class: "sd-table__no-data" }, h("slot", { key: '966cb066f721695013a3e5a1a64543544b09fa77', name: "no-data" }, h("span", { key: 'd335a9b1b2e847b267cefb9d12f7265c5f67f394' }, this.resolvedNoDataLabel)))), h("table", { key: '8fd0a2428bfd4dd6a574bbb02139088c31408866', 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 &&
513
669
  this.pagination.rowsPerPage > 0 &&
514
670
  this.rowCount > 0 &&
515
- !this.useVirtualScroll && (h("div", { key: '004355d84e2cfc2fd38a9d4811f14fd66dc5c21b', class: "sd-table__pagination" }, h("sd-pagination", { key: '463586c7e57782a7989962f73cb3d4e8c04f5bce', 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-v2", { key: '1f26de447da63ef0c4a24ffb49666a0687db9991', value: this.useInternalPagination
671
+ !this.useVirtualScroll && (h("div", { key: '6f483b1a23456bbe42ff769a50c9de5638e7754f', class: "sd-table__pagination" }, h("sd-pagination", { key: '841c545c23de8b4bba4cce3c9f6608d16f7b4e54', 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: 'a67e17bf3067953169ffa119ee41b1d7f46c2058', value: this.useInternalPagination
516
672
  ? this.innerRowsPerPage
517
673
  : this.pagination.rowsPerPage, options: this.rowsPerPageOption, width: "128px", emitValue: true, onSdUpdate: e => {
518
674
  if (!this.isRowsPerPageValue(e.detail))
@@ -992,7 +1148,9 @@ export class SdTable {
992
1148
  "scrolledLeft": {},
993
1149
  "scrolledRight": {},
994
1150
  "rowCount": {},
995
- "loadingScrollTop": {}
1151
+ "loadingScrollTop": {},
1152
+ "autoThead": {},
1153
+ "autoTbody": {}
996
1154
  };
997
1155
  }
998
1156
  static get events() {
@@ -7,12 +7,4 @@
7
7
 
8
8
  .tbody {
9
9
  display: table-row-group;
10
- }
11
- .tbody--empty .tbody__no-data-row {
12
- display: table-row;
13
- }
14
- .tbody--empty .tbody__no-data-cell {
15
- display: table-cell;
16
- padding: 0;
17
- border-bottom: none;
18
10
  }
@@ -28,7 +28,12 @@ export class SdTbody {
28
28
  this.syncTableContext();
29
29
  }
30
30
  syncTableContext() {
31
- const table = this.el.closest('sd-table');
31
+ // sd-table shadow:true이므로 fallback content로 렌더되면 closest가 경계를 못 넘는다.
32
+ // 그 경우 getRootNode().host(=sd-table)로 폴백한다.
33
+ const closest = this.el.closest('sd-table');
34
+ const root = this.el.getRootNode();
35
+ const fromShadow = root instanceof ShadowRoot ? root.host : null;
36
+ const table = closest ?? fromShadow;
32
37
  this.tableEl = table;
33
38
  const fromMethod = table?.getTableIdSync?.();
34
39
  const fromAttr = table?.getAttribute(TABLE_ID_ATTR);
@@ -40,12 +45,11 @@ export class SdTbody {
40
45
  }
41
46
  }
42
47
  render() {
43
- const hasRows = this.rows.length > 0;
44
- return (h(Host, { key: 'e4c64dbf97185bbc6eaec4b883c65dc8ebd34ece', slot: `${this.tableId}-body` }, h("tbody", { key: 'b2fb886684a5a6055d3af659bba75dd9bc801b73', class: { 'tbody': true, 'tbody--empty': !hasRows } }, hasRows ? ([
48
+ return (h(Host, { key: 'e474bc09fdec9d48d978ec87620b161220b5236c', slot: `${this.tableId}-body` }, h("tbody", { key: 'c74261b3f30c43e8ac8c3bdea1180f17bfc7dbc8', class: { tbody: true } }, [
45
49
  this.topSpacerHeight > 0 && (h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
46
- h("slot", null),
50
+ h("slot", { key: 'f686e7e8fa81e725a32592a58267d0b5cd7551e6' }),
47
51
  this.bottomSpacerHeight > 0 && (h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
48
- ]) : (h("tr", { class: "tbody__no-data-row" }, h("td", { class: "tbody__no-data-cell", colSpan: 100 }, h("slot", { name: "no-data" })))))));
52
+ ])));
49
53
  }
50
54
  static get is() { return "sd-tbody"; }
51
55
  static get encapsulation() { return "shadow"; }
@@ -5,14 +5,22 @@ export class SdTd {
5
5
  field;
6
6
  rowKey;
7
7
  align;
8
+ rowspan;
9
+ colspan;
8
10
  handleFieldChange() {
9
11
  this.syncSlotName();
12
+ this.syncSpanRegistration();
10
13
  }
11
14
  handleRowKeyChange() {
12
15
  this.syncSlotName();
16
+ this.syncSpanRegistration();
17
+ }
18
+ handleSpanChange() {
19
+ this.syncSpanRegistration();
13
20
  }
14
21
  componentWillLoad() {
15
22
  this.syncSlotName();
23
+ this.syncSpanRegistration();
16
24
  // slot 타이밍 엇갈림 대응: 부모 sd-tr forceUpdate로 슬롯 재매칭
17
25
  const parentTr = this.el.parentElement;
18
26
  if (parentTr?.tagName?.toLowerCase() === 'sd-tr') {
@@ -21,6 +29,44 @@ export class SdTd {
21
29
  }
22
30
  componentDidLoad() {
23
31
  this.syncSlotName();
32
+ this.syncSpanRegistration();
33
+ }
34
+ // React StrictMode에서는 disconnect/reconnect 사이클이 일어나면서
35
+ // 동일 인스턴스의 componentWillLoad는 더 이상 호출되지 않는다.
36
+ // 재연결 시점에도 등록 상태를 복구해야 rowspan/colspan이 유지된다.
37
+ connectedCallback() {
38
+ this.syncSpanRegistration();
39
+ }
40
+ disconnectedCallback() {
41
+ const table = this.findTable();
42
+ if (table?.unregisterSpanSync && this.field && this.rowKey != null) {
43
+ table.unregisterSpanSync(String(this.rowKey), this.field);
44
+ this.requestParentTrUpdate();
45
+ }
46
+ }
47
+ findTable() {
48
+ return this.el.closest('sd-table');
49
+ }
50
+ requestParentTrUpdate() {
51
+ const parentTr = this.el.parentElement;
52
+ if (parentTr?.tagName?.toLowerCase() !== 'sd-tr')
53
+ return;
54
+ const trAny = parentTr;
55
+ if (typeof trAny.bumpSpansVersion === 'function') {
56
+ trAny.bumpSpansVersion();
57
+ }
58
+ else {
59
+ forceUpdate(parentTr);
60
+ }
61
+ }
62
+ syncSpanRegistration() {
63
+ const table = this.findTable();
64
+ if (!table?.registerSpanSync || !this.field || this.rowKey == null)
65
+ return;
66
+ const rs = Math.max(1, Math.floor(Number(this.rowspan) || 1));
67
+ const cs = Math.max(1, Math.floor(Number(this.colspan) || 1));
68
+ table.registerSpanSync(String(this.rowKey), this.field, rs, cs);
69
+ this.requestParentTrUpdate();
24
70
  }
25
71
  syncSlotName() {
26
72
  const table = this.el.closest('sd-table');
@@ -34,7 +80,7 @@ export class SdTd {
34
80
  }
35
81
  }
36
82
  render() {
37
- return (h(Host, { key: '672c967273dac405ed4a47fa5939463265075681', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'c15e572fdf4a8c68fff8b69b586dfbf9f01dce1b' })));
83
+ return (h(Host, { key: '1702396f538453cf26beb81b63926ea73b7baa89', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'bd04afefd83178f48eb93b4e7d189386a817ff72' })));
38
84
  }
39
85
  static get is() { return "sd-td"; }
40
86
  static get originalStyleUrls() {
@@ -105,6 +151,44 @@ export class SdTd {
105
151
  "setter": false,
106
152
  "reflect": false,
107
153
  "attribute": "align"
154
+ },
155
+ "rowspan": {
156
+ "type": "number",
157
+ "mutable": false,
158
+ "complexType": {
159
+ "original": "number",
160
+ "resolved": "number | undefined",
161
+ "references": {}
162
+ },
163
+ "required": false,
164
+ "optional": true,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": ""
168
+ },
169
+ "getter": false,
170
+ "setter": false,
171
+ "reflect": false,
172
+ "attribute": "rowspan"
173
+ },
174
+ "colspan": {
175
+ "type": "number",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "number",
179
+ "resolved": "number | undefined",
180
+ "references": {}
181
+ },
182
+ "required": false,
183
+ "optional": true,
184
+ "docs": {
185
+ "tags": [],
186
+ "text": ""
187
+ },
188
+ "getter": false,
189
+ "setter": false,
190
+ "reflect": false,
191
+ "attribute": "colspan"
108
192
  }
109
193
  };
110
194
  }
@@ -116,6 +200,12 @@ export class SdTd {
116
200
  }, {
117
201
  "propName": "rowKey",
118
202
  "methodName": "handleRowKeyChange"
203
+ }, {
204
+ "propName": "rowspan",
205
+ "methodName": "handleSpanChange"
206
+ }, {
207
+ "propName": "colspan",
208
+ "methodName": "handleSpanChange"
119
209
  }];
120
210
  }
121
211
  }