@sellmate/design-system 1.0.62 → 1.0.64

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 (527) hide show
  1. package/dist/cjs/{component.modal-DmQUWbve.js → component.modal-BFelrSMx.js} +14 -0
  2. package/dist/cjs/constants-DJRV1upE.js +5 -0
  3. package/dist/cjs/design-system.cjs.js +3 -4
  4. package/dist/cjs/{index-BQt-JC6r.js → index-nsQP24mV.js} +130 -9
  5. package/dist/cjs/index.cjs.js +103 -32
  6. package/dist/cjs/loader.cjs.js +3 -4
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +3 -3
  8. package/dist/cjs/sd-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/sd-barcode-input.cjs.entry.js +4 -3
  10. package/dist/cjs/sd-button-v2_2.cjs.entry.js +9 -8
  11. package/dist/cjs/sd-button_4.cjs.entry.js +62 -18
  12. package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-checkbox.cjs.entry.js +30 -5
  15. package/dist/cjs/sd-circle-progress.cjs.entry.js +71 -0
  16. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +186 -0
  17. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  18. package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +3 -3
  19. package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +4 -4
  20. package/dist/cjs/sd-date-picker.cjs.entry.js +5 -4
  21. package/dist/cjs/{sd-date-picker.config-DWC_aiD2.js → sd-date-picker.config-D8xSALVj.js} +3 -3
  22. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +3 -3
  23. package/dist/cjs/sd-date-range-picker.cjs.entry.js +5 -4
  24. package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -5
  25. package/dist/cjs/sd-file-picker.cjs.entry.js +3 -2
  26. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  27. package/dist/cjs/sd-ghost-button.cjs.entry.js +15 -6
  28. package/dist/cjs/sd-guide.cjs.entry.js +2 -2
  29. package/dist/cjs/sd-input_2.cjs.entry.js +8 -7
  30. package/dist/cjs/sd-loading-container.cjs.entry.js +29 -0
  31. package/dist/cjs/sd-modal-container.cjs.entry.js +45 -2
  32. package/dist/cjs/sd-number-input.cjs.entry.js +6 -10
  33. package/dist/cjs/{sd-select-v2.cjs.entry.js → sd-pagination_2.cjs.entry.js} +91 -4
  34. package/dist/cjs/sd-popover.cjs.entry.js +4 -4
  35. package/dist/cjs/sd-portal.cjs.entry.js +2 -2
  36. package/dist/cjs/sd-progress.cjs.entry.js +3 -3
  37. package/dist/cjs/sd-radio-button.cjs.entry.js +182 -0
  38. package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
  39. package/dist/cjs/sd-radio.cjs.entry.js +6 -6
  40. package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +4 -4
  41. package/dist/cjs/sd-select-group.cjs.entry.js +4 -3
  42. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +4 -3
  43. package/dist/cjs/sd-select-multiple.cjs.entry.js +4 -3
  44. package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
  45. package/dist/cjs/sd-select-v2-list-item_4.cjs.entry.js +661 -0
  46. package/dist/cjs/sd-select.cjs.entry.js +180 -0
  47. package/dist/cjs/sd-switch.cjs.entry.js +110 -0
  48. package/dist/cjs/sd-table.cjs.entry.js +424 -651
  49. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  50. package/dist/cjs/sd-tag.cjs.entry.js +6 -5
  51. package/dist/cjs/sd-tbody.cjs.entry.js +66 -0
  52. package/dist/cjs/sd-td.cjs.entry.js +58 -0
  53. package/dist/cjs/sd-text-link.cjs.entry.js +10 -12
  54. package/dist/cjs/sd-textarea.cjs.entry.js +3 -2
  55. package/dist/cjs/sd-thead.cjs.entry.js +179 -0
  56. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  57. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  58. package/dist/cjs/sd-toggle.cjs.entry.js +96 -13
  59. package/dist/cjs/sd-tr.cjs.entry.js +171 -0
  60. package/dist/cjs/table-test.cjs.entry.js +96 -0
  61. package/dist/cjs/{tooltipArrow-CRCpqOYA.js → tooltipArrow-DhevfDPX.js} +1 -1
  62. package/dist/collection/__mocks__/nanoid-non-secure.js +13 -0
  63. package/dist/collection/__mocks__/nanoid.js +1 -0
  64. package/dist/collection/collection-manifest.json +11 -4
  65. package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
  66. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  67. package/dist/collection/components/sd-barcode-input/sd-barcode-input.css +3 -0
  68. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +22 -1
  69. package/dist/collection/components/sd-button/sd-button.css +37 -37
  70. package/dist/collection/components/sd-button-v2/sd-button-v2.css +44 -44
  71. package/dist/collection/components/sd-button-v2/sd-button-v2.js +31 -6
  72. package/dist/collection/components/sd-card/sd-card.js +1 -1
  73. package/dist/collection/components/sd-checkbox/sd-checkbox.config.js +3 -0
  74. package/dist/collection/components/sd-checkbox/sd-checkbox.css +15 -0
  75. package/dist/collection/components/sd-checkbox/sd-checkbox.js +36 -2
  76. package/dist/collection/components/sd-circle-progress/sd-circle-progress.config.js +24 -0
  77. package/dist/collection/components/sd-circle-progress/sd-circle-progress.css +53 -0
  78. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +109 -0
  79. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.css +2 -2
  80. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
  81. package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
  82. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  83. package/dist/collection/components/sd-date-picker/sd-date-picker.config.js +1 -1
  84. package/dist/collection/components/sd-date-picker/sd-date-picker.js +26 -5
  85. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  86. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +26 -5
  87. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +5 -0
  88. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +46 -36
  89. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +4 -4
  90. package/dist/collection/components/sd-field/sd-field.config.js +21 -0
  91. package/dist/collection/components/sd-field/sd-field.css +26 -16
  92. package/dist/collection/components/sd-field/sd-field.js +72 -11
  93. package/dist/collection/components/sd-file-picker/sd-file-picker.js +27 -6
  94. package/dist/collection/components/sd-ghost-button/sd-ghost-button.config.js +7 -1
  95. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +3 -3
  96. package/dist/collection/components/sd-guide/sd-guide.css +37 -37
  97. package/dist/collection/components/sd-input/sd-input.css +3 -0
  98. package/dist/collection/components/sd-input/sd-input.js +23 -2
  99. package/dist/collection/components/sd-loading-container/sd-loading-container.config.js +1 -0
  100. package/dist/collection/components/sd-loading-container/sd-loading-container.css +40 -0
  101. package/dist/collection/components/sd-loading-container/sd-loading-container.js +83 -0
  102. package/dist/collection/components/sd-loading-modal/sd-loading-modal.config.js +31 -0
  103. package/dist/collection/components/sd-loading-modal/sd-loading-modal.css +37 -0
  104. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +184 -0
  105. package/dist/collection/components/sd-modal-container/sd-modal-container.js +89 -3
  106. package/dist/collection/components/sd-number-input/sd-number-input.config.js +0 -2
  107. package/dist/collection/components/sd-number-input/sd-number-input.css +0 -1
  108. package/dist/collection/components/sd-number-input/sd-number-input.js +24 -4
  109. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  110. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  111. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  112. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  113. package/dist/collection/components/sd-radio/sd-radio.config.js +1 -1
  114. package/dist/collection/components/sd-radio-button/sd-radio-button.config.js +45 -0
  115. package/dist/collection/components/sd-radio-button/sd-radio-button.css +71 -0
  116. package/dist/collection/components/{sd-radio-button-group/sd-radio-button-group.js → sd-radio-button/sd-radio-button.js} +49 -18
  117. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
  118. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  119. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
  120. package/dist/collection/components/sd-select/sd-select.css +4 -0
  121. package/dist/collection/components/sd-select/sd-select.js +22 -1
  122. package/dist/collection/components/sd-select-group/sd-select-group.css +4 -0
  123. package/dist/collection/components/sd-select-group/sd-select-group.js +22 -1
  124. package/dist/collection/components/sd-select-multiple/sd-select-multiple.css +4 -0
  125. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +22 -1
  126. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.css +4 -0
  127. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +22 -1
  128. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  129. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
  130. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.css +4 -0
  131. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +6 -3
  132. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +2 -3
  133. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +2 -1
  134. package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
  135. package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +1 -0
  136. package/dist/collection/components/sd-select-v2/sd-select-v2.js +24 -3
  137. package/dist/collection/components/sd-switch/sd-switch.config.js +23 -0
  138. package/dist/collection/components/sd-switch/sd-switch.css +54 -0
  139. package/dist/collection/components/{sd-toggle-button/sd-toggle-button.js → sd-switch/sd-switch.js} +30 -27
  140. package/dist/collection/components/sd-table/constants.js +1 -0
  141. package/dist/collection/components/sd-table/sd-table.css +76 -248
  142. package/dist/collection/components/sd-table/sd-table.js +705 -700
  143. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.css +18 -0
  144. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +105 -0
  145. package/dist/collection/components/sd-table/sd-td/sd-td.css +15 -0
  146. package/dist/collection/components/sd-table/sd-td/sd-td.js +121 -0
  147. package/dist/collection/components/sd-table/sd-thead/sd-thead.css +147 -0
  148. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +442 -0
  149. package/dist/collection/components/sd-table/sd-tr/sd-tr.css +111 -0
  150. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +376 -0
  151. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  152. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  153. package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
  154. package/dist/collection/components/sd-text-link/sd-text-link.js +7 -13
  155. package/dist/collection/components/sd-textarea/sd-textarea.js +22 -1
  156. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  157. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  158. package/dist/collection/components/sd-toggle/sd-toggle.config.js +33 -0
  159. package/dist/collection/components/sd-toggle/sd-toggle.css +38 -50
  160. package/dist/collection/components/sd-toggle/sd-toggle.js +29 -12
  161. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  162. package/dist/collection/components/table-test/table-test.css +59 -0
  163. package/dist/collection/components/table-test/table-test.js +316 -0
  164. package/dist/collection/index.js +1 -0
  165. package/dist/collection/utils/loading.js +43 -0
  166. package/dist/collection/utils/modal.js +26 -0
  167. package/dist/components/index.js +1 -1
  168. package/dist/components/p-6LkBUj0w.js +1 -0
  169. package/dist/components/{p-DlujHEXS.js → p-6cueWz-l.js} +1 -1
  170. package/dist/components/{p-D0wZv01W.js → p-AKpbKrkW.js} +1 -1
  171. package/dist/components/p-B1S4ybd6.js +1 -0
  172. package/dist/components/{p-D93Cb_Vw.js → p-B6OgnOKC.js} +1 -1
  173. package/dist/components/{p-lKwhftf9.js → p-B6RvTdqt.js} +1 -1
  174. package/dist/components/p-BLC3AWW8.js +1 -0
  175. package/dist/components/{p-BUAwjF_Z.js → p-BZ7V5xV5.js} +1 -1
  176. package/dist/components/{p-BWgJ9XTj.js → p-BdsI1E5l.js} +1 -1
  177. package/dist/components/{p-DdBIc8AE.js → p-BgRPWxrz.js} +1 -1
  178. package/dist/components/{p-DCv5afjJ.js → p-Bh548Ckv.js} +1 -1
  179. package/dist/components/p-BjjrNz4C.js +1 -0
  180. package/dist/components/{p-BVBMsoZP.js → p-BkUclgga.js} +1 -1
  181. package/dist/components/p-C2r48NLP.js +1 -0
  182. package/dist/components/{p-BtH5wWA5.js → p-CGXwtYAv.js} +1 -1
  183. package/dist/components/p-CGssy8eb.js +1 -0
  184. package/dist/components/p-CKU8CeW3.js +1 -0
  185. package/dist/components/{p-BHQirDZt.js → p-CRl8Anfr.js} +1 -1
  186. package/dist/components/p-CU095QAR.js +1 -0
  187. package/dist/components/p-CpclstHV.js +1 -0
  188. package/dist/components/{p-C2Yw3PoX.js → p-Cpu_hXwN.js} +1 -1
  189. package/dist/components/{p-gTPCqs3t.js → p-Cr_74QR7.js} +1 -1
  190. package/dist/components/{p-BsJy4pgR.js → p-D9FDutsj.js} +1 -1
  191. package/dist/components/p-DBnszF5F.js +1 -0
  192. package/dist/components/p-DC9KYl3L.js +1 -0
  193. package/dist/components/p-DOXMJi-V.js +1 -0
  194. package/dist/components/p-DRY8HJ-T.js +1 -0
  195. package/dist/components/{p-98NWgkAU.js → p-DpsDTjcN.js} +1 -1
  196. package/dist/components/p-DuYi4aqj.js +1 -0
  197. package/dist/components/{p-AdSqif48.js → p-DxzgCf_d.js} +1 -1
  198. package/dist/components/p-TMuoVuhE.js +1 -0
  199. package/dist/components/{p-CE1Hmoij.js → p-VXLJLI30.js} +1 -1
  200. package/dist/components/p-bYCOh35g.js +1 -0
  201. package/dist/components/p-kZ5N_lFC.js +1 -0
  202. package/dist/components/{p-CqU3a1re.js → p-puZ1xlrr.js} +1 -1
  203. package/dist/components/p-sZMi_32I.js +1 -0
  204. package/dist/components/{p-Ci3yfjxH.js → p-xmvTLf74.js} +1 -1
  205. package/dist/components/sd-action-modal.js +1 -1
  206. package/dist/components/sd-badge.js +1 -1
  207. package/dist/components/sd-barcode-input.js +1 -1
  208. package/dist/components/sd-button-v2.js +1 -1
  209. package/dist/components/sd-button.js +1 -1
  210. package/dist/components/sd-calendar.js +1 -1
  211. package/dist/components/sd-card.js +1 -1
  212. package/dist/components/sd-checkbox.js +1 -1
  213. package/dist/components/{sd-loading-spinner.d.ts → sd-circle-progress.d.ts} +4 -4
  214. package/dist/components/sd-circle-progress.js +1 -0
  215. package/dist/components/sd-confirm-modal.js +1 -1
  216. package/dist/components/sd-date-box.js +1 -1
  217. package/dist/components/sd-date-picker-calendar.js +1 -1
  218. package/dist/components/sd-date-picker-trigger.js +1 -1
  219. package/dist/components/sd-date-picker.js +1 -1
  220. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  221. package/dist/components/sd-date-range-picker.js +1 -1
  222. package/dist/components/sd-dropdown-button.js +1 -1
  223. package/dist/components/sd-field.js +1 -1
  224. package/dist/components/sd-file-picker.js +1 -1
  225. package/dist/components/sd-floating-portal.js +1 -1
  226. package/dist/components/sd-form.js +1 -1
  227. package/dist/components/sd-ghost-button.js +1 -1
  228. package/dist/components/sd-guide.js +1 -1
  229. package/dist/components/sd-icon.js +1 -1
  230. package/dist/components/sd-input.js +1 -1
  231. package/dist/components/{sd-radio-button-group.d.ts → sd-loading-container.d.ts} +4 -4
  232. package/dist/components/sd-loading-container.js +1 -0
  233. package/dist/components/{sd-toggle-button.d.ts → sd-loading-modal.d.ts} +4 -4
  234. package/dist/components/sd-loading-modal.js +1 -0
  235. package/dist/components/sd-modal-container.js +1 -1
  236. package/dist/components/sd-number-input.js +1 -1
  237. package/dist/components/sd-pagination.js +1 -1
  238. package/dist/components/sd-popover.js +1 -1
  239. package/dist/components/sd-portal.js +1 -1
  240. package/dist/components/sd-progress.js +1 -1
  241. package/dist/components/sd-radio-button.d.ts +11 -0
  242. package/dist/components/sd-radio-button.js +1 -0
  243. package/dist/components/sd-radio-group.js +1 -1
  244. package/dist/components/sd-radio.js +1 -1
  245. package/dist/components/sd-select-dropdown.js +1 -1
  246. package/dist/components/sd-select-group.js +1 -1
  247. package/dist/components/sd-select-multiple-group.js +1 -1
  248. package/dist/components/sd-select-multiple.js +1 -1
  249. package/dist/components/sd-select-option-group.js +1 -1
  250. package/dist/components/sd-select-option.js +1 -1
  251. package/dist/components/sd-select-search-input.js +1 -1
  252. package/dist/components/sd-select-v2-list-item-search.js +1 -1
  253. package/dist/components/sd-select-v2-list-item.js +1 -1
  254. package/dist/components/sd-select-v2-listbox.js +1 -1
  255. package/dist/components/sd-select-v2-trigger.js +1 -1
  256. package/dist/components/sd-select-v2.js +1 -1
  257. package/dist/components/sd-select.js +1 -1
  258. package/dist/components/sd-switch.d.ts +11 -0
  259. package/dist/components/sd-switch.js +1 -0
  260. package/dist/components/sd-table.js +1 -1
  261. package/dist/components/sd-tabs.js +1 -1
  262. package/dist/components/sd-tag.js +1 -1
  263. package/dist/components/sd-tbody.d.ts +11 -0
  264. package/dist/components/sd-tbody.js +1 -0
  265. package/dist/components/sd-td.d.ts +11 -0
  266. package/dist/components/sd-td.js +1 -0
  267. package/dist/components/sd-text-link.js +1 -1
  268. package/dist/components/sd-textarea.js +1 -1
  269. package/dist/components/sd-thead.d.ts +11 -0
  270. package/dist/components/sd-thead.js +1 -0
  271. package/dist/components/sd-toast-container.js +1 -1
  272. package/dist/components/sd-toast.js +1 -1
  273. package/dist/components/sd-toggle.js +1 -1
  274. package/dist/components/sd-tooltip.js +1 -1
  275. package/dist/components/sd-tr.d.ts +11 -0
  276. package/dist/components/sd-tr.js +1 -0
  277. package/dist/components/table-test.d.ts +11 -0
  278. package/dist/components/table-test.js +1 -0
  279. package/dist/design-system/design-system.css +1 -1
  280. package/dist/design-system/design-system.esm.js +1 -1
  281. package/dist/design-system/index.esm.js +1 -1
  282. package/dist/design-system/p-010e4f47.entry.js +1 -0
  283. package/dist/design-system/p-03099a57.entry.js +1 -0
  284. package/dist/design-system/p-04be87a4.entry.js +1 -0
  285. package/dist/design-system/{p-e9c28bdc.entry.js → p-09ba9dbc.entry.js} +1 -1
  286. package/dist/design-system/p-0fbb6d92.entry.js +1 -0
  287. package/dist/design-system/p-12a03c88.entry.js +1 -0
  288. package/dist/design-system/p-15cda79c.entry.js +1 -0
  289. package/dist/design-system/{p-a03ad24f.entry.js → p-1d310832.entry.js} +1 -1
  290. package/dist/design-system/p-2ae97b1c.entry.js +1 -0
  291. package/dist/design-system/p-2f64dd95.entry.js +1 -0
  292. package/dist/design-system/p-33e4ce64.entry.js +1 -0
  293. package/dist/design-system/{p-14b67a6e.entry.js → p-363da5ff.entry.js} +1 -1
  294. package/dist/design-system/p-3d341993.entry.js +1 -0
  295. package/dist/design-system/p-3f79f1d1.entry.js +1 -0
  296. package/dist/design-system/{p-c59191d3.entry.js → p-40495e05.entry.js} +1 -1
  297. package/dist/design-system/p-4128c17f.entry.js +1 -0
  298. package/dist/design-system/{p-614c9883.entry.js → p-4a53d7b0.entry.js} +1 -1
  299. package/dist/design-system/{p-9ae589c4.entry.js → p-4dcadde3.entry.js} +1 -1
  300. package/dist/design-system/{p-62992b73.entry.js → p-53bc77f8.entry.js} +1 -1
  301. package/dist/design-system/{p-28058050.entry.js → p-5a63febd.entry.js} +1 -1
  302. package/dist/design-system/p-6644c4a0.entry.js +1 -0
  303. package/dist/design-system/{p-30055371.entry.js → p-6c71d7b7.entry.js} +1 -1
  304. package/dist/design-system/{p-7a18a52b.entry.js → p-73acee07.entry.js} +1 -1
  305. package/dist/design-system/p-7e09fdd5.entry.js +1 -0
  306. package/dist/design-system/{p-4272b9e6.entry.js → p-84a329fb.entry.js} +1 -1
  307. package/dist/design-system/p-867ec4ee.entry.js +1 -0
  308. package/dist/design-system/p-8acf3b67.entry.js +1 -0
  309. package/dist/design-system/p-8d2328ae.entry.js +1 -0
  310. package/dist/design-system/p-96b14db1.entry.js +1 -0
  311. package/dist/design-system/p-BqHL8W3c.js +2 -0
  312. package/dist/design-system/{p-DSRYrM1n.js → p-COK6PVLC.js} +1 -1
  313. package/dist/design-system/p-DOXMJi-V.js +1 -0
  314. package/dist/design-system/{p-72b564ed.entry.js → p-a129711d.entry.js} +1 -1
  315. package/dist/design-system/{p-3acd076e.entry.js → p-a27718c1.entry.js} +1 -1
  316. package/dist/design-system/p-a983560d.entry.js +1 -0
  317. package/dist/design-system/{p-3d10be45.entry.js → p-a9a91e69.entry.js} +1 -1
  318. package/dist/design-system/p-ae1800c0.entry.js +1 -0
  319. package/dist/design-system/p-b1fe12f8.entry.js +1 -0
  320. package/dist/design-system/p-b3279f07.entry.js +1 -0
  321. package/dist/design-system/p-b60ae063.entry.js +1 -0
  322. package/dist/design-system/p-b6e02544.entry.js +1 -0
  323. package/dist/design-system/p-b81e0493.entry.js +1 -0
  324. package/dist/design-system/p-bYCOh35g.js +1 -0
  325. package/dist/design-system/{p-85e22acd.entry.js → p-c4e68815.entry.js} +1 -1
  326. package/dist/design-system/p-cb65a9e4.entry.js +1 -0
  327. package/dist/design-system/p-cf1156cb.entry.js +1 -0
  328. package/dist/design-system/p-d040ec6f.entry.js +1 -0
  329. package/dist/design-system/{p-5d2e8779.entry.js → p-d04551be.entry.js} +1 -1
  330. package/dist/design-system/p-d8eb17a8.entry.js +1 -0
  331. package/dist/design-system/p-e0f9e5b5.entry.js +1 -0
  332. package/dist/design-system/p-e1fdd540.entry.js +1 -0
  333. package/dist/design-system/{p-2bd887ca.entry.js → p-e33389b8.entry.js} +1 -1
  334. package/dist/design-system/p-e78faea6.entry.js +1 -0
  335. package/dist/design-system/p-ed61fe19.entry.js +1 -0
  336. package/dist/design-system/p-f3d082c8.entry.js +1 -0
  337. package/dist/design-system/p-f9b9204d.entry.js +1 -0
  338. package/dist/design-system/{p-13fed1bd.entry.js → p-fd296c73.entry.js} +1 -1
  339. package/dist/design-system/p-sZMi_32I.js +1 -0
  340. package/dist/esm/{component.modal-mO5GcwI3.js → component.modal-DOXMJi-V.js} +14 -0
  341. package/dist/esm/constants-sZMi_32I.js +3 -0
  342. package/dist/esm/design-system.js +3 -4
  343. package/dist/esm/{index-DsU722JF.js → index-BqHL8W3c.js} +128 -10
  344. package/dist/esm/index.js +103 -33
  345. package/dist/esm/loader.js +3 -4
  346. package/dist/esm/sd-action-modal.entry.js +3 -3
  347. package/dist/esm/sd-badge.entry.js +2 -2
  348. package/dist/esm/sd-barcode-input.entry.js +4 -3
  349. package/dist/esm/sd-button-v2_2.entry.js +9 -8
  350. package/dist/esm/sd-button_4.entry.js +62 -18
  351. package/dist/esm/sd-calendar.entry.js +1 -1
  352. package/dist/esm/sd-card.entry.js +2 -2
  353. package/dist/esm/sd-checkbox.entry.js +30 -5
  354. package/dist/esm/sd-circle-progress.entry.js +69 -0
  355. package/dist/esm/sd-confirm-modal_2.entry.js +183 -0
  356. package/dist/esm/sd-date-box.entry.js +1 -1
  357. package/dist/esm/sd-date-picker-calendar.entry.js +3 -3
  358. package/dist/esm/sd-date-picker-trigger.entry.js +4 -4
  359. package/dist/esm/{sd-date-picker.config-C4i826lM.js → sd-date-picker.config-bYCOh35g.js} +3 -3
  360. package/dist/esm/sd-date-picker.entry.js +5 -4
  361. package/dist/esm/sd-date-range-picker-calendar.entry.js +3 -3
  362. package/dist/esm/sd-date-range-picker.entry.js +5 -4
  363. package/dist/esm/sd-dropdown-button.entry.js +10 -5
  364. package/dist/esm/sd-file-picker.entry.js +3 -2
  365. package/dist/esm/sd-form.entry.js +1 -1
  366. package/dist/esm/sd-ghost-button.entry.js +15 -6
  367. package/dist/esm/sd-guide.entry.js +2 -2
  368. package/dist/esm/sd-input_2.entry.js +8 -7
  369. package/dist/esm/sd-loading-container.entry.js +27 -0
  370. package/dist/esm/sd-modal-container.entry.js +45 -2
  371. package/dist/esm/sd-number-input.entry.js +6 -10
  372. package/dist/esm/{sd-select-v2.entry.js → sd-pagination_2.entry.js} +91 -5
  373. package/dist/esm/sd-popover.entry.js +4 -4
  374. package/dist/esm/sd-portal.entry.js +2 -2
  375. package/dist/esm/sd-progress.entry.js +3 -3
  376. package/dist/esm/sd-radio-button.entry.js +180 -0
  377. package/dist/esm/sd-radio-group.entry.js +1 -1
  378. package/dist/esm/sd-radio.entry.js +6 -6
  379. package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
  380. package/dist/esm/sd-select-group.entry.js +4 -3
  381. package/dist/esm/sd-select-multiple-group.entry.js +4 -3
  382. package/dist/esm/sd-select-multiple.entry.js +4 -3
  383. package/dist/esm/sd-select-option-group.entry.js +4 -4
  384. package/dist/esm/sd-select-v2-list-item_4.entry.js +656 -0
  385. package/dist/esm/sd-select.entry.js +178 -0
  386. package/dist/esm/sd-switch.entry.js +108 -0
  387. package/dist/esm/sd-table.entry.js +424 -651
  388. package/dist/esm/sd-tabs.entry.js +2 -2
  389. package/dist/esm/sd-tag.entry.js +6 -5
  390. package/dist/esm/sd-tbody.entry.js +64 -0
  391. package/dist/esm/sd-td.entry.js +56 -0
  392. package/dist/esm/sd-text-link.entry.js +10 -12
  393. package/dist/esm/sd-textarea.entry.js +3 -2
  394. package/dist/esm/sd-thead.entry.js +177 -0
  395. package/dist/esm/sd-toast-container.entry.js +2 -2
  396. package/dist/esm/sd-toast.entry.js +3 -3
  397. package/dist/esm/sd-toggle.entry.js +96 -13
  398. package/dist/esm/sd-tr.entry.js +169 -0
  399. package/dist/esm/table-test.entry.js +94 -0
  400. package/dist/esm/{tooltipArrow-CJuzsrdH.js → tooltipArrow-BcsrQx1U.js} +1 -1
  401. package/dist/types/__mocks__/nanoid-non-secure.d.ts +2 -0
  402. package/dist/types/__mocks__/nanoid.d.ts +1 -0
  403. package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +1 -0
  404. package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +1 -0
  405. package/dist/types/components/sd-checkbox/sd-checkbox.config.d.ts +3 -0
  406. package/dist/types/components/sd-checkbox/sd-checkbox.d.ts +2 -0
  407. package/dist/types/components/sd-circle-progress/sd-circle-progress.config.d.ts +9 -0
  408. package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +8 -0
  409. package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +1 -0
  410. package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +1 -0
  411. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +1 -0
  412. package/dist/types/components/sd-field/sd-field.config.d.ts +9 -0
  413. package/dist/types/components/sd-field/sd-field.d.ts +3 -0
  414. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +1 -0
  415. package/dist/types/components/sd-ghost-button/sd-ghost-button.config.d.ts +1 -1
  416. package/dist/types/components/sd-input/sd-input.d.ts +1 -0
  417. package/dist/types/components/sd-loading-container/sd-loading-container.config.d.ts +4 -0
  418. package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +8 -0
  419. package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +25 -0
  420. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +15 -0
  421. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +10 -0
  422. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -2
  423. package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +0 -1
  424. package/dist/types/components/sd-number-input/sd-number-input.d.ts +1 -0
  425. package/dist/types/components/sd-radio-button/sd-radio-button.config.d.ts +44 -0
  426. package/dist/types/components/{sd-radio-button-group/sd-radio-button-group.d.ts → sd-radio-button/sd-radio-button.d.ts} +4 -3
  427. package/dist/types/components/sd-select/sd-select.d.ts +1 -0
  428. package/dist/types/components/sd-select-group/sd-select-group.d.ts +1 -0
  429. package/dist/types/components/sd-select-multiple/sd-select-multiple.d.ts +1 -0
  430. package/dist/types/components/sd-select-multiple-group/sd-select-multiple-group.d.ts +1 -0
  431. package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +1 -0
  432. package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +1 -0
  433. package/dist/types/components/sd-switch/sd-switch.config.d.ts +22 -0
  434. package/dist/types/components/{sd-toggle-button/sd-toggle-button.d.ts → sd-switch/sd-switch.d.ts} +2 -6
  435. package/dist/types/components/sd-table/constants.d.ts +44 -0
  436. package/dist/types/components/sd-table/sd-table.d.ts +103 -115
  437. package/dist/types/components/sd-table/sd-tbody/sd-tbody.d.ts +14 -0
  438. package/dist/types/components/sd-table/sd-td/sd-td.d.ts +12 -0
  439. package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +36 -0
  440. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +34 -0
  441. package/dist/types/components/sd-textarea/sd-textarea.d.ts +1 -0
  442. package/dist/types/components/sd-toggle/sd-toggle.config.d.ts +32 -0
  443. package/dist/types/components/sd-toggle/sd-toggle.d.ts +0 -3
  444. package/dist/types/components/table-test/table-test.d.ts +46 -0
  445. package/dist/types/components.d.ts +649 -141
  446. package/dist/types/index.d.ts +3 -1
  447. package/dist/types/utils/loading.d.ts +7 -0
  448. package/dist/types/utils/modal.d.ts +19 -3
  449. package/hydrate/index.js +2500 -968
  450. package/hydrate/index.mjs +2500 -968
  451. package/package.json +1 -1
  452. package/readme.md +1 -1
  453. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  454. package/dist/cjs/sd-confirm-modal.cjs.entry.js +0 -106
  455. package/dist/cjs/sd-loading-spinner_3.cjs.entry.js +0 -283
  456. package/dist/cjs/sd-radio-button-group.cjs.entry.js +0 -57
  457. package/dist/cjs/sd-select-v2-list-item_2.cjs.entry.js +0 -150
  458. package/dist/cjs/sd-select-v2-listbox_2.cjs.entry.js +0 -353
  459. package/dist/cjs/sd-select-v2.config-7xBJQhvx.js +0 -171
  460. package/dist/cjs/sd-toggle-button.cjs.entry.js +0 -49
  461. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.css +0 -44
  462. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +0 -46
  463. package/dist/collection/components/sd-radio-button-group/sd-radio-button-group.css +0 -85
  464. package/dist/collection/components/sd-toggle-button/sd-toggle-button.css +0 -47
  465. package/dist/components/p-5OtzmjLh.js +0 -1
  466. package/dist/components/p-BFaIxm6b.js +0 -1
  467. package/dist/components/p-BP-QKaKz.js +0 -1
  468. package/dist/components/p-BSZadK9N.js +0 -1
  469. package/dist/components/p-BbtO5CEW.js +0 -1
  470. package/dist/components/p-BxPyZJaz.js +0 -1
  471. package/dist/components/p-C-qSDgVU.js +0 -1
  472. package/dist/components/p-C4i826lM.js +0 -1
  473. package/dist/components/p-CEa1HSpw.js +0 -1
  474. package/dist/components/p-CYRGa0VL.js +0 -1
  475. package/dist/components/p-ClgihpRm.js +0 -1
  476. package/dist/components/p-D-Y0-FQk.js +0 -1
  477. package/dist/components/p-D-pFdq6g.js +0 -1
  478. package/dist/components/p-DPipeCRI.js +0 -1
  479. package/dist/components/p-DSYw-7RA.js +0 -1
  480. package/dist/components/p-DXAB0k9r.js +0 -1
  481. package/dist/components/p-mO5GcwI3.js +0 -1
  482. package/dist/components/sd-loading-spinner.js +0 -1
  483. package/dist/components/sd-radio-button-group.js +0 -1
  484. package/dist/components/sd-toggle-button.js +0 -1
  485. package/dist/design-system/p-00207f08.entry.js +0 -1
  486. package/dist/design-system/p-067b0b3c.entry.js +0 -1
  487. package/dist/design-system/p-0e6f5a99.entry.js +0 -1
  488. package/dist/design-system/p-22a4972a.entry.js +0 -1
  489. package/dist/design-system/p-27df33c1.entry.js +0 -1
  490. package/dist/design-system/p-3ac6a626.entry.js +0 -1
  491. package/dist/design-system/p-6610c16b.entry.js +0 -1
  492. package/dist/design-system/p-739ac181.entry.js +0 -1
  493. package/dist/design-system/p-7dce4241.entry.js +0 -1
  494. package/dist/design-system/p-7e4c0a36.entry.js +0 -1
  495. package/dist/design-system/p-8b5b2866.entry.js +0 -1
  496. package/dist/design-system/p-90f51f65.entry.js +0 -1
  497. package/dist/design-system/p-C3eQSZx-.js +0 -1
  498. package/dist/design-system/p-C4i826lM.js +0 -1
  499. package/dist/design-system/p-DQuL1Twl.js +0 -1
  500. package/dist/design-system/p-DsU722JF.js +0 -2
  501. package/dist/design-system/p-a6bc8512.entry.js +0 -1
  502. package/dist/design-system/p-afeb740a.entry.js +0 -1
  503. package/dist/design-system/p-b3e0e6f4.entry.js +0 -1
  504. package/dist/design-system/p-ba90dc5f.entry.js +0 -1
  505. package/dist/design-system/p-bad88292.entry.js +0 -1
  506. package/dist/design-system/p-cbb5575d.entry.js +0 -1
  507. package/dist/design-system/p-ce6a0b0f.entry.js +0 -1
  508. package/dist/design-system/p-d07448fe.entry.js +0 -1
  509. package/dist/design-system/p-d1a94401.entry.js +0 -1
  510. package/dist/design-system/p-d5b5cfc7.entry.js +0 -1
  511. package/dist/design-system/p-d75e0dc0.entry.js +0 -1
  512. package/dist/design-system/p-dee605b1.entry.js +0 -1
  513. package/dist/design-system/p-e9ed9c00.entry.js +0 -1
  514. package/dist/design-system/p-f8567970.entry.js +0 -1
  515. package/dist/design-system/p-fa22f13c.entry.js +0 -1
  516. package/dist/design-system/p-fa8b64c2.entry.js +0 -1
  517. package/dist/design-system/p-fbac6160.entry.js +0 -1
  518. package/dist/design-system/p-mO5GcwI3.js +0 -1
  519. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  520. package/dist/esm/sd-confirm-modal.entry.js +0 -104
  521. package/dist/esm/sd-loading-spinner_3.entry.js +0 -279
  522. package/dist/esm/sd-radio-button-group.entry.js +0 -55
  523. package/dist/esm/sd-select-v2-list-item_2.entry.js +0 -147
  524. package/dist/esm/sd-select-v2-listbox_2.entry.js +0 -350
  525. package/dist/esm/sd-select-v2.config-C3eQSZx-.js +0 -158
  526. package/dist/esm/sd-toggle-button.entry.js +0 -47
  527. package/dist/types/components/sd-loading-spinner/sd-loading-spinner.d.ts +0 -5
@@ -14,6 +14,7 @@ export class SdFilePicker {
14
14
  // sd-field 패스스루 props
15
15
  name = '';
16
16
  label = '';
17
+ labelWidth = '';
17
18
  addonLabel = '';
18
19
  hint = '';
19
20
  errorMessage = '';
@@ -176,7 +177,7 @@ export class SdFilePicker {
176
177
  'sd-file-picker--inline-disabled': this.disabled,
177
178
  }, style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content));
178
179
  }
179
- return (h("sd-field", { name: this.name, label: this.label, addonLabel: this.addonLabel, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, content));
180
+ return (h("sd-field", { name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, content));
180
181
  }
181
182
  static get is() { return "sd-file-picker"; }
182
183
  static get originalStyleUrls() {
@@ -230,7 +231,7 @@ export class SdFilePicker {
230
231
  },
231
232
  "getter": false,
232
233
  "setter": false,
233
- "reflect": false,
234
+ "reflect": true,
234
235
  "attribute": "placeholder",
235
236
  "defaultValue": "'Click to upload'"
236
237
  },
@@ -250,7 +251,7 @@ export class SdFilePicker {
250
251
  },
251
252
  "getter": false,
252
253
  "setter": false,
253
- "reflect": false,
254
+ "reflect": true,
254
255
  "attribute": "disabled",
255
256
  "defaultValue": "false"
256
257
  },
@@ -270,7 +271,7 @@ export class SdFilePicker {
270
271
  },
271
272
  "getter": false,
272
273
  "setter": false,
273
- "reflect": false,
274
+ "reflect": true,
274
275
  "attribute": "inline",
275
276
  "defaultValue": "false"
276
277
  },
@@ -290,7 +291,7 @@ export class SdFilePicker {
290
291
  },
291
292
  "getter": false,
292
293
  "setter": false,
293
- "reflect": false,
294
+ "reflect": true,
294
295
  "attribute": "multiple",
295
296
  "defaultValue": "false"
296
297
  },
@@ -410,6 +411,26 @@ export class SdFilePicker {
410
411
  "attribute": "label",
411
412
  "defaultValue": "''"
412
413
  },
414
+ "labelWidth": {
415
+ "type": "any",
416
+ "mutable": false,
417
+ "complexType": {
418
+ "original": "string | number",
419
+ "resolved": "number | string",
420
+ "references": {}
421
+ },
422
+ "required": false,
423
+ "optional": false,
424
+ "docs": {
425
+ "tags": [],
426
+ "text": ""
427
+ },
428
+ "getter": false,
429
+ "setter": false,
430
+ "reflect": false,
431
+ "attribute": "label-width",
432
+ "defaultValue": "''"
433
+ },
413
434
  "addonLabel": {
414
435
  "type": "string",
415
436
  "mutable": false,
@@ -701,7 +722,7 @@ export class SdFilePicker {
701
722
  "text": ""
702
723
  },
703
724
  "complexType": {
704
- "original": "{ files: File[]; reason: 'max-file-size' | 'max-total-size' | 'max-files' }",
725
+ "original": "{\n files: File[];\n reason: 'max-file-size' | 'max-total-size' | 'max-files';\n }",
705
726
  "resolved": "{ files: File[]; reason: \"max-file-size\" | \"max-total-size\" | \"max-files\"; }",
706
727
  "references": {
707
728
  "File": {
@@ -22,7 +22,13 @@ export const GHOST_BUTTON_SIZES = {
22
22
  icon: Number(ghostButtonTokens.ghostButton.lg.icon),
23
23
  },
24
24
  };
25
- export const GHOST_BUTTON_RADIUS = Number(ghostButtonTokens.ghostButton.radius);
25
+ export const GHOST_BUTTON_RADIUS = {
26
+ xxs: Number(ghostButtonTokens.ghostButton.radius.sm),
27
+ xs: Number(ghostButtonTokens.ghostButton.radius.sm),
28
+ sm: Number(ghostButtonTokens.ghostButton.radius.sm),
29
+ md: Number(ghostButtonTokens.ghostButton.radius.md),
30
+ lg: Number(ghostButtonTokens.ghostButton.radius.md),
31
+ };
26
32
  export const GHOST_BUTTON_HOVER_OPACITY = ghostButtonTokens.ghostButton.hover.opacity;
27
33
  export const GHOST_BUTTON_CONTENT_COLORS = {
28
34
  default: ghostButtonTokens.ghostButton.default.content,
@@ -35,16 +35,16 @@ export class SdGhostButton {
35
35
  ? GHOST_BUTTON_DISABLED_COLORS[this.intent]
36
36
  : GHOST_BUTTON_CONTENT_COLORS[this.intent];
37
37
  const accessibleName = this.ariaLabel.trim() || undefined;
38
- return (h("button", { key: '783888ed2c124bf8e08698de0bc2e904b86722e9', class: {
38
+ return (h("button", { key: 'eccb34969779d75bcd77dd6ae12cb99a419af121', class: {
39
39
  'sd-ghost-button': true,
40
40
  'sd-ghost-button--disabled': this.disabled,
41
41
  }, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
42
42
  '--sd-ghost-button-size': `${sizeConfig.size}px`,
43
- '--sd-ghost-button-radius': `${GHOST_BUTTON_RADIUS}px`,
43
+ '--sd-ghost-button-radius': `${GHOST_BUTTON_RADIUS[this.size]}px`,
44
44
  '--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[this.intent],
45
45
  '--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
46
46
  '--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
47
- }, onClick: this.handleClick }, h("sd-icon", { key: '4ae4347b169267e6964c461126b6c9a4281578bb', name: this.icon, size: sizeConfig.icon, color: contentColor })));
47
+ }, onClick: this.handleClick }, h("sd-icon", { key: '4ae160e73b72b0b4aa40947c126419b1016c81d3', name: this.icon, size: sizeConfig.icon, color: contentColor })));
48
48
  }
49
49
  static get is() { return "sd-ghost-button"; }
50
50
  static get originalStyleUrls() {
@@ -17,7 +17,7 @@ sd-button {
17
17
  --sd-button-icon-only-size: var(--sd-button-height);
18
18
  text-decoration: none;
19
19
  cursor: pointer;
20
- border-radius: var(--sd-button-radius-sm, 4px);
20
+ border-radius: var(--sd-button-button-radius-sm, 4px);
21
21
  transition: all 0.2s ease-in-out;
22
22
  position: relative;
23
23
  overflow: hidden;
@@ -38,51 +38,51 @@ sd-button {
38
38
  text-decoration: var(--sd-button-text-decoration);
39
39
  }
40
40
  .sd-button--xs {
41
- --sd-button-height: var(--sd-button-xs-height, 24px);
42
- --sd-button-padding-x: var(--sd-button-xs-padding-x, 8px);
43
- --sd-button-gap: var(--sd-button-xs-gap, 4px);
44
- --sd-button-font-family: var(--sd-button-xs-typography-font-family, inherit);
45
- --sd-button-font-size: var(--sd-button-xs-typography-font-size, 12px);
46
- --sd-button-font-weight: var(--sd-button-xs-typography-font-weight, 500);
47
- --sd-button-text-decoration: var(--sd-button-xs-typography-text-decoration, none);
41
+ --sd-button-height: var(--sd-button-button-xs-height, 24px);
42
+ --sd-button-padding-x: var(--sd-button-button-xs-padding-x, 8px);
43
+ --sd-button-gap: var(--sd-button-button-xs-gap, 4px);
44
+ --sd-button-font-family: var(--sd-button-button-xs-typography-font-family, inherit);
45
+ --sd-button-font-size: var(--sd-button-button-xs-typography-font-size, 12px);
46
+ --sd-button-font-weight: var(--sd-button-button-xs-typography-font-weight, 500);
47
+ --sd-button-text-decoration: var(--sd-button-button-xs-typography-text-decoration, none);
48
48
  --sd-button-label-min-width: var(--sd-button-label-xs-min-width, auto);
49
- --sd-button-icon-only-size: var(--sd-button-icon-only-xs-width, var(--sd-button-height));
49
+ --sd-button-icon-only-size: var(--sd-button-button-icon-only-xs-width, var(--sd-button-height));
50
50
  line-height: 20px;
51
51
  }
52
52
  .sd-button--sm {
53
- --sd-button-height: var(--sd-button-sm-height, 28px);
54
- --sd-button-padding-x: var(--sd-button-sm-padding-x, 12px);
55
- --sd-button-gap: var(--sd-button-sm-gap, 6px);
56
- --sd-button-font-family: var(--sd-button-sm-typography-font-family, inherit);
57
- --sd-button-font-size: var(--sd-button-sm-typography-font-size, 12px);
58
- --sd-button-font-weight: var(--sd-button-sm-typography-font-weight, 500);
59
- --sd-button-text-decoration: var(--sd-button-sm-typography-text-decoration, none);
53
+ --sd-button-height: var(--sd-button-button-sm-height, 28px);
54
+ --sd-button-padding-x: var(--sd-button-button-sm-padding-x, 12px);
55
+ --sd-button-gap: var(--sd-button-button-sm-gap, 6px);
56
+ --sd-button-font-family: var(--sd-button-button-sm-typography-font-family, inherit);
57
+ --sd-button-font-size: var(--sd-button-button-sm-typography-font-size, 12px);
58
+ --sd-button-font-weight: var(--sd-button-button-sm-typography-font-weight, 500);
59
+ --sd-button-text-decoration: var(--sd-button-button-sm-typography-text-decoration, none);
60
60
  --sd-button-label-min-width: var(--sd-button-label-sm-min-width, auto);
61
- --sd-button-icon-only-size: var(--sd-button-icon-only-sm-width, var(--sd-button-height));
61
+ --sd-button-icon-only-size: var(--sd-button-button-icon-only-sm-width, var(--sd-button-height));
62
62
  line-height: 20px;
63
63
  }
64
64
  .sd-button--md {
65
- --sd-button-height: var(--sd-button-md-height, 34px);
66
- --sd-button-padding-x: var(--sd-button-md-padding-x, 20px);
67
- --sd-button-gap: var(--sd-button-md-gap, 8px);
68
- --sd-button-font-family: var(--sd-button-md-typography-font-family, inherit);
69
- --sd-button-font-size: var(--sd-button-md-typography-font-size, 16px);
70
- --sd-button-font-weight: var(--sd-button-md-typography-font-weight, 500);
71
- --sd-button-text-decoration: var(--sd-button-md-typography-text-decoration, none);
65
+ --sd-button-height: var(--sd-button-button-md-height, 34px);
66
+ --sd-button-padding-x: var(--sd-button-button-md-padding-x, 20px);
67
+ --sd-button-gap: var(--sd-button-button-md-gap, 8px);
68
+ --sd-button-font-family: var(--sd-button-button-md-typography-font-family, inherit);
69
+ --sd-button-font-size: var(--sd-button-button-md-typography-font-size, 16px);
70
+ --sd-button-font-weight: var(--sd-button-button-md-typography-font-weight, 500);
71
+ --sd-button-text-decoration: var(--sd-button-button-md-typography-text-decoration, none);
72
72
  --sd-button-label-min-width: var(--sd-button-label-md-min-width, auto);
73
- --sd-button-icon-only-size: var(--sd-button-icon-only-md-width, var(--sd-button-height));
73
+ --sd-button-icon-only-size: var(--sd-button-button-icon-only-md-width, var(--sd-button-height));
74
74
  line-height: 26px;
75
75
  }
76
76
  .sd-button--lg {
77
- --sd-button-height: var(--sd-button-lg-height, 62px);
78
- --sd-button-padding-x: var(--sd-button-lg-padding-x, 28px);
79
- --sd-button-gap: var(--sd-button-lg-gap, 12px);
80
- --sd-button-font-family: var(--sd-button-lg-typography-font-family, inherit);
81
- --sd-button-font-size: var(--sd-button-lg-typography-font-size, 18px);
82
- --sd-button-font-weight: var(--sd-button-lg-typography-font-weight, 500);
83
- --sd-button-text-decoration: var(--sd-button-lg-typography-text-decoration, none);
77
+ --sd-button-height: var(--sd-button-button-lg-height, 62px);
78
+ --sd-button-padding-x: var(--sd-button-button-lg-padding-x, 28px);
79
+ --sd-button-gap: var(--sd-button-button-lg-gap, 12px);
80
+ --sd-button-font-family: var(--sd-button-button-lg-typography-font-family, inherit);
81
+ --sd-button-font-size: var(--sd-button-button-lg-typography-font-size, 18px);
82
+ --sd-button-font-weight: var(--sd-button-button-lg-typography-font-weight, 500);
83
+ --sd-button-text-decoration: var(--sd-button-button-lg-typography-text-decoration, none);
84
84
  --sd-button-label-min-width: var(--sd-button-label-lg-min-width, auto);
85
- --sd-button-icon-only-size: var(--sd-button-icon-only-lg-width, var(--sd-button-height));
85
+ --sd-button-icon-only-size: var(--sd-button-button-icon-only-lg-width, var(--sd-button-height));
86
86
  line-height: 30px;
87
87
  }
88
88
  .sd-button--has-label {
@@ -107,7 +107,7 @@ sd-button {
107
107
  }
108
108
  .sd-button--outline {
109
109
  background: white;
110
- border: var(--sd-button-border-width-default, 1px) solid var(--button-color);
110
+ border: var(--sd-button-button-border-width-default, 1px) solid var(--button-color);
111
111
  color: var(--button-color);
112
112
  }
113
113
  .sd-button--outline::before {
@@ -148,9 +148,9 @@ sd-button {
148
148
  z-index: 1;
149
149
  }
150
150
  .sd-button--disabled {
151
- border: var(--sd-button-border-width-default, 1px) solid var(--sd-button-border-disabled, #CCCCCC);
152
- background: var(--sd-button-bg-disabled, #E1E1E1);
153
- color: var(--sd-button-content-disabled, #888888);
151
+ border: var(--sd-button-button-border-width-default, 1px) solid var(--sd-button-button-border-disabled, #CCCCCC);
152
+ background: var(--sd-button-button-bg-disabled, #E1E1E1);
153
+ color: var(--sd-button-button-text-disabled, #888888);
154
154
  cursor: not-allowed !important;
155
155
  }
156
156
  .sd-button--icon-only {
@@ -63,6 +63,9 @@ sd-input .sd-input__content .sd-input__native[disabled] {
63
63
  cursor: not-allowed;
64
64
  color: var(--sd-input-disabled-color);
65
65
  }
66
+ sd-input .sd-input__content .sd-input__native[readonly] {
67
+ color: var(--sd-input-disabled-color);
68
+ }
66
69
  sd-input .sd-input__content .sd-input__native::placeholder {
67
70
  color: var(--sd-input-placeholder-color);
68
71
  }
@@ -29,6 +29,7 @@ export class SdInput {
29
29
  hovered = false;
30
30
  // props - label
31
31
  label = '';
32
+ labelWidth = '';
32
33
  icon = undefined;
33
34
  labelTooltip = '';
34
35
  labelTooltipProps = null;
@@ -110,12 +111,12 @@ export class SdInput {
110
111
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
111
112
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
112
113
  };
113
- return (h("sd-field", { key: '16881490eb9d8d08aa0788be2dbb845b12f50269', name: this.name, label: this.label, addonLabel: this.addonLabel, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: '04e71967c3b3f7bf4589a3aaf4505c5d67d615da', class: "sd-input__content" }, h("slot", { key: '18476a19c8825734e475116586bab2711c1d84e3', name: "prefix" }), h("input", { key: '7600e0ade86d1bca8ba6197d49bd72ef4d0778dd', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '5c98ef1acdb26a1c0f89fc04101c0315b017c08a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (h("sd-ghost-button", { key: 'f188270be3635c68d99a453eaba61f53d6bb2bc7', icon: "close", ariaLabel: "close", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
114
+ return (h("sd-field", { key: 'a72ce8674fb761de7cd188e99cc19d5f3731a899', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("label", { key: 'e5cbdbc2b233bda57488ead19401d277891301ae', class: "sd-input__content" }, h("slot", { key: 'a327005770df94ef61f2e08071e77407a24b7b5c', name: "prefix" }), h("input", { key: '36301cd586151b8c607e14715b26fca467f68c13', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '532e201860db0709572502aa4275fc9251e1aeb1', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (h("sd-ghost-button", { key: 'cc6132852c65f0597cbe25751c7246b1cdad3096', icon: "close", ariaLabel: "close", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
114
115
  if (this.disabled)
115
116
  return;
116
117
  this.internalValue = '';
117
118
  await this.formField?.sdValidate();
118
- } })), this.type === 'password' && (h("sd-ghost-button", { key: 'cedaceae0b81e007e4672a57c950bd6b23d045cd', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
119
+ } })), this.type === 'password' && (h("sd-ghost-button", { key: 'fd3d567346cf5771ec28c73f15cdf0db15835766', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
119
120
  if (this.disabled)
120
121
  return;
121
122
  this.passwordVisible = !this.passwordVisible;
@@ -641,6 +642,26 @@ export class SdInput {
641
642
  "attribute": "label",
642
643
  "defaultValue": "''"
643
644
  },
645
+ "labelWidth": {
646
+ "type": "any",
647
+ "mutable": false,
648
+ "complexType": {
649
+ "original": "string | number",
650
+ "resolved": "number | string",
651
+ "references": {}
652
+ },
653
+ "required": false,
654
+ "optional": false,
655
+ "docs": {
656
+ "tags": [],
657
+ "text": ""
658
+ },
659
+ "getter": false,
660
+ "setter": false,
661
+ "reflect": false,
662
+ "attribute": "label-width",
663
+ "defaultValue": "''"
664
+ },
644
665
  "icon": {
645
666
  "type": "unknown",
646
667
  "mutable": false,
@@ -0,0 +1 @@
1
+ export const LOADING_CONTAINER_DEFAULT_Z_INDEX = 10000;
@@ -0,0 +1,40 @@
1
+ sd-loading-container .sd-loading-container {
2
+ position: fixed;
3
+ inset: 0;
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: center;
7
+ z-index: var(--sd-loading-container-z-index, 10000);
8
+ opacity: 0;
9
+ visibility: hidden;
10
+ transition: opacity 0.2s ease, visibility 0s linear 0.2s;
11
+ pointer-events: none;
12
+ }
13
+ sd-loading-container .sd-loading-container--visible {
14
+ opacity: 1;
15
+ visibility: visible;
16
+ transition: opacity 0.2s ease, visibility 0s linear 0s;
17
+ pointer-events: auto;
18
+ }
19
+ sd-loading-container .sd-loading-container__backdrop {
20
+ position: absolute;
21
+ inset: 0;
22
+ background: rgba(0, 0, 0, 0.4);
23
+ }
24
+ sd-loading-container .sd-loading-container__content {
25
+ position: relative;
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: center;
29
+ gap: 16px;
30
+ }
31
+ sd-loading-container .sd-loading-container__message {
32
+ margin: 0;
33
+ color: #ffffff;
34
+ font-size: 14px;
35
+ font-weight: 500;
36
+ line-height: 22px;
37
+ text-align: center;
38
+ max-width: 400px;
39
+ word-break: keep-all;
40
+ }
@@ -0,0 +1,83 @@
1
+ import { h } from "@stencil/core";
2
+ export class SdLoadingContainer {
3
+ visible = false;
4
+ message = '';
5
+ async show(options = {}) {
6
+ this.message = options.message ?? '';
7
+ this.visible = true;
8
+ }
9
+ async hide() {
10
+ this.visible = false;
11
+ }
12
+ render() {
13
+ return (h("div", { key: 'e4578e196ebd4ee69d424fe85c9bf651bc3382f7', class: {
14
+ 'sd-loading-container': true,
15
+ 'sd-loading-container--visible': this.visible,
16
+ }, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: 'ae9fae9408f9b69591554ca105abb2ece362db00', class: "sd-loading-container__backdrop" }), h("div", { key: '27d0c6518dacbb664cebb2fc76c9ceb14b2b3aac', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: 'ace74d2550a2ddb579c61e6f8daaaf64915e8666', indeterminate: true, type: "inverse" }), this.message && (h("p", { key: 'af059ecdadf7b3b3c0a0437cbc4264ff550fa3c6', class: "sd-loading-container__message" }, this.message)))));
17
+ }
18
+ static get is() { return "sd-loading-container"; }
19
+ static get originalStyleUrls() {
20
+ return {
21
+ "$": ["sd-loading-container.scss"]
22
+ };
23
+ }
24
+ static get styleUrls() {
25
+ return {
26
+ "$": ["sd-loading-container.css"]
27
+ };
28
+ }
29
+ static get states() {
30
+ return {
31
+ "visible": {},
32
+ "message": {}
33
+ };
34
+ }
35
+ static get methods() {
36
+ return {
37
+ "show": {
38
+ "complexType": {
39
+ "signature": "(options?: SdLoadingShowArgs) => Promise<void>",
40
+ "parameters": [{
41
+ "name": "options",
42
+ "type": "SdLoadingShowArgs",
43
+ "docs": ""
44
+ }],
45
+ "references": {
46
+ "Promise": {
47
+ "location": "global",
48
+ "id": "global::Promise"
49
+ },
50
+ "SdLoadingShowArgs": {
51
+ "location": "import",
52
+ "path": "./sd-loading-container.config",
53
+ "id": "src/components/sd-loading-container/sd-loading-container.config.ts::SdLoadingShowArgs",
54
+ "referenceLocation": "SdLoadingShowArgs"
55
+ }
56
+ },
57
+ "return": "Promise<void>"
58
+ },
59
+ "docs": {
60
+ "text": "",
61
+ "tags": []
62
+ }
63
+ },
64
+ "hide": {
65
+ "complexType": {
66
+ "signature": "() => Promise<void>",
67
+ "parameters": [],
68
+ "references": {
69
+ "Promise": {
70
+ "location": "global",
71
+ "id": "global::Promise"
72
+ }
73
+ },
74
+ "return": "Promise<void>"
75
+ },
76
+ "docs": {
77
+ "text": "",
78
+ "tags": []
79
+ }
80
+ }
81
+ };
82
+ }
83
+ }
@@ -0,0 +1,31 @@
1
+ import modalTokens from "../../tokens/generated/component.modal.json";
2
+ import spinnerTokens from "../../tokens/generated/component.spinner.json";
3
+ export const LOADING_MODAL_LAYOUT = {
4
+ minWidth: Number(modalTokens.modal.loading.width),
5
+ minHeight: Number(modalTokens.modal.loading.height),
6
+ gap: Number(modalTokens.modal.loading.gap),
7
+ contentSize: Number(modalTokens.modal.loading.content),
8
+ radius: Number(modalTokens.modal.radius),
9
+ };
10
+ export const LOADING_MODAL_COLORS = {
11
+ bg: modalTokens.modal.bg,
12
+ messageColor: modalTokens.modal.loading.message.color,
13
+ errorIcon: modalTokens.modal.confirm.negative.icon,
14
+ spinnerTrack: spinnerTokens.spinner.color.track,
15
+ spinnerArc: spinnerTokens.spinner.color.arc,
16
+ };
17
+ export const LOADING_MODAL_TYPOGRAPHY = {
18
+ fontFamily: modalTokens.modal.loading.message.typography.fontFamily,
19
+ fontSize: Number(modalTokens.modal.loading.message.typography.fontSize),
20
+ fontWeight: Number(modalTokens.modal.loading.message.typography.fontWeight),
21
+ lineHeight: Number(modalTokens.modal.loading.message.typography.lineHeight),
22
+ };
23
+ export const LOADING_MODAL_DEFAULT_MESSAGE = {
24
+ loading: '작업을 진행하고 있습니다. 잠시만 기다려 주세요.',
25
+ error: '작업에 실패하였습니다. 다시 시도해 주세요.',
26
+ };
27
+ export const LOADING_MODAL_DEFAULT_BUTTON_LABEL = {
28
+ loading: '작업 취소',
29
+ error: '다시 시도',
30
+ };
31
+ export const LOADING_MODAL_BUTTON_PRESET = 'neutral_outline_sm';
@@ -0,0 +1,37 @@
1
+ sd-loading-modal {
2
+ display: inline-block;
3
+ }
4
+ sd-loading-modal .sd-loading-modal {
5
+ display: flex;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ justify-content: center;
9
+ gap: var(--sd-loading-modal-gap);
10
+ min-width: var(--sd-loading-modal-min-width);
11
+ min-height: var(--sd-loading-modal-min-height);
12
+ width: var(--sd-loading-modal-width, auto);
13
+ height: var(--sd-loading-modal-height, auto);
14
+ border-radius: var(--sd-loading-modal-radius);
15
+ background: var(--sd-loading-modal-bg);
16
+ box-shadow: 4px 4px 24px 4px rgba(0, 0, 0, 0.2);
17
+ }
18
+ sd-loading-modal .sd-loading-modal__content {
19
+ display: flex;
20
+ align-items: center;
21
+ justify-content: center;
22
+ width: var(--sd-loading-modal-content-size);
23
+ height: var(--sd-loading-modal-content-size);
24
+ }
25
+ sd-loading-modal .sd-loading-modal__message {
26
+ margin: 0;
27
+ color: var(--sd-loading-modal-message-color);
28
+ font-family: var(--sd-loading-modal-message-font-family);
29
+ font-size: var(--sd-loading-modal-message-font-size);
30
+ font-weight: var(--sd-loading-modal-message-font-weight);
31
+ line-height: var(--sd-loading-modal-message-line-height);
32
+ text-align: center;
33
+ }
34
+ sd-loading-modal .sd-loading-modal__button {
35
+ display: flex;
36
+ justify-content: center;
37
+ }