@sellmate/design-system 1.0.78 → 1.2.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 (483) hide show
  1. package/dist/cjs/component.table-CMqGfEui.js +66 -0
  2. package/dist/cjs/design-system.cjs.js +2 -2
  3. package/dist/cjs/{index--F2wGuAi.js → index-Cw-78mnC.js} +1 -1
  4. package/dist/cjs/index.cjs.js +5 -5
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{resolveColor-LhfOKtTZ.js → resolveColor-B0hzQNLG.js} +2 -2
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +3 -3
  8. package/dist/cjs/sd-badge.cjs.entry.js +2 -3
  9. package/dist/cjs/sd-barcode-input.cjs.entry.js +3 -3
  10. package/dist/cjs/{sd-button-v2.config-CnqCQQMi.js → sd-button.config-DH08UNfl.js} +114 -28
  11. package/dist/cjs/{sd-button-v2_2.cjs.entry.js → sd-button_2.cjs.entry.js} +102 -85
  12. package/dist/cjs/sd-calendar.cjs.entry.js +15 -15
  13. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-checkbox.cjs.entry.js +4 -4
  15. package/dist/cjs/sd-chip.cjs.entry.js +4 -4
  16. package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -3
  17. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +19 -11
  18. package/dist/cjs/sd-date-box.cjs.entry.js +9 -4
  19. package/dist/cjs/{sd-date-picker-calendar.cjs.entry.js → sd-date-picker-calendar_2.cjs.entry.js} +59 -6
  20. package/dist/cjs/{sd-date-picker.config-CRgCT5dn.js → sd-date-picker.config-CjvrFpYK.js} +1 -2
  21. package/dist/cjs/sd-date-picker_7.cjs.entry.js +1235 -0
  22. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +14 -14
  23. package/dist/cjs/sd-dropdown-button.cjs.entry.js +32 -27
  24. package/dist/cjs/{sd-button_4.cjs.entry.js → sd-field_3.cjs.entry.js} +47 -102
  25. package/dist/cjs/sd-form.cjs.entry.js +5 -5
  26. package/dist/cjs/sd-ghost-button.cjs.entry.js +12 -10
  27. package/dist/cjs/sd-guide.cjs.entry.js +11 -11
  28. package/dist/cjs/sd-key-value-table.cjs.entry.js +230 -0
  29. package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
  30. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  31. package/dist/cjs/sd-modal-container.cjs.entry.js +3 -3
  32. package/dist/cjs/{sd-pagination_5.cjs.entry.js → sd-pagination_4.cjs.entry.js} +136 -325
  33. package/dist/cjs/sd-popover.cjs.entry.js +18 -11
  34. package/dist/cjs/sd-popup.cjs.entry.js +112 -0
  35. package/dist/cjs/sd-portal.cjs.entry.js +3 -3
  36. package/dist/cjs/sd-radio-button.cjs.entry.js +9 -6
  37. package/dist/cjs/sd-radio.cjs.entry.js +2 -2
  38. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +159 -0
  39. package/dist/cjs/sd-select.config-B19ptCT2.js +178 -0
  40. package/dist/cjs/{sd-select-list-item_4.cjs.entry.js → sd-select_3.cjs.entry.js} +296 -323
  41. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  42. package/dist/cjs/sd-table.cjs.entry.js +188 -48
  43. package/dist/cjs/sd-table.config-BIpldZtw.js +76 -0
  44. package/dist/cjs/sd-tabs.cjs.entry.js +8 -3
  45. package/dist/cjs/sd-tag.cjs.entry.js +56 -21
  46. package/dist/cjs/sd-td.cjs.entry.js +52 -10
  47. package/dist/cjs/sd-text-link.cjs.entry.js +13 -5
  48. package/dist/cjs/sd-toast-container.cjs.entry.js +5 -5
  49. package/dist/cjs/sd-toast.cjs.entry.js +35 -5
  50. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  51. package/dist/cjs/{system-DpTN1vBC.js → system-VmZRYp6V.js} +4 -2
  52. package/dist/cjs/{tooltipArrow-D1-wcNm1.js → tooltipArrow-BjSFKIUq.js} +1 -1
  53. package/dist/collection/collection-manifest.json +4 -3
  54. package/dist/collection/components/assets/CheckboxCheck.js +5 -0
  55. package/dist/collection/components/assets/CheckboxIndeterminate.js +5 -0
  56. package/dist/collection/components/assets/index.js +4 -0
  57. package/dist/collection/components/sd-action-modal/sd-action-modal.css +1 -1
  58. package/dist/collection/components/sd-action-modal/sd-action-modal.js +7 -7
  59. package/dist/collection/components/sd-badge/sd-badge.config.js +10 -1
  60. package/dist/collection/components/sd-badge/sd-badge.js +1 -22
  61. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +4 -4
  62. package/dist/collection/components/{sd-button-v2/sd-button-v2.config.js → sd-button/sd-button.config.js} +1 -1
  63. package/dist/collection/components/sd-button/sd-button.css +47 -93
  64. package/dist/collection/components/sd-button/sd-button.js +100 -173
  65. package/dist/collection/components/sd-calendar/sd-calendar.js +14 -14
  66. package/dist/collection/components/sd-card/sd-card.js +1 -1
  67. package/dist/collection/components/sd-checkbox/sd-checkbox.js +3 -3
  68. package/dist/collection/components/sd-chip/sd-chip.js +4 -4
  69. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  70. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +13 -8
  71. package/dist/collection/components/sd-date-box/sd-date-box.js +8 -3
  72. package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +4 -4
  73. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.css +1 -1
  74. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +13 -6
  75. package/dist/collection/components/sd-date-picker/sd-date-picker.js +4 -4
  76. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +12 -12
  77. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +5 -5
  78. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +7 -3
  79. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +13 -11
  80. package/dist/collection/components/sd-field/sd-field.css +6 -2
  81. package/dist/collection/components/sd-field/sd-field.js +48 -22
  82. package/dist/collection/components/sd-file-picker/sd-file-picker.js +10 -5
  83. package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -3
  84. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +6 -6
  85. package/dist/collection/components/sd-form/sd-form.js +4 -4
  86. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +12 -10
  87. package/dist/collection/components/sd-guide/sd-guide.css +8 -172
  88. package/dist/collection/components/sd-guide/sd-guide.js +8 -6
  89. package/dist/collection/components/sd-icon/sd-icon.js +4 -4
  90. package/dist/collection/components/sd-input/sd-input.css +4 -2
  91. package/dist/collection/components/sd-input/sd-input.js +6 -6
  92. package/dist/collection/components/sd-key-value-table/sd-key-value-table.config.js +36 -0
  93. package/dist/collection/components/sd-key-value-table/sd-key-value-table.css +119 -0
  94. package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +301 -0
  95. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  96. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  97. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +6 -3
  98. package/dist/collection/components/sd-modal-container/sd-modal-container.js +2 -2
  99. package/dist/collection/components/sd-number-input/sd-number-input.css +7 -0
  100. package/dist/collection/components/sd-number-input/sd-number-input.js +8 -5
  101. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  102. package/dist/collection/components/sd-popover/sd-popover.js +129 -36
  103. package/dist/collection/components/sd-popup/sd-popup.config.js +34 -0
  104. package/dist/collection/components/sd-popup/sd-popup.css +73 -0
  105. package/dist/collection/components/sd-popup/sd-popup.js +163 -0
  106. package/dist/collection/components/sd-portal/sd-portal.js +2 -2
  107. package/dist/collection/components/sd-radio/sd-radio.js +1 -1
  108. package/dist/collection/components/sd-radio-button/sd-radio-button.js +8 -5
  109. package/dist/collection/components/sd-radio-group/sd-radio-group.js +2 -2
  110. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +7 -3
  111. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.css +4 -4
  112. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +7 -7
  113. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +8 -8
  114. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +9 -4
  115. package/dist/collection/components/sd-select/sd-select.js +6 -6
  116. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  117. package/dist/collection/components/sd-table/sd-table.config.js +6 -2
  118. package/dist/collection/components/sd-table/sd-table.css +30 -11
  119. package/dist/collection/components/sd-table/sd-table.js +233 -50
  120. package/dist/collection/components/sd-table/sd-table.stories.helpers.js +2 -3
  121. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +5 -5
  122. package/dist/collection/components/sd-table/sd-td/sd-td.js +111 -9
  123. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +30 -16
  124. package/dist/collection/components/sd-table/sd-tr/sd-tr.css +24 -1
  125. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +116 -19
  126. package/dist/collection/components/sd-tabs/sd-tabs.js +7 -2
  127. package/dist/collection/components/sd-tag/sd-tag.config.js +43 -11
  128. package/dist/collection/components/sd-tag/sd-tag.js +13 -7
  129. package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
  130. package/dist/collection/components/sd-text-link/sd-text-link.js +10 -4
  131. package/dist/collection/components/sd-textarea/sd-textarea.css +3 -0
  132. package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
  133. package/dist/collection/components/sd-toast/sd-toast.config.js +14 -0
  134. package/dist/collection/components/sd-toast/sd-toast.css +3 -5
  135. package/dist/collection/components/sd-toast/sd-toast.js +52 -5
  136. package/dist/collection/components/sd-toast-container/sd-toast-container.js +4 -4
  137. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  138. package/dist/collection/components/sd-tooltip/sd-tooltip.js +77 -30
  139. package/dist/collection/utils/color/resolveColor.js +2 -2
  140. package/dist/collection/utils/dropdown-manager.js +1 -1
  141. package/dist/collection/utils/modal.js +1 -1
  142. package/dist/collection/utils/toast.js +4 -4
  143. package/dist/components/index.js +1 -1
  144. package/dist/components/p-2wB9cing.js +1 -0
  145. package/dist/components/p-B-sK7I83.js +1 -0
  146. package/dist/components/p-B3D43x7F.js +1 -0
  147. package/dist/components/p-B7mpdnNl.js +1 -0
  148. package/dist/components/{p-TwGlKfsC.js → p-BAcmO7w0.js} +1 -1
  149. package/dist/components/p-BL0ZcHK8.js +1 -0
  150. package/dist/components/p-BXCyVrle.js +1 -0
  151. package/dist/components/p-BY1LGlfc.js +1 -0
  152. package/dist/components/p-BjkROjjt.js +1 -0
  153. package/dist/components/p-Bm3W_eBv.js +1 -0
  154. package/dist/components/p-BnfUIhUj.js +1 -0
  155. package/dist/components/{p-Dcc2Vm6z.js → p-BorUSgEK.js} +1 -1
  156. package/dist/components/{p-Bvq0Vpln.js → p-BsM-fwYd.js} +1 -1
  157. package/dist/components/p-C5CH-s6a.js +1 -0
  158. package/dist/components/p-C7WLft_0.js +1 -0
  159. package/dist/components/p-CK9ciBIR.js +1 -0
  160. package/dist/components/p-CQI40kiY.js +1 -0
  161. package/dist/components/p-CRL7TjSB.js +1 -0
  162. package/dist/components/p-CdOHomUp.js +1 -0
  163. package/dist/components/p-Ch5Yu1qd.js +1 -0
  164. package/dist/components/p-Cktiasfd.js +1 -0
  165. package/dist/components/p-CsVAx6KV.js +1 -0
  166. package/dist/components/p-D0Jiw-Zk.js +1 -0
  167. package/dist/components/p-D5F7wCNo.js +1 -0
  168. package/dist/components/p-DBFgk0rX.js +1 -0
  169. package/dist/components/p-DFLCjX1a.js +1 -0
  170. package/dist/components/p-DL1ac1QS.js +1 -0
  171. package/dist/components/p-DdLntfiw.js +1 -0
  172. package/dist/components/p-DeQcDHpn.js +1 -0
  173. package/dist/components/p-DfK4DiDI.js +1 -0
  174. package/dist/components/p-DhTcn6jX.js +1 -0
  175. package/dist/components/p-Dl8TIEQu.js +1 -0
  176. package/dist/components/p-DyAnn9ea.js +1 -0
  177. package/dist/components/p-GBlVDmy4.js +1 -0
  178. package/dist/components/p-Jts7ueOa.js +1 -0
  179. package/dist/components/p-arZfxxPn.js +1 -0
  180. package/dist/components/p-mmdt-WnS.js +1 -0
  181. package/dist/components/p-nOCYbyW4.js +1 -0
  182. package/dist/components/p-teN3CfOr.js +1 -0
  183. package/dist/components/p-u8teDaMa.js +1 -0
  184. package/dist/components/p-wCNRlKLa.js +1 -0
  185. package/dist/components/sd-action-modal.js +1 -1
  186. package/dist/components/sd-badge.js +1 -1
  187. package/dist/components/sd-barcode-input.js +1 -1
  188. package/dist/components/sd-button.js +1 -1
  189. package/dist/components/sd-calendar.js +1 -1
  190. package/dist/components/sd-card.js +1 -1
  191. package/dist/components/sd-checkbox.js +1 -1
  192. package/dist/components/sd-chip.js +1 -1
  193. package/dist/components/sd-circle-progress.js +1 -1
  194. package/dist/components/sd-confirm-modal.js +1 -1
  195. package/dist/components/sd-date-box.js +1 -1
  196. package/dist/components/sd-date-picker-calendar.js +1 -1
  197. package/dist/components/sd-date-picker-trigger.js +1 -1
  198. package/dist/components/sd-date-picker.js +1 -1
  199. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  200. package/dist/components/sd-date-range-picker.js +1 -1
  201. package/dist/components/sd-dropdown-button.js +1 -1
  202. package/dist/components/sd-field.js +1 -1
  203. package/dist/components/sd-file-picker.js +1 -1
  204. package/dist/components/sd-floating-portal.js +1 -1
  205. package/dist/components/sd-form.js +1 -1
  206. package/dist/components/sd-ghost-button.js +1 -1
  207. package/dist/components/sd-guide.js +1 -1
  208. package/dist/components/sd-icon.js +1 -1
  209. package/dist/components/sd-input.js +1 -1
  210. package/dist/components/sd-key-value-table.d.ts +11 -0
  211. package/dist/components/sd-key-value-table.js +1 -0
  212. package/dist/components/sd-linear-progress.js +1 -1
  213. package/dist/components/sd-loading-container.js +1 -1
  214. package/dist/components/sd-loading-modal.js +1 -1
  215. package/dist/components/sd-modal-container.js +1 -1
  216. package/dist/components/sd-number-input.js +1 -1
  217. package/dist/components/sd-pagination.js +1 -1
  218. package/dist/components/sd-popover.js +1 -1
  219. package/dist/components/{sd-button-v2.d.ts → sd-popup.d.ts} +4 -4
  220. package/dist/components/sd-popup.js +1 -0
  221. package/dist/components/sd-portal.js +1 -1
  222. package/dist/components/sd-radio-button.js +1 -1
  223. package/dist/components/sd-radio-group.js +1 -1
  224. package/dist/components/sd-radio.js +1 -1
  225. package/dist/components/sd-select-list-item-search.js +1 -1
  226. package/dist/components/sd-select-list-item.js +1 -1
  227. package/dist/components/sd-select-listbox.js +1 -1
  228. package/dist/components/sd-select-trigger.js +1 -1
  229. package/dist/components/sd-select.js +1 -1
  230. package/dist/components/sd-switch.js +1 -1
  231. package/dist/components/sd-table.js +1 -1
  232. package/dist/components/sd-tabs.js +1 -1
  233. package/dist/components/sd-tag.js +1 -1
  234. package/dist/components/sd-tbody.js +1 -1
  235. package/dist/components/sd-td.js +1 -1
  236. package/dist/components/sd-text-link.js +1 -1
  237. package/dist/components/sd-textarea.js +1 -1
  238. package/dist/components/sd-thead.js +1 -1
  239. package/dist/components/sd-toast-container.js +1 -1
  240. package/dist/components/sd-toast.js +1 -1
  241. package/dist/components/sd-toggle.js +1 -1
  242. package/dist/components/sd-tooltip.js +1 -1
  243. package/dist/components/sd-tr.js +1 -1
  244. package/dist/design-system/design-system.css +1 -1
  245. package/dist/design-system/design-system.esm.js +1 -1
  246. package/dist/design-system/index.esm.js +1 -1
  247. package/dist/design-system/p-04fdb4b1.entry.js +1 -0
  248. package/dist/design-system/p-05611ff7.entry.js +1 -0
  249. package/dist/design-system/p-0U6dRjlq.js +2 -0
  250. package/dist/design-system/{p-fe9cef6a.entry.js → p-0fe603a4.entry.js} +1 -1
  251. package/dist/design-system/p-100f5887.entry.js +1 -0
  252. package/dist/design-system/p-18c5ae1a.entry.js +1 -0
  253. package/dist/design-system/p-1baa05ae.entry.js +1 -0
  254. package/dist/design-system/p-2a1ef965.entry.js +1 -0
  255. package/dist/design-system/p-2c63404f.entry.js +1 -0
  256. package/dist/design-system/{p-33bc3176.entry.js → p-435ae69e.entry.js} +1 -1
  257. package/dist/design-system/p-43e97572.entry.js +1 -0
  258. package/dist/design-system/p-44d05570.entry.js +1 -0
  259. package/dist/design-system/p-501fae20.entry.js +1 -0
  260. package/dist/design-system/{p-ead3e688.entry.js → p-5705e6d6.entry.js} +1 -1
  261. package/dist/design-system/p-5cbaf1db.entry.js +1 -0
  262. package/dist/design-system/p-5ed0becf.entry.js +1 -0
  263. package/dist/design-system/p-5f1c39b8.entry.js +1 -0
  264. package/dist/design-system/p-66af0ba0.entry.js +1 -0
  265. package/dist/design-system/p-77690440.entry.js +1 -0
  266. package/dist/design-system/p-78cc0289.entry.js +1 -0
  267. package/dist/design-system/p-790165f8.entry.js +1 -0
  268. package/dist/design-system/p-80466582.entry.js +1 -0
  269. package/dist/design-system/{p-e5cebccd.entry.js → p-857c44e8.entry.js} +1 -1
  270. package/dist/design-system/{p-f522c91d.entry.js → p-87c868c3.entry.js} +1 -1
  271. package/dist/design-system/p-8db7d8f2.entry.js +1 -0
  272. package/dist/design-system/p-8ee990bd.entry.js +1 -0
  273. package/dist/design-system/p-8f22106e.entry.js +1 -0
  274. package/dist/design-system/p-BDjErF_K.js +1 -0
  275. package/dist/design-system/p-BnfUIhUj.js +1 -0
  276. package/dist/{components/p-DkJqVXpD.js → design-system/p-C29HUShl.js} +1 -1
  277. package/dist/design-system/{p-BxPyZJaz.js → p-Ce0cmS4R.js} +1 -1
  278. package/dist/design-system/p-CxOCk_ge.js +1 -0
  279. package/dist/design-system/p-GBlVDmy4.js +1 -0
  280. package/dist/design-system/p-a6545130.entry.js +1 -0
  281. package/dist/design-system/p-ae2d45a2.entry.js +1 -0
  282. package/dist/design-system/{p-797517b5.entry.js → p-aeccfb2b.entry.js} +1 -1
  283. package/dist/design-system/p-b0aad445.entry.js +1 -0
  284. package/dist/design-system/p-b3c144ff.entry.js +1 -0
  285. package/dist/design-system/p-caee95b0.entry.js +1 -0
  286. package/dist/design-system/p-d30c823e.entry.js +1 -0
  287. package/dist/design-system/{p-3f7bc660.entry.js → p-d3212544.entry.js} +1 -1
  288. package/dist/design-system/p-d8c41313.entry.js +1 -0
  289. package/dist/design-system/{p-6bfe3612.entry.js → p-de8bb9ba.entry.js} +1 -1
  290. package/dist/design-system/p-e2334c1c.entry.js +1 -0
  291. package/dist/design-system/p-f4d73a0c.entry.js +1 -0
  292. package/dist/design-system/p-fc973500.entry.js +1 -0
  293. package/dist/design-system/p-fe0a5368.entry.js +1 -0
  294. package/dist/design-system/p-mmdt-WnS.js +1 -0
  295. package/dist/esm/component.table-BnfUIhUj.js +64 -0
  296. package/dist/esm/design-system.js +3 -3
  297. package/dist/esm/{index-Cnwbjz1F.js → index-0U6dRjlq.js} +1 -1
  298. package/dist/esm/index.js +5 -5
  299. package/dist/esm/loader.js +3 -3
  300. package/dist/esm/{resolveColor-BxPyZJaz.js → resolveColor-Ce0cmS4R.js} +2 -2
  301. package/dist/esm/sd-action-modal.entry.js +3 -3
  302. package/dist/esm/sd-badge.entry.js +2 -3
  303. package/dist/esm/sd-barcode-input.entry.js +3 -3
  304. package/dist/esm/{sd-button-v2.config-CV4xelxV.js → sd-button.config-BDjErF_K.js} +88 -3
  305. package/dist/esm/{sd-button-v2_2.entry.js → sd-button_2.entry.js} +102 -85
  306. package/dist/esm/sd-calendar.entry.js +15 -15
  307. package/dist/esm/sd-card.entry.js +2 -2
  308. package/dist/esm/sd-checkbox.entry.js +4 -4
  309. package/dist/esm/sd-chip.entry.js +4 -4
  310. package/dist/esm/sd-circle-progress.entry.js +3 -3
  311. package/dist/esm/sd-confirm-modal_2.entry.js +19 -11
  312. package/dist/esm/sd-date-box.entry.js +9 -4
  313. package/dist/esm/{sd-date-picker-calendar.entry.js → sd-date-picker-calendar_2.entry.js} +59 -7
  314. package/dist/esm/{sd-date-picker.config-C2fDbE9d.js → sd-date-picker.config-B6cqMQaM.js} +1 -2
  315. package/dist/esm/sd-date-picker_7.entry.js +1227 -0
  316. package/dist/esm/sd-date-range-picker-calendar.entry.js +14 -14
  317. package/dist/esm/sd-dropdown-button.entry.js +21 -16
  318. package/dist/esm/{sd-button_4.entry.js → sd-field_3.entry.js} +48 -102
  319. package/dist/esm/sd-form.entry.js +5 -5
  320. package/dist/esm/sd-ghost-button.entry.js +12 -10
  321. package/dist/esm/sd-guide.entry.js +11 -11
  322. package/dist/esm/sd-key-value-table.entry.js +228 -0
  323. package/dist/esm/sd-linear-progress.entry.js +3 -3
  324. package/dist/esm/sd-loading-container.entry.js +3 -3
  325. package/dist/esm/sd-modal-container.entry.js +3 -3
  326. package/dist/esm/{sd-pagination_5.entry.js → sd-pagination_4.entry.js} +137 -325
  327. package/dist/esm/sd-popover.entry.js +18 -11
  328. package/dist/esm/sd-popup.entry.js +110 -0
  329. package/dist/esm/sd-portal.entry.js +3 -3
  330. package/dist/esm/sd-radio-button.entry.js +9 -6
  331. package/dist/esm/sd-radio.entry.js +2 -2
  332. package/dist/esm/sd-select-list-item_2.entry.js +156 -0
  333. package/dist/esm/sd-select.config-CxOCk_ge.js +165 -0
  334. package/dist/esm/{sd-select-list-item_4.entry.js → sd-select_3.entry.js} +281 -307
  335. package/dist/esm/sd-switch.entry.js +2 -2
  336. package/dist/esm/{sd-table.config-Bj-EEo7N.js → sd-table.config-B-VgXXT7.js} +16 -46
  337. package/dist/esm/sd-table.entry.js +188 -48
  338. package/dist/esm/sd-tabs.entry.js +8 -3
  339. package/dist/esm/sd-tag.entry.js +56 -21
  340. package/dist/esm/sd-td.entry.js +52 -10
  341. package/dist/esm/sd-text-link.entry.js +13 -5
  342. package/dist/esm/sd-toast-container.entry.js +5 -5
  343. package/dist/esm/sd-toast.entry.js +35 -5
  344. package/dist/esm/sd-toggle.entry.js +2 -2
  345. package/dist/esm/{system-CZ4ltUOw.js → system-GBlVDmy4.js} +4 -2
  346. package/dist/esm/{tooltipArrow-D8sr81Xw.js → tooltipArrow-O5LOsHae.js} +1 -1
  347. package/dist/types/components/assets/CheckboxCheck.d.ts +1 -0
  348. package/dist/types/components/assets/CheckboxIndeterminate.d.ts +1 -0
  349. package/dist/types/components/assets/index.d.ts +2 -0
  350. package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +2 -2
  351. package/dist/types/components/sd-badge/sd-badge.d.ts +0 -1
  352. package/dist/types/components/{sd-button-v2/sd-button-v2.config.d.ts → sd-button/sd-button.config.d.ts} +9 -15
  353. package/dist/types/components/sd-button/sd-button.d.ts +11 -13
  354. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.config.d.ts +3 -3
  355. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +2 -1
  356. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +6 -5
  357. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +1 -0
  358. package/dist/types/components/sd-field/sd-field.d.ts +1 -0
  359. package/dist/types/components/sd-key-value-table/sd-key-value-table.config.d.ts +105 -0
  360. package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +38 -0
  361. package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +2 -2
  362. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
  363. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -1
  364. package/dist/types/components/sd-popover/sd-popover.d.ts +16 -10
  365. package/dist/types/components/sd-popup/sd-popup.config.d.ts +30 -0
  366. package/dist/types/components/sd-popup/sd-popup.d.ts +11 -0
  367. package/dist/types/components/sd-table/constants.d.ts +2 -0
  368. package/dist/types/components/sd-table/sd-table.config.d.ts +4 -0
  369. package/dist/types/components/sd-table/sd-table.d.ts +21 -15
  370. package/dist/types/components/sd-table/sd-td/sd-td.d.ts +6 -0
  371. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +9 -0
  372. package/dist/types/components/sd-tag/sd-tag.d.ts +2 -0
  373. package/dist/types/components/sd-toast/sd-toast.config.d.ts +5 -1
  374. package/dist/types/components/sd-toast/sd-toast.d.ts +2 -0
  375. package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +2 -0
  376. package/dist/types/components/sd-tooltip/sd-tooltip.config.d.ts +2 -13
  377. package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +6 -4
  378. package/dist/types/components.d.ts +278 -192
  379. package/dist/types/index.d.ts +1 -1
  380. package/dist/types/types/form.d.ts +1 -1
  381. package/dist/types/types/global.d.ts +14 -13
  382. package/dist/types/utils/toast.d.ts +1 -1
  383. package/hydrate/index.js +5513 -4761
  384. package/hydrate/index.mjs +5513 -4761
  385. package/package.json +111 -97
  386. package/readme.md +13 -7
  387. package/dist/cjs/component.button-cqV-iCG5.js +0 -90
  388. package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +0 -51
  389. package/dist/cjs/sd-date-picker.cjs.entry.js +0 -117
  390. package/dist/cjs/sd-date-range-picker.cjs.entry.js +0 -123
  391. package/dist/cjs/sd-file-picker.cjs.entry.js +0 -244
  392. package/dist/cjs/sd-input.cjs.entry.js +0 -175
  393. package/dist/cjs/sd-number-input.cjs.entry.js +0 -409
  394. package/dist/cjs/sd-radio-group.cjs.entry.js +0 -46
  395. package/dist/cjs/sd-table.config-Cb0Ot3C6.js +0 -105
  396. package/dist/cjs/sd-textarea.cjs.entry.js +0 -146
  397. package/dist/collection/components/sd-button-v2/sd-button-v2.css +0 -125
  398. package/dist/collection/components/sd-button-v2/sd-button-v2.js +0 -273
  399. package/dist/components/p-B1XBwjCW.js +0 -1
  400. package/dist/components/p-B8jXOXtJ.js +0 -1
  401. package/dist/components/p-BE6TxbtX.js +0 -1
  402. package/dist/components/p-BJsHakU2.js +0 -1
  403. package/dist/components/p-BStczlLa.js +0 -1
  404. package/dist/components/p-BcMNA89i.js +0 -1
  405. package/dist/components/p-BheX6lAy.js +0 -1
  406. package/dist/components/p-BmYM7-4v.js +0 -1
  407. package/dist/components/p-BppjYHF6.js +0 -1
  408. package/dist/components/p-BwWDMpJc.js +0 -1
  409. package/dist/components/p-C-kw2p2a.js +0 -1
  410. package/dist/components/p-C5qZtNLl.js +0 -1
  411. package/dist/components/p-C7DajKYn.js +0 -1
  412. package/dist/components/p-CZ4ltUOw.js +0 -1
  413. package/dist/components/p-CeVMl_M9.js +0 -1
  414. package/dist/components/p-D1DpOp6M.js +0 -1
  415. package/dist/components/p-D3gjBBCU.js +0 -1
  416. package/dist/components/p-DC-6inj0.js +0 -1
  417. package/dist/components/p-DRF0He-x.js +0 -1
  418. package/dist/components/p-DegvQLTF.js +0 -1
  419. package/dist/components/p-Dey-lS6x.js +0 -1
  420. package/dist/components/p-DfH_fO01.js +0 -1
  421. package/dist/components/p-DngV3MT1.js +0 -1
  422. package/dist/components/p-EbjZr2OA.js +0 -1
  423. package/dist/components/p-LwWOleLJ.js +0 -1
  424. package/dist/components/p-Nvx13YlG.js +0 -1
  425. package/dist/components/p-ZMpCZhXP.js +0 -1
  426. package/dist/components/p-dNJIFthT.js +0 -1
  427. package/dist/components/p-q0VWISKA.js +0 -1
  428. package/dist/components/p-xnLvZ-xn.js +0 -1
  429. package/dist/components/sd-button-v2.js +0 -1
  430. package/dist/design-system/p-0356c195.entry.js +0 -1
  431. package/dist/design-system/p-045bc426.entry.js +0 -1
  432. package/dist/design-system/p-12dfd239.entry.js +0 -1
  433. package/dist/design-system/p-16d3a485.entry.js +0 -1
  434. package/dist/design-system/p-1706ed6f.entry.js +0 -1
  435. package/dist/design-system/p-182548f7.entry.js +0 -1
  436. package/dist/design-system/p-1a79edce.entry.js +0 -1
  437. package/dist/design-system/p-1cf87e87.entry.js +0 -1
  438. package/dist/design-system/p-25a08e98.entry.js +0 -1
  439. package/dist/design-system/p-2812b9ce.entry.js +0 -1
  440. package/dist/design-system/p-38f661ea.entry.js +0 -1
  441. package/dist/design-system/p-429dab5c.entry.js +0 -1
  442. package/dist/design-system/p-455dccf5.entry.js +0 -1
  443. package/dist/design-system/p-59313838.entry.js +0 -1
  444. package/dist/design-system/p-6af01ab0.entry.js +0 -1
  445. package/dist/design-system/p-70d4903f.entry.js +0 -1
  446. package/dist/design-system/p-767e99f9.entry.js +0 -1
  447. package/dist/design-system/p-7c370335.entry.js +0 -1
  448. package/dist/design-system/p-7fe8be6a.entry.js +0 -1
  449. package/dist/design-system/p-83b262dc.entry.js +0 -1
  450. package/dist/design-system/p-881adaa5.entry.js +0 -1
  451. package/dist/design-system/p-88d7303c.entry.js +0 -1
  452. package/dist/design-system/p-8a601e0f.entry.js +0 -1
  453. package/dist/design-system/p-B1XBwjCW.js +0 -1
  454. package/dist/design-system/p-BsrEibf7.js +0 -1
  455. package/dist/design-system/p-C5qZtNLl.js +0 -1
  456. package/dist/design-system/p-CZ4ltUOw.js +0 -1
  457. package/dist/design-system/p-Cnwbjz1F.js +0 -2
  458. package/dist/design-system/p-DnCBBIoq.js +0 -1
  459. package/dist/design-system/p-a82be987.entry.js +0 -1
  460. package/dist/design-system/p-b917c82a.entry.js +0 -1
  461. package/dist/design-system/p-b9f00eef.entry.js +0 -1
  462. package/dist/design-system/p-bcb53788.entry.js +0 -1
  463. package/dist/design-system/p-c24344ac.entry.js +0 -1
  464. package/dist/design-system/p-d76192bd.entry.js +0 -1
  465. package/dist/design-system/p-d9d8c51b.entry.js +0 -1
  466. package/dist/design-system/p-de67937d.entry.js +0 -1
  467. package/dist/design-system/p-ea5e6c2c.entry.js +0 -1
  468. package/dist/design-system/p-eeb1cac2.entry.js +0 -1
  469. package/dist/design-system/p-f1a74359.entry.js +0 -1
  470. package/dist/design-system/p-f44786a9.entry.js +0 -1
  471. package/dist/design-system/p-f69c7539.entry.js +0 -1
  472. package/dist/esm/component.button-B1XBwjCW.js +0 -88
  473. package/dist/esm/sd-date-picker-trigger.entry.js +0 -49
  474. package/dist/esm/sd-date-picker.entry.js +0 -115
  475. package/dist/esm/sd-date-range-picker.entry.js +0 -121
  476. package/dist/esm/sd-file-picker.entry.js +0 -242
  477. package/dist/esm/sd-input.entry.js +0 -173
  478. package/dist/esm/sd-number-input.entry.js +0 -407
  479. package/dist/esm/sd-radio-group.entry.js +0 -44
  480. package/dist/esm/sd-textarea.entry.js +0 -144
  481. package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +0 -19
  482. /package/dist/components/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
  483. /package/dist/design-system/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
@@ -1,11 +1,10 @@
1
- import { r as registerInstance, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, h } from './index-0U6dRjlq.js';
2
2
 
3
3
  const tag = {
4
4
  xs: {
5
5
  height: "20",
6
6
  paddingX: "8",
7
7
  gap: "4",
8
- icon: "12",
9
8
  typography: {
10
9
  fontSize: "11",
11
10
  fontWeight: "500",
@@ -16,7 +15,6 @@ const tag = {
16
15
  height: "24",
17
16
  paddingX: "8",
18
17
  gap: "4",
19
- icon: "16",
20
18
  typography: {
21
19
  fontSize: "12",
22
20
  fontWeight: "700",
@@ -28,7 +26,6 @@ const tag = {
28
26
  height: "28",
29
27
  paddingX: "12",
30
28
  gap: "6",
31
- icon: "16",
32
29
  typography: {
33
30
  fontSize: "14",
34
31
  fontWeight: "700",
@@ -85,14 +82,46 @@ const TAG_COLORS = [
85
82
  'indigo',
86
83
  ];
87
84
  const TAG_COLOR_CONFIG = {
88
- grey: { background: tagTokens.tag.grey.bg, content: tagTokens.tag.grey.content, icon: tagTokens.tag.grey.content },
89
- red: { background: tagTokens.tag.red.bg, content: tagTokens.tag.red.content, icon: tagTokens.tag.red.content },
90
- orange: { background: tagTokens.tag.orange.bg, content: tagTokens.tag.orange.content, icon: tagTokens.tag.orange.content },
91
- yellow: { background: tagTokens.tag.yellow.bg, content: tagTokens.tag.yellow.content, icon: tagTokens.tag.yellow.content },
92
- green: { background: tagTokens.tag.green.bg, content: tagTokens.tag.green.content, icon: tagTokens.tag.green.content },
93
- blue: { background: tagTokens.tag.blue.bg, content: tagTokens.tag.blue.content, icon: tagTokens.tag.blue.content },
94
- darkblue: { background: tagTokens.tag.darkblue.bg, content: tagTokens.tag.darkblue.content, icon: tagTokens.tag.darkblue.content },
95
- indigo: { background: tagTokens.tag.indigo.bg, content: tagTokens.tag.indigo.content, icon: tagTokens.tag.indigo.content },
85
+ grey: {
86
+ background: tagTokens.tag.grey.bg,
87
+ content: tagTokens.tag.grey.content,
88
+ icon: tagTokens.tag.grey.content,
89
+ },
90
+ red: {
91
+ background: tagTokens.tag.red.bg,
92
+ content: tagTokens.tag.red.content,
93
+ icon: tagTokens.tag.red.content,
94
+ },
95
+ orange: {
96
+ background: tagTokens.tag.orange.bg,
97
+ content: tagTokens.tag.orange.content,
98
+ icon: tagTokens.tag.orange.content,
99
+ },
100
+ yellow: {
101
+ background: tagTokens.tag.yellow.bg,
102
+ content: tagTokens.tag.yellow.content,
103
+ icon: tagTokens.tag.yellow.content,
104
+ },
105
+ green: {
106
+ background: tagTokens.tag.green.bg,
107
+ content: tagTokens.tag.green.content,
108
+ icon: tagTokens.tag.green.content,
109
+ },
110
+ blue: {
111
+ background: tagTokens.tag.blue.bg,
112
+ content: tagTokens.tag.blue.content,
113
+ icon: tagTokens.tag.blue.content,
114
+ },
115
+ darkblue: {
116
+ background: tagTokens.tag.darkblue.bg,
117
+ content: tagTokens.tag.darkblue.content,
118
+ icon: tagTokens.tag.darkblue.content,
119
+ },
120
+ indigo: {
121
+ background: tagTokens.tag.indigo.bg,
122
+ content: tagTokens.tag.indigo.content,
123
+ icon: tagTokens.tag.indigo.content,
124
+ },
96
125
  };
97
126
  const SQUARE_SIZE_CONFIG = {
98
127
  xs: {
@@ -102,7 +131,7 @@ const SQUARE_SIZE_CONFIG = {
102
131
  fontSize: `${tagTokens.tag.xs.typography.fontSize}px`,
103
132
  fontWeight: tagTokens.tag.xs.typography.fontWeight,
104
133
  lineHeight: `${tagTokens.tag.xs.typography.lineHeight}px`,
105
- iconSize: Number(tagTokens.tag.xs.icon),
134
+ iconSize: 12,
106
135
  radius: `${tagTokens.tag.xs.radius}px`,
107
136
  },
108
137
  sm: {
@@ -112,7 +141,7 @@ const SQUARE_SIZE_CONFIG = {
112
141
  fontSize: `${tagTokens.tag.sm.typography.fontSize}px`,
113
142
  fontWeight: tagTokens.tag.sm.typography.fontWeight,
114
143
  lineHeight: `${tagTokens.tag.sm.typography.lineHeight}px`,
115
- iconSize: Number(tagTokens.tag.sm.icon),
144
+ iconSize: 16,
116
145
  radius: `${tagTokens.tag.sm.radius}px`,
117
146
  },
118
147
  md: {
@@ -122,7 +151,7 @@ const SQUARE_SIZE_CONFIG = {
122
151
  fontSize: `${tagTokens.tag.md.typography.fontSize}px`,
123
152
  fontWeight: tagTokens.tag.md.typography.fontWeight,
124
153
  lineHeight: `${tagTokens.tag.md.typography.lineHeight}px`,
125
- iconSize: Number(tagTokens.tag.md.icon),
154
+ iconSize: 16,
126
155
  radius: `${tagTokens.tag.md.radius}px`,
127
156
  },
128
157
  };
@@ -156,21 +185,27 @@ const SdTag = class {
156
185
  label = '';
157
186
  icon;
158
187
  isLeft = true;
159
- get resolvedConfig() {
188
+ componentWillLoad() {
189
+ this.name = this.name ?? 'square_sm_grey';
190
+ }
191
+ get resolvedName() {
160
192
  if (!isTagName(this.name)) {
161
- throw new Error(`Invalid sd-tag name: ${this.name}`);
193
+ throw new Error(`Invalid sd-tag name: "${this.name}"`);
162
194
  }
163
- return TAG_CONFIG[this.name];
195
+ return this.name;
196
+ }
197
+ get resolvedConfig() {
198
+ return TAG_CONFIG[this.resolvedName];
164
199
  }
165
200
  renderIcon(color, size) {
166
- if (!this.icon)
201
+ if (this.icon == null)
167
202
  return null;
168
203
  return h("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
169
204
  }
170
205
  render() {
171
206
  const config = this.resolvedConfig;
172
207
  const iconNode = this.renderIcon(config.icon, config.iconSize);
173
- return (h("span", { key: '3e7a6602ee73f56e5709711ac735460230de7e58', class: "sd-tag", style: {
208
+ return (h("span", { key: 'bcf16350c162da2907ddf4ac53924d016a2457dd', class: "sd-tag", style: {
174
209
  '--sd-tag-background': config.background,
175
210
  '--sd-tag-content': config.content,
176
211
  '--sd-tag-height': config.height,
@@ -180,7 +215,7 @@ const SdTag = class {
180
215
  '--sd-tag-font-weight': config.fontWeight,
181
216
  '--sd-tag-line-height': config.lineHeight,
182
217
  '--sd-tag-radius': config.radius,
183
- }, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '8da56711cb12127f96195404799581480280507f', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
218
+ }, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '248f9d8df1ff10af3c533580203cac1f816d8000', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
184
219
  }
185
220
  };
186
221
  SdTag.style = sdTagCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, a as getElement, f as forceUpdate, h, H as Host } from './index-0U6dRjlq.js';
2
2
  import { T as TABLE_ID_ATTR } from './constants-sZMi_32I.js';
3
3
 
4
4
  const sdTdCss = () => `sd-td *{box-sizing:border-box}sd-td{display:contents}sd-td.align-left{text-align:left}sd-td.align-center{text-align:center}sd-td.align-right{text-align:right}`;
@@ -17,6 +17,10 @@ const SdTd = class {
17
17
  // <sd-td> 호스트는 display:contents라 호스트의 class는 시각 효과가 없기 때문에,
18
18
  // 이 prop을 통해 sd-table 레지스트리에 등록 → sd-tr가 td 렌더 시 합쳐 사용한다.
19
19
  sdClass;
20
+ dividerLeft = false;
21
+ dividerRight = false;
22
+ // true이면 이 셀이 속한 행 전체가 dense를 무시하고 default 레이아웃으로 동작한다.
23
+ useFrame = false;
20
24
  handleFieldChange(_newField, oldField) {
21
25
  this.syncSlotName();
22
26
  this.syncSpanRegistration();
@@ -33,10 +37,18 @@ const SdTd = class {
33
37
  handleSdClassChange() {
34
38
  this.syncCellClassRegistration();
35
39
  }
40
+ handleDividerChange() {
41
+ this.syncCellClassRegistration();
42
+ }
43
+ handleUseFieldChange() {
44
+ this.syncUseFieldRegistration();
45
+ this.requestParentTrUpdate();
46
+ }
36
47
  componentWillLoad() {
37
48
  this.syncSlotName();
38
49
  this.syncSpanRegistration();
39
50
  this.syncCellClassRegistration();
51
+ this.syncUseFieldRegistration();
40
52
  // slot 타이밍 엇갈림 대응: 부모 sd-tr forceUpdate로 슬롯 재매칭
41
53
  const parentTr = this.el.parentElement;
42
54
  if (parentTr?.tagName?.toLowerCase() === 'sd-tr') {
@@ -47,6 +59,7 @@ const SdTd = class {
47
59
  this.syncSlotName();
48
60
  this.syncSpanRegistration();
49
61
  this.syncCellClassRegistration();
62
+ this.syncUseFieldRegistration();
50
63
  }
51
64
  // React StrictMode에서는 disconnect/reconnect 사이클이 일어나면서
52
65
  // 동일 인스턴스의 componentWillLoad는 더 이상 호출되지 않는다.
@@ -54,12 +67,14 @@ const SdTd = class {
54
67
  connectedCallback() {
55
68
  this.syncSpanRegistration();
56
69
  this.syncCellClassRegistration();
70
+ this.syncUseFieldRegistration();
57
71
  }
58
72
  disconnectedCallback() {
59
73
  const table = this.findTable();
60
- if (table && this.field && this.rowKey != null) {
74
+ if (table != null && this.field !== '' && this.rowKey != null) {
61
75
  table.unregisterSpanSync?.(String(this.rowKey), this.field);
62
76
  table.unregisterCellClassSync?.(String(this.rowKey), this.field);
77
+ table.unregisterUseFrameSync?.(String(this.rowKey), this.field);
63
78
  this.requestParentTrUpdate();
64
79
  }
65
80
  }
@@ -80,7 +95,7 @@ const SdTd = class {
80
95
  }
81
96
  syncSpanRegistration() {
82
97
  const table = this.findTable();
83
- if (!table?.registerSpanSync || !this.field || this.rowKey == null)
98
+ if (table?.registerSpanSync == null || this.field === '' || this.rowKey == null)
84
99
  return;
85
100
  const rs = Math.max(1, Math.floor(Number(this.rowspan) || 1));
86
101
  const cs = Math.max(1, Math.floor(Number(this.colspan) || 1));
@@ -94,27 +109,45 @@ const SdTd = class {
94
109
  return;
95
110
  const oldField = prevField ?? this.field;
96
111
  const oldRowKey = prevRowKey ?? (this.rowKey != null ? String(this.rowKey) : undefined);
97
- if (oldField && oldRowKey != null) {
112
+ if (oldField !== '' && oldRowKey != null) {
98
113
  table.unregisterCellClassSync?.(oldRowKey, oldField);
99
114
  }
100
- if (!table.registerCellClassSync || !this.field || this.rowKey == null)
115
+ if (!table.registerCellClassSync || this.field === '' || this.rowKey == null)
101
116
  return;
102
- table.registerCellClassSync(String(this.rowKey), this.field, this.sdClass);
117
+ const combinedClass = [
118
+ this.sdClass,
119
+ this.dividerLeft && 'td--divider-left',
120
+ this.dividerRight && 'td--divider-right',
121
+ ]
122
+ .filter(Boolean)
123
+ .join(' ') || undefined;
124
+ table.registerCellClassSync(String(this.rowKey), this.field, combinedClass);
103
125
  this.requestParentTrUpdate();
104
126
  }
127
+ syncUseFieldRegistration() {
128
+ const table = this.findTable();
129
+ if (!table || this.field === '' || this.rowKey == null)
130
+ return;
131
+ if (this.useFrame) {
132
+ table.registerUseFrameSync?.(String(this.rowKey), this.field);
133
+ }
134
+ else {
135
+ table.unregisterUseFrameSync?.(String(this.rowKey), this.field);
136
+ }
137
+ }
105
138
  syncSlotName() {
106
139
  const table = this.el.closest('sd-table');
107
140
  const fromMethod = table?.getTableIdSync?.();
108
141
  const fromAttr = table?.getAttribute(TABLE_ID_ATTR);
109
- const tableId = (fromMethod && fromMethod !== 'undefined' ? fromMethod : null) ??
110
- (fromAttr && fromAttr !== 'undefined' ? fromAttr : null) ??
142
+ const tableId = (fromMethod != null && fromMethod !== '' && fromMethod !== 'undefined' ? fromMethod : null) ??
143
+ (fromAttr != null && fromAttr !== '' && fromAttr !== 'undefined' ? fromAttr : null) ??
111
144
  '';
112
- if (this.field && this.rowKey !== undefined && tableId) {
145
+ if (this.field !== '' && this.rowKey !== undefined && tableId !== '') {
113
146
  this.el.setAttribute('slot', `${tableId}-${this.field}-${this.rowKey}`);
114
147
  }
115
148
  }
116
149
  render() {
117
- return (h(Host, { key: '84ce2fe2ea8ccb3eaf09e4d2559fc917bdb1077a', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: '9b8164a2eac53b927bf59638cb53c35998a75cfe' })));
150
+ return (h(Host, { key: 'ececfaf265a550ee38c5c2cc2ddd2875352deb10', class: { [`align-${this.align}`]: Boolean(this.align) } }, h("slot", { key: 'c4a43f9affc1938d882e63e91ac90d570efffa37' })));
118
151
  }
119
152
  static get watchers() { return {
120
153
  "field": [{
@@ -131,6 +164,15 @@ const SdTd = class {
131
164
  }],
132
165
  "sdClass": [{
133
166
  "handleSdClassChange": 0
167
+ }],
168
+ "dividerLeft": [{
169
+ "handleDividerChange": 0
170
+ }],
171
+ "dividerRight": [{
172
+ "handleDividerChange": 0
173
+ }],
174
+ "useFrame": [{
175
+ "handleUseFieldChange": 0
134
176
  }]
135
177
  }; }
136
178
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
2
2
 
3
3
  const textLink = {
4
4
  gap: "4",
@@ -7,8 +7,10 @@ const textLink = {
7
7
  },
8
8
  typography: {
9
9
  "default": {
10
+ fontSize: "12",
10
11
  textDecoration: "none"},
11
12
  underline: {
13
+ fontSize: "12",
12
14
  textDecoration: "underline"}
13
15
  },
14
16
  content: {
@@ -39,7 +41,7 @@ const TEXT_LINK_COLORS = {
39
41
  icon: textLinkTokens.textLink.icon,
40
42
  };
41
43
 
42
- const sdTextLinkCss = () => `sd-text-link{display:inline-flex}sd-text-link .sd-text-link{display:inline-flex;align-items:center;gap:var(--sd-text-link-gap);cursor:pointer;user-select:none}sd-text-link .sd-text-link__label{text-decoration:var(--sd-text-link-text-decoration);color:var(--sd-text-link-color, inherit)}sd-text-link .sd-text-link:not(.sd-text-link--disabled):hover .sd-text-link__label{text-decoration:underline}sd-text-link .sd-text-link--disabled{cursor:not-allowed}`;
44
+ const sdTextLinkCss = () => `sd-text-link{display:inline-flex}sd-text-link .sd-text-link{display:inline-flex;align-items:center;gap:var(--sd-text-link-gap);cursor:pointer;user-select:none}sd-text-link .sd-text-link__label{font-size:var(--sd-text-link-font-size, 12px);text-decoration:var(--sd-text-link-text-decoration);color:var(--sd-text-link-color, inherit)}sd-text-link .sd-text-link:not(.sd-text-link--disabled):hover .sd-text-link__label{text-decoration:underline}sd-text-link .sd-text-link--disabled{cursor:not-allowed}`;
43
45
 
44
46
  const SdTextLink = class {
45
47
  constructor(hostRef) {
@@ -68,19 +70,25 @@ const SdTextLink = class {
68
70
  const arrowColor = this.disabled ? TEXT_LINK_COLORS.icon.disabled : TEXT_LINK_LAYOUT.arrowColor;
69
71
  const cssVars = {
70
72
  '--sd-text-link-gap': `${TEXT_LINK_LAYOUT.gap}px`,
73
+ '--sd-text-link-font-size': `${typo.fontSize}px`,
71
74
  '--sd-text-link-text-decoration': typo.textDecoration,
72
75
  ...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
73
76
  };
74
- return (h("span", { key: '9bd62ac603764a5938f3c72bac3a8bf893dfb233', class: {
77
+ return (h("span", { key: '284a073ec6aca3ad91bffe084c3b84813df58772', role: "button", tabindex: this.disabled ? -1 : 0, class: {
75
78
  'sd-text-link': true,
76
79
  'sd-text-link--disabled': this.disabled,
77
- }, style: cssVars, onClick: this.handleClick }, this.icon && (h("sd-icon", { key: '9d63aea3c45c4962e5766e7059a166a85e7a357f', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: 'dc73d60dd1e593c597a6b5dd977db380c21ff680', class: labelClassName }, this.label), this.useArrow && (h("span", { key: '2b25dfb6ae2f857b674341427f93ee34e4691893', class: "sd-text-link__arrow", style: {
80
+ }, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
81
+ if (e.key === 'Enter' || e.key === ' ') {
82
+ e.preventDefault();
83
+ this.handleClick();
84
+ }
85
+ } }, this.icon && (h("sd-icon", { key: '1e2021703a766769aa647f418fb4b287039d58a5', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: 'a25f207b8bf5bc2c221f0b370159b61ba2f27040', class: labelClassName }, this.label), this.useArrow && (h("span", { key: 'f273671ee796224bada0d2d27fc58ff893c433e7', class: "sd-text-link__arrow", style: {
78
86
  width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
79
87
  height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
80
88
  display: 'inline-flex',
81
89
  alignItems: 'center',
82
90
  justifyContent: 'center',
83
- } }, h("sd-icon", { key: 'a5c8fb48e66f4a6820da1a54cedd7b1a13c5dcec', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
91
+ } }, h("sd-icon", { key: '2e499bf0c1cd57d1ffb90999daa1c38d0cf43df8', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
84
92
  }
85
93
  };
86
94
  SdTextLink.style = sdTextLinkCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-0U6dRjlq.js';
2
2
 
3
3
  const DEFAULT_DURATION = 4000;
4
4
  const DEFAULT_MAX_VISIBLE = 3;
@@ -101,12 +101,12 @@ const SdToastContainer = class {
101
101
  }
102
102
  }
103
103
  componentDidRender() {
104
- if (!this.toasts?.length)
104
+ if (this.toasts === undefined || this.toasts.length === 0)
105
105
  return;
106
106
  const hasEntering = this.toasts.some(t => t.state === 'entering');
107
107
  if (hasEntering) {
108
108
  requestAnimationFrame(() => {
109
- this.toasts = (this.toasts || []).map(t => (t.state === 'entering' ? { ...t, state: 'visible' } : t));
109
+ this.toasts = (this.toasts || []).map(t => t.state === 'entering' ? { ...t, state: 'visible' } : t);
110
110
  });
111
111
  }
112
112
  this.measureHeights();
@@ -232,7 +232,7 @@ const SdToastContainer = class {
232
232
  const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
233
233
  const indexMap = new Map();
234
234
  activeToasts.forEach((t, i) => indexMap.set(t.id, i));
235
- return (h("div", { key: '925f4bf56626e8c722051afa65aa64f2a50007db', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
235
+ return (h("div", { key: '4cf4413f350c2a1adc475c567d874252b1786e91', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
236
236
  this.expanded = true;
237
237
  this.pauseTimers();
238
238
  }, onMouseLeave: () => {
@@ -248,7 +248,7 @@ const SdToastContainer = class {
248
248
  }, style: this.getToastItemStyle(entry, frontIndex, activeToasts), ref: el => {
249
249
  if (el)
250
250
  this.toastRefs.set(entry.id, el);
251
- }, onTransitionEnd: () => this.handleTransitionEnd(entry.id) }, h("sd-toast", { message: entry.options.message, type: entry.options.type || 'default', icon: entry.options.icon, link: entry.options.link, linkLabel: entry.options.linkLabel, useClose: entry.options.useClose, onSdClose: () => this.startDismiss(entry.id) })));
251
+ }, onTransitionEnd: () => this.handleTransitionEnd(entry.id) }, h("sd-toast", { message: entry.options.message, type: entry.options.type || 'default', icon: entry.options.icon, link: entry.options.link, linkLabel: entry.options.linkLabel, buttonLabel: entry.options.buttonLabel, useClose: entry.options.useClose, onSdClose: () => this.startDismiss(entry.id), onSdButtonClick: (event) => entry.options.onButtonClick?.(event.detail) })));
252
252
  })));
253
253
  }
254
254
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
2
2
 
3
3
  const toast = {
4
4
  icon: "16",
@@ -21,43 +21,73 @@ const toast = {
21
21
  accent: {
22
22
  bg: "#005CC9",
23
23
  content: "#FFFFFF"
24
- }};
24
+ },
25
+ info: {
26
+ bg: "#E6F1FF",
27
+ icon: "#0075FF",
28
+ text: "#222222",
29
+ textLink: "#555555"
30
+ }
31
+ };
25
32
  var toastTokens = {
26
33
  toast: toast
27
34
  };
28
35
 
36
+ const TOAST_BUTTON_NAME_BY_TYPE = {
37
+ default: 'secondary_sm',
38
+ danger: 'danger_outline_sm',
39
+ caution: 'neutral_outline_sm',
40
+ complete: 'neutral_outline_sm',
41
+ accent: 'neutral_outline_sm',
42
+ info: 'secondary_sm',
43
+ };
29
44
  const TOAST_TYPE_CONFIG = {
30
45
  default: { bg: toastTokens.toast.default.bg, content: toastTokens.toast.default.content },
31
46
  danger: { bg: toastTokens.toast.danger.bg, content: toastTokens.toast.danger.content },
32
47
  caution: { bg: toastTokens.toast.caution.bg, content: toastTokens.toast.caution.content },
33
48
  complete: { bg: toastTokens.toast.complete.bg, content: toastTokens.toast.complete.content },
34
49
  accent: { bg: toastTokens.toast.accent.bg, content: toastTokens.toast.accent.content },
50
+ info: {
51
+ bg: toastTokens.toast.info.bg,
52
+ content: toastTokens.toast.info.text,
53
+ icon: toastTokens.toast.info.icon,
54
+ linkColor: toastTokens.toast.info.textLink,
55
+ },
35
56
  };
36
57
  const TOAST_LAYOUT = {
37
58
  iconSize: toastTokens.toast.icon,
38
59
  };
39
60
 
40
- const sdToastCss = () => `sd-toast{display:block;width:fit-content;height:fit-content}sd-toast .sd-toast{display:flex;width:fit-content;align-items:center;gap:var(--sd-toast-gap, 16px);padding:var(--sd-toast-padding-y, 12px) var(--sd-toast-padding-x, 24px);border-radius:var(--sd-toast-radius, 8px);background-color:var(--sd-toast-bg);color:var(--sd-toast-text);box-shadow:2px 2px 8px 2px rgba(0, 0, 0, 0.2)}sd-toast .sd-toast__icon{display:flex;align-items:center;flex-shrink:0}sd-toast .sd-toast__content{display:flex;flex:1}sd-toast .sd-toast__message{font-size:14px;line-height:24px;font-weight:700;white-space:nowrap}sd-toast .sd-toast__link{font-size:14px;line-height:24px;font-weight:700;color:var(--sd-toast-text);text-decoration:underline;cursor:pointer;transition:opacity 0.2s ease;margin-left:4px}sd-toast .sd-toast__link:hover{opacity:0.8}sd-toast .sd-toast__button{flex-shrink:0}sd-toast .sd-toast__button button{color:var(--button-text-color, inherit) !important}sd-toast .sd-toast__close{flex-shrink:0}`;
61
+ const sdToastCss = () => `sd-toast{display:block;width:fit-content;height:fit-content}sd-toast .sd-toast{display:flex;width:fit-content;align-items:center;gap:var(--sd-toast-gap, 16px);padding:var(--sd-toast-padding-y, 12px) var(--sd-toast-padding-x, 24px);border-radius:var(--sd-toast-radius, 8px);background-color:var(--sd-toast-bg);color:var(--sd-toast-text);box-shadow:2px 2px 8px 2px rgba(0, 0, 0, 0.2)}sd-toast .sd-toast__icon{display:flex;align-items:center;flex-shrink:0}sd-toast .sd-toast__content{display:flex;flex:1}sd-toast .sd-toast__message{font-size:14px;line-height:24px;font-weight:500;white-space:nowrap}sd-toast .sd-toast__link{font-size:14px;line-height:24px;font-weight:700;color:var(--sd-toast-link, var(--sd-toast-text));text-decoration:underline;cursor:pointer;transition:opacity 0.2s ease;margin-left:4px;white-space:nowrap}sd-toast .sd-toast__link:hover{opacity:0.8}sd-toast .sd-toast__button{flex-shrink:0}sd-toast .sd-toast__close{flex-shrink:0}`;
41
62
 
42
63
  const SdToast = class {
43
64
  constructor(hostRef) {
44
65
  registerInstance(this, hostRef);
45
66
  this.close = createEvent(this, "sdClose", 7);
67
+ this.buttonClick = createEvent(this, "sdButtonClick", 7);
46
68
  }
47
69
  icon;
48
70
  message;
49
71
  link;
50
72
  linkLabel;
73
+ buttonLabel;
51
74
  useClose = false;
52
75
  type = 'default';
53
76
  close;
77
+ buttonClick;
54
78
  render() {
55
79
  const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
56
80
  const iconSize = Number(TOAST_LAYOUT.iconSize);
57
- return (h("div", { key: 'f5db941adee41c3d2c57c2c7a12d94d03dcdebb6', style: {
81
+ const iconColor = typeConfig.icon ?? typeConfig.content;
82
+ const linkColor = typeConfig.linkColor ?? typeConfig.content;
83
+ const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
84
+ const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
85
+ return (h("div", { key: 'edab2d1d8ac8222a988d38279f1a002281454f51', style: {
58
86
  '--sd-toast-bg': typeConfig.bg,
59
87
  '--sd-toast-text': typeConfig.content,
60
- } }, h("div", { key: '68362fac26744fc7e805a18c589f4aff5845edc1', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '8ec7941b469b6d0242ab68b7928a9dbf6e75bb5f', class: "sd-toast__icon" }, h("sd-icon", { key: 'c057a100de91cecc3435bfa6a95c928727eb1836', name: this.icon, size: iconSize, color: typeConfig.content }))), h("div", { key: '21e84dd6cdf7efa52611da532a0983268c7c2cb2', class: "sd-toast__content" }, h("span", { key: '99c370fe3d4a54103fbccef395afadf2923f3613', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '3ce7109c2d1f5cd03f4fcc6bb01ede14c6400734', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.useClose && (h("sd-ghost-button", { key: '2cf982fd1fe538533ceff61bbdecdacd2d69e51c', class: "sd-toast__close", icon: "close", intent: this.type === 'caution' ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
88
+ '--sd-toast-icon': iconColor,
89
+ '--sd-toast-link': linkColor,
90
+ } }, h("div", { key: '8dd98dd58cdf003ce031e5ae96b749a037333ce1', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '2b78cbc4fe96cc00d444fb49956da1fe245993ef', class: "sd-toast__icon" }, h("sd-icon", { key: '679852c9a19046ce1d2c9a0cdb4346f6e23c77fb', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '2798bd2392e9fc3c4c0375d894572da13d3d7e25', class: "sd-toast__content" }, h("span", { key: '76ab798742baa63b21bda60867cbeb5aa20f7957', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '6eb61ca5737f9af06ad63cfcef671e46ecc8de47', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '6c1ad7d494c7cc218b1058fec1ed3e42af0c83fc', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '32dd9adcc951a3a852bf20540376bd4d7ced7526', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
61
91
  }
62
92
  };
63
93
  SdToast.style = sdToastCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-0U6dRjlq.js';
2
2
 
3
3
  const toggle = {
4
4
  height: "28",
@@ -118,7 +118,7 @@ const SdToggle = class {
118
118
  '--sd-toggle-content-select': TOGGLE_COLORS.content.select,
119
119
  '--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
120
120
  };
121
- return (h("label", { key: '9ef981165b998f43ec23f3bb1cf0ef385962d7fb', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '6b6d2a89f43036f624c7bc291b2c5aa7a93c8f0a', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
121
+ return (h("label", { key: '0b8273ed8f8efae70de32b92671bbd1353e877dc', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '2ec9909142463f8ba556ad885cb7f97bedad6b31', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
122
122
  }
123
123
  };
124
124
  SdToggle.style = sdToggleCss();
@@ -1,11 +1,14 @@
1
1
  const color = {
2
2
  bg: {
3
+ frame: "#FFFFFF",
3
4
  accent: {
4
5
  "default": "#0075FF"}},
5
6
  fg: {
6
7
  primary: "#222222",
7
8
  secondary: "#555555",
8
9
  tertiary: "#888888",
10
+ success: "#00973C",
11
+ accent: "#0075FF",
9
12
  inverse: "#FFFFFF"
10
13
  },
11
14
  blue: {
@@ -15,7 +18,6 @@ const color = {
15
18
  grey: {
16
19
  strong: "#737373"}};
17
20
  var systemTokens = {
18
- color: color
19
- };
21
+ color: color};
20
22
 
21
23
  export { systemTokens as s };
@@ -1,4 +1,4 @@
1
- import { h } from './index-Cnwbjz1F.js';
1
+ import { h } from './index-0U6dRjlq.js';
2
2
 
3
3
  const TooltipArrow = (props) => (h("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, h("path", { d: "M8.83205 10.7519C8.43623 11.3457 7.56377 11.3457 7.16795 10.7519L1.04907e-06 -1.39876e-06L16 0L8.83205 10.7519Z", fill: "currentColor" })));
4
4
 
@@ -0,0 +1 @@
1
+ export declare const CheckboxCheck: (props: any) => any;
@@ -0,0 +1 @@
1
+ export declare const CheckboxIndeterminate: (props: any) => any;
@@ -22,6 +22,8 @@ export declare const Icons: {
22
22
  readonly check: (props: any) => any;
23
23
  readonly checkFill: (props: any) => any;
24
24
  readonly checkOutline: (props: any) => any;
25
+ readonly checkboxCheck: (props: any) => any;
26
+ readonly checkboxIndeterminate: (props: any) => any;
25
27
  readonly chevronDown: (props: any) => any;
26
28
  readonly chevronLeft: (props: any) => any;
27
29
  readonly chevronLeftEnd: (props: any) => any;
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import type { ButtonV2Props } from '../sd-button-v2/sd-button-v2.config';
2
+ import type { ButtonProps } from '../sd-button/sd-button.config';
3
3
  export declare class SdActionModal {
4
4
  modalTitle: string;
5
- buttonProps?: ButtonV2Props;
5
+ buttonProps?: ButtonProps;
6
6
  width?: string | number;
7
7
  height?: string | number;
8
8
  close: EventEmitter<void>;
@@ -1,6 +1,5 @@
1
1
  import { type BadgeColor } from './sd-badge.config';
2
2
  export declare class SdBadge {
3
3
  color: BadgeColor;
4
- label: string;
5
4
  render(): any;
6
5
  }
@@ -1,14 +1,8 @@
1
- export type ButtonV2Size = 'xs' | 'sm' | 'md' | 'lg';
2
- export type ButtonV2Type = 'button' | 'submit' | 'reset';
1
+ import type { Components } from '../../components';
2
+ export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
3
+ export type ButtonType = 'button' | 'submit' | 'reset';
3
4
  export declare const BUTTON_FOCUS_RING_COLOR = "#0075FF";
4
- export interface ButtonV2Props {
5
- name?: ButtonV2Name;
6
- label?: string;
7
- icon?: IconName;
8
- ariaLabel?: string;
9
- disabled?: boolean;
10
- type?: ButtonV2Type;
11
- }
5
+ export type ButtonProps = Partial<Components.SdButton>;
12
6
  export declare const BUTTON_CONFIG: {
13
7
  readonly primary_xs: {
14
8
  readonly variant: "primary";
@@ -131,8 +125,8 @@ export declare const BUTTON_CONFIG: {
131
125
  readonly color: string;
132
126
  };
133
127
  };
134
- export type ButtonV2Name = keyof typeof BUTTON_CONFIG;
135
- export declare const BUTTON_ICON_SIZES: Record<ButtonV2Size, number>;
128
+ export type ButtonName = keyof typeof BUTTON_CONFIG;
129
+ export declare const BUTTON_ICON_SIZES: Record<ButtonSize, number>;
136
130
  export declare const PRESET_HOVER_BACKGROUNDS: {
137
131
  readonly primary: string;
138
132
  readonly secondary: string;
@@ -157,8 +151,8 @@ export declare const PRESET_BORDER_COLORS: {
157
151
  readonly danger: "transparent";
158
152
  readonly danger_outline: string;
159
153
  };
160
- export type ButtonV2Preset = keyof typeof PRESET_CONTENT_COLORS;
154
+ export type ButtonPreset = keyof typeof PRESET_CONTENT_COLORS;
161
155
  export declare const DISABLED_TEXT: string;
162
156
  export declare const DISABLED_ICON: string;
163
- export declare const isButtonV2Name: (value: string) => value is ButtonV2Name;
164
- export declare const getPresetName: (value: ButtonV2Name) => ButtonV2Preset;
157
+ export declare const isButtonName: (value: string) => value is ButtonName;
158
+ export declare const getPresetName: (value: ButtonName) => ButtonPreset;
@@ -1,22 +1,20 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- export type ButtonVariant = 'primary' | 'outline' | 'ghost';
3
- export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg';
2
+ import { type ButtonName, type ButtonType } from './sd-button.config';
4
3
  export declare class SdButton {
5
- el: HTMLElement;
6
- variant?: ButtonVariant;
7
- size: ButtonSize;
8
- color: string;
4
+ name: ButtonName;
9
5
  label: string;
10
- disabled: boolean;
11
- type: 'button' | 'submit' | 'reset';
12
6
  icon?: IconName;
13
- iconColor?: string;
14
- iconSize?: number;
15
- iconRight?: IconName;
16
- noHover: boolean;
17
- sdClass: string;
7
+ rightIcon?: IconName;
8
+ ariaLabel: string;
9
+ disabled: boolean;
10
+ type: ButtonType;
18
11
  click: EventEmitter<MouseEvent>;
12
+ private hasWarnedMissingAriaLabel;
19
13
  private handleClick;
14
+ private get resolvedName();
15
+ private get resolvedConfig();
20
16
  private getButtonClasses;
17
+ componentWillRender(): void;
18
+ private warnIfMissingAriaLabel;
21
19
  render(): any;
22
20
  }
@@ -1,5 +1,5 @@
1
1
  import type { TagName } from '../sd-tag/sd-tag.config';
2
- import type { ButtonV2Name } from '../sd-button-v2/sd-button-v2.config';
2
+ import type { ButtonName } from '../sd-button/sd-button.config';
3
3
  export type ConfirmModalType = 'positive' | 'negative' | 'default';
4
4
  export type PositiveMainButton = 'primary_md' | 'primary_outline_md';
5
5
  export type NegativeMainButton = 'danger_md' | 'danger_outline_md';
@@ -9,5 +9,5 @@ export declare const CONFIRM_MODAL_DEFAULT_BUTTON: Record<ConfirmModalType, Conf
9
9
  export declare const CONFIRM_MODAL_ICON_MAP: Record<ConfirmModalType, IconName | null>;
10
10
  export declare const CONFIRM_MODAL_ICON_COLOR: Record<ConfirmModalType, string>;
11
11
  export declare const TITLE_ICON_SIZE: number;
12
- export declare const SUB_BUTTON_PRESET: ButtonV2Name;
13
- export type { TagName, ButtonV2Name };
12
+ export declare const SUB_BUTTON_PRESET: ButtonName;
13
+ export type { TagName, ButtonName };