@sellmate/design-system 1.0.62 → 1.0.63

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 (509) 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 +3 -3
  10. package/dist/cjs/sd-button-v2_2.cjs.entry.js +9 -8
  11. package/dist/cjs/sd-button_4.cjs.entry.js +56 -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 +4 -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 +4 -4
  24. package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -5
  25. package/dist/cjs/sd-file-picker.cjs.entry.js +1 -1
  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 +7 -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 +5 -10
  33. package/dist/cjs/{sd-select-v2.cjs.entry.js → sd-pagination_2.cjs.entry.js} +90 -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 +3 -3
  42. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +2 -2
  43. package/dist/cjs/sd-select-multiple.cjs.entry.js +3 -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 +179 -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 +2 -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 +1 -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 +5 -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 +5 -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 +19 -16
  92. package/dist/collection/components/sd-field/sd-field.js +46 -11
  93. package/dist/collection/components/sd-file-picker/sd-file-picker.js +5 -5
  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 +2 -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 +3 -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-group/sd-select-group.css +4 -0
  122. package/dist/collection/components/sd-select-group/sd-select-group.js +1 -1
  123. package/dist/collection/components/sd-select-multiple/sd-select-multiple.css +4 -0
  124. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
  125. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.css +4 -0
  126. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  127. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
  128. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.css +4 -0
  129. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +6 -3
  130. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +2 -3
  131. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +2 -1
  132. package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
  133. package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +1 -0
  134. package/dist/collection/components/sd-select-v2/sd-select-v2.js +3 -3
  135. package/dist/collection/components/sd-switch/sd-switch.config.js +23 -0
  136. package/dist/collection/components/sd-switch/sd-switch.css +54 -0
  137. package/dist/collection/components/{sd-toggle-button/sd-toggle-button.js → sd-switch/sd-switch.js} +30 -27
  138. package/dist/collection/components/sd-table/constants.js +1 -0
  139. package/dist/collection/components/sd-table/sd-table.css +76 -248
  140. package/dist/collection/components/sd-table/sd-table.js +705 -700
  141. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.css +18 -0
  142. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +105 -0
  143. package/dist/collection/components/sd-table/sd-td/sd-td.css +15 -0
  144. package/dist/collection/components/sd-table/sd-td/sd-td.js +121 -0
  145. package/dist/collection/components/sd-table/sd-thead/sd-thead.css +147 -0
  146. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +442 -0
  147. package/dist/collection/components/sd-table/sd-tr/sd-tr.css +111 -0
  148. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +376 -0
  149. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  150. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  151. package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
  152. package/dist/collection/components/sd-text-link/sd-text-link.js +7 -13
  153. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  154. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  155. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  156. package/dist/collection/components/sd-toggle/sd-toggle.config.js +33 -0
  157. package/dist/collection/components/sd-toggle/sd-toggle.css +38 -50
  158. package/dist/collection/components/sd-toggle/sd-toggle.js +29 -12
  159. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  160. package/dist/collection/components/table-test/table-test.css +59 -0
  161. package/dist/collection/components/table-test/table-test.js +316 -0
  162. package/dist/collection/index.js +1 -0
  163. package/dist/collection/utils/loading.js +43 -0
  164. package/dist/collection/utils/modal.js +26 -0
  165. package/dist/components/index.js +1 -1
  166. package/dist/components/p-6LkBUj0w.js +1 -0
  167. package/dist/components/{p-DlujHEXS.js → p-6cueWz-l.js} +1 -1
  168. package/dist/components/{p-D0wZv01W.js → p-AKpbKrkW.js} +1 -1
  169. package/dist/components/p-B1S4ybd6.js +1 -0
  170. package/dist/components/{p-D93Cb_Vw.js → p-B6OgnOKC.js} +1 -1
  171. package/dist/components/{p-lKwhftf9.js → p-B6RvTdqt.js} +1 -1
  172. package/dist/components/p-BLC3AWW8.js +1 -0
  173. package/dist/components/{p-BUAwjF_Z.js → p-BZ7V5xV5.js} +1 -1
  174. package/dist/components/{p-BWgJ9XTj.js → p-BdsI1E5l.js} +1 -1
  175. package/dist/components/{p-DdBIc8AE.js → p-BgRPWxrz.js} +1 -1
  176. package/dist/components/{p-DCv5afjJ.js → p-Bh548Ckv.js} +1 -1
  177. package/dist/components/p-C2r48NLP.js +1 -0
  178. package/dist/components/{p-BtH5wWA5.js → p-CGXwtYAv.js} +1 -1
  179. package/dist/components/p-CGssy8eb.js +1 -0
  180. package/dist/components/{p-BHQirDZt.js → p-CRl8Anfr.js} +1 -1
  181. package/dist/components/p-CU095QAR.js +1 -0
  182. package/dist/components/p-CpclstHV.js +1 -0
  183. package/dist/components/{p-C2Yw3PoX.js → p-Cpu_hXwN.js} +1 -1
  184. package/dist/components/{p-gTPCqs3t.js → p-Cr_74QR7.js} +1 -1
  185. package/dist/components/{p-BsJy4pgR.js → p-D9FDutsj.js} +1 -1
  186. package/dist/components/p-DBnszF5F.js +1 -0
  187. package/dist/components/p-DOXMJi-V.js +1 -0
  188. package/dist/components/p-DRY8HJ-T.js +1 -0
  189. package/dist/components/{p-BVBMsoZP.js → p-DUqX35W_.js} +1 -1
  190. package/dist/components/{p-Ci3yfjxH.js → p-DgYBr7xb.js} +1 -1
  191. package/dist/components/{p-98NWgkAU.js → p-DpsDTjcN.js} +1 -1
  192. package/dist/components/p-DuYi4aqj.js +1 -0
  193. package/dist/components/{p-AdSqif48.js → p-DxzgCf_d.js} +1 -1
  194. package/dist/components/p-TMuoVuhE.js +1 -0
  195. package/dist/components/{p-CE1Hmoij.js → p-VXLJLI30.js} +1 -1
  196. package/dist/components/p-aC4HJHug.js +1 -0
  197. package/dist/components/p-bYCOh35g.js +1 -0
  198. package/dist/components/p-e35Du7-7.js +1 -0
  199. package/dist/components/p-e8HA30H_.js +1 -0
  200. package/dist/components/p-kZ5N_lFC.js +1 -0
  201. package/dist/components/{p-CqU3a1re.js → p-puZ1xlrr.js} +1 -1
  202. package/dist/components/p-sZMi_32I.js +1 -0
  203. package/dist/components/sd-action-modal.js +1 -1
  204. package/dist/components/sd-badge.js +1 -1
  205. package/dist/components/sd-barcode-input.js +1 -1
  206. package/dist/components/sd-button-v2.js +1 -1
  207. package/dist/components/sd-button.js +1 -1
  208. package/dist/components/sd-calendar.js +1 -1
  209. package/dist/components/sd-card.js +1 -1
  210. package/dist/components/sd-checkbox.js +1 -1
  211. package/dist/components/{sd-loading-spinner.d.ts → sd-circle-progress.d.ts} +4 -4
  212. package/dist/components/sd-circle-progress.js +1 -0
  213. package/dist/components/sd-confirm-modal.js +1 -1
  214. package/dist/components/sd-date-box.js +1 -1
  215. package/dist/components/sd-date-picker-calendar.js +1 -1
  216. package/dist/components/sd-date-picker-trigger.js +1 -1
  217. package/dist/components/sd-date-picker.js +1 -1
  218. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  219. package/dist/components/sd-date-range-picker.js +1 -1
  220. package/dist/components/sd-dropdown-button.js +1 -1
  221. package/dist/components/sd-field.js +1 -1
  222. package/dist/components/sd-file-picker.js +1 -1
  223. package/dist/components/sd-floating-portal.js +1 -1
  224. package/dist/components/sd-form.js +1 -1
  225. package/dist/components/sd-ghost-button.js +1 -1
  226. package/dist/components/sd-guide.js +1 -1
  227. package/dist/components/sd-icon.js +1 -1
  228. package/dist/components/sd-input.js +1 -1
  229. package/dist/components/{sd-radio-button-group.d.ts → sd-loading-container.d.ts} +4 -4
  230. package/dist/components/sd-loading-container.js +1 -0
  231. package/dist/components/{sd-toggle-button.d.ts → sd-loading-modal.d.ts} +4 -4
  232. package/dist/components/sd-loading-modal.js +1 -0
  233. package/dist/components/sd-modal-container.js +1 -1
  234. package/dist/components/sd-number-input.js +1 -1
  235. package/dist/components/sd-pagination.js +1 -1
  236. package/dist/components/sd-popover.js +1 -1
  237. package/dist/components/sd-portal.js +1 -1
  238. package/dist/components/sd-progress.js +1 -1
  239. package/dist/components/sd-radio-button.d.ts +11 -0
  240. package/dist/components/sd-radio-button.js +1 -0
  241. package/dist/components/sd-radio-group.js +1 -1
  242. package/dist/components/sd-radio.js +1 -1
  243. package/dist/components/sd-select-dropdown.js +1 -1
  244. package/dist/components/sd-select-group.js +1 -1
  245. package/dist/components/sd-select-multiple-group.js +1 -1
  246. package/dist/components/sd-select-multiple.js +1 -1
  247. package/dist/components/sd-select-option-group.js +1 -1
  248. package/dist/components/sd-select-option.js +1 -1
  249. package/dist/components/sd-select-search-input.js +1 -1
  250. package/dist/components/sd-select-v2-list-item-search.js +1 -1
  251. package/dist/components/sd-select-v2-list-item.js +1 -1
  252. package/dist/components/sd-select-v2-listbox.js +1 -1
  253. package/dist/components/sd-select-v2-trigger.js +1 -1
  254. package/dist/components/sd-select-v2.js +1 -1
  255. package/dist/components/sd-select.js +1 -1
  256. package/dist/components/sd-switch.d.ts +11 -0
  257. package/dist/components/sd-switch.js +1 -0
  258. package/dist/components/sd-table.js +1 -1
  259. package/dist/components/sd-tabs.js +1 -1
  260. package/dist/components/sd-tag.js +1 -1
  261. package/dist/components/sd-tbody.d.ts +11 -0
  262. package/dist/components/sd-tbody.js +1 -0
  263. package/dist/components/sd-td.d.ts +11 -0
  264. package/dist/components/sd-td.js +1 -0
  265. package/dist/components/sd-text-link.js +1 -1
  266. package/dist/components/sd-textarea.js +1 -1
  267. package/dist/components/sd-thead.d.ts +11 -0
  268. package/dist/components/sd-thead.js +1 -0
  269. package/dist/components/sd-toast-container.js +1 -1
  270. package/dist/components/sd-toast.js +1 -1
  271. package/dist/components/sd-toggle.js +1 -1
  272. package/dist/components/sd-tooltip.js +1 -1
  273. package/dist/components/sd-tr.d.ts +11 -0
  274. package/dist/components/sd-tr.js +1 -0
  275. package/dist/components/table-test.d.ts +11 -0
  276. package/dist/components/table-test.js +1 -0
  277. package/dist/design-system/design-system.css +1 -1
  278. package/dist/design-system/design-system.esm.js +1 -1
  279. package/dist/design-system/index.esm.js +1 -1
  280. package/dist/design-system/p-03099a57.entry.js +1 -0
  281. package/dist/design-system/p-04be87a4.entry.js +1 -0
  282. package/dist/design-system/{p-e9c28bdc.entry.js → p-09ba9dbc.entry.js} +1 -1
  283. package/dist/design-system/p-0ca594a4.entry.js +1 -0
  284. package/dist/design-system/p-0fbb6d92.entry.js +1 -0
  285. package/dist/design-system/p-12a03c88.entry.js +1 -0
  286. package/dist/design-system/p-15cda79c.entry.js +1 -0
  287. package/dist/design-system/p-1b9e427e.entry.js +1 -0
  288. package/dist/design-system/p-1cbe4b22.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-2f64dd95.entry.js +1 -0
  291. package/dist/design-system/p-33e4ce64.entry.js +1 -0
  292. package/dist/design-system/{p-14b67a6e.entry.js → p-363da5ff.entry.js} +1 -1
  293. package/dist/design-system/p-3d341993.entry.js +1 -0
  294. package/dist/design-system/p-3f79f1d1.entry.js +1 -0
  295. package/dist/design-system/{p-c59191d3.entry.js → p-40495e05.entry.js} +1 -1
  296. package/dist/design-system/p-4128c17f.entry.js +1 -0
  297. package/dist/design-system/{p-614c9883.entry.js → p-4a53d7b0.entry.js} +1 -1
  298. package/dist/design-system/{p-9ae589c4.entry.js → p-4dcadde3.entry.js} +1 -1
  299. package/dist/design-system/{p-62992b73.entry.js → p-53bc77f8.entry.js} +1 -1
  300. package/dist/design-system/{p-28058050.entry.js → p-5a63febd.entry.js} +1 -1
  301. package/dist/design-system/p-656acb07.entry.js +1 -0
  302. package/dist/design-system/{p-30055371.entry.js → p-6c71d7b7.entry.js} +1 -1
  303. package/dist/design-system/{p-7a18a52b.entry.js → p-73acee07.entry.js} +1 -1
  304. package/dist/design-system/p-748ece8e.entry.js +1 -0
  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-dee605b1.entry.js → p-9af7e19a.entry.js} +1 -1
  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-a24c3431.entry.js +1 -0
  316. package/dist/design-system/{p-3acd076e.entry.js → p-a27718c1.entry.js} +1 -1
  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-b60ae063.entry.js +1 -0
  321. package/dist/design-system/p-b6e02544.entry.js +1 -0
  322. package/dist/design-system/p-bYCOh35g.js +1 -0
  323. package/dist/design-system/{p-fa8b64c2.entry.js → p-c2f3470f.entry.js} +1 -1
  324. package/dist/design-system/{p-85e22acd.entry.js → p-c4e68815.entry.js} +1 -1
  325. package/dist/design-system/p-c98ed6ae.entry.js +1 -0
  326. package/dist/design-system/p-ca80379a.entry.js +1 -0
  327. package/dist/design-system/{p-5d2e8779.entry.js → p-d04551be.entry.js} +1 -1
  328. package/dist/design-system/p-e0f9e5b5.entry.js +1 -0
  329. package/dist/design-system/p-e1fdd540.entry.js +1 -0
  330. package/dist/design-system/{p-2bd887ca.entry.js → p-e33389b8.entry.js} +1 -1
  331. package/dist/design-system/p-e78faea6.entry.js +1 -0
  332. package/dist/design-system/p-e9f24d23.entry.js +1 -0
  333. package/dist/design-system/{p-00207f08.entry.js → p-ec79fefd.entry.js} +1 -1
  334. package/dist/design-system/{p-067b0b3c.entry.js → p-f3a60f61.entry.js} +1 -1
  335. package/dist/design-system/p-f9b9204d.entry.js +1 -0
  336. package/dist/design-system/{p-13fed1bd.entry.js → p-fd296c73.entry.js} +1 -1
  337. package/dist/design-system/p-sZMi_32I.js +1 -0
  338. package/dist/esm/{component.modal-mO5GcwI3.js → component.modal-DOXMJi-V.js} +14 -0
  339. package/dist/esm/constants-sZMi_32I.js +3 -0
  340. package/dist/esm/design-system.js +3 -4
  341. package/dist/esm/{index-DsU722JF.js → index-BqHL8W3c.js} +128 -10
  342. package/dist/esm/index.js +103 -33
  343. package/dist/esm/loader.js +3 -4
  344. package/dist/esm/sd-action-modal.entry.js +3 -3
  345. package/dist/esm/sd-badge.entry.js +2 -2
  346. package/dist/esm/sd-barcode-input.entry.js +3 -3
  347. package/dist/esm/sd-button-v2_2.entry.js +9 -8
  348. package/dist/esm/sd-button_4.entry.js +56 -18
  349. package/dist/esm/sd-calendar.entry.js +1 -1
  350. package/dist/esm/sd-card.entry.js +2 -2
  351. package/dist/esm/sd-checkbox.entry.js +30 -5
  352. package/dist/esm/sd-circle-progress.entry.js +69 -0
  353. package/dist/esm/sd-confirm-modal_2.entry.js +183 -0
  354. package/dist/esm/sd-date-box.entry.js +1 -1
  355. package/dist/esm/sd-date-picker-calendar.entry.js +3 -3
  356. package/dist/esm/sd-date-picker-trigger.entry.js +4 -4
  357. package/dist/esm/{sd-date-picker.config-C4i826lM.js → sd-date-picker.config-bYCOh35g.js} +3 -3
  358. package/dist/esm/sd-date-picker.entry.js +4 -4
  359. package/dist/esm/sd-date-range-picker-calendar.entry.js +3 -3
  360. package/dist/esm/sd-date-range-picker.entry.js +4 -4
  361. package/dist/esm/sd-dropdown-button.entry.js +10 -5
  362. package/dist/esm/sd-file-picker.entry.js +1 -1
  363. package/dist/esm/sd-form.entry.js +1 -1
  364. package/dist/esm/sd-ghost-button.entry.js +15 -6
  365. package/dist/esm/sd-guide.entry.js +2 -2
  366. package/dist/esm/sd-input_2.entry.js +7 -7
  367. package/dist/esm/sd-loading-container.entry.js +27 -0
  368. package/dist/esm/sd-modal-container.entry.js +45 -2
  369. package/dist/esm/sd-number-input.entry.js +5 -10
  370. package/dist/esm/{sd-select-v2.entry.js → sd-pagination_2.entry.js} +90 -5
  371. package/dist/esm/sd-popover.entry.js +4 -4
  372. package/dist/esm/sd-portal.entry.js +2 -2
  373. package/dist/esm/sd-progress.entry.js +3 -3
  374. package/dist/esm/sd-radio-button.entry.js +180 -0
  375. package/dist/esm/sd-radio-group.entry.js +1 -1
  376. package/dist/esm/sd-radio.entry.js +6 -6
  377. package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
  378. package/dist/esm/sd-select-group.entry.js +3 -3
  379. package/dist/esm/sd-select-multiple-group.entry.js +2 -2
  380. package/dist/esm/sd-select-multiple.entry.js +3 -3
  381. package/dist/esm/sd-select-option-group.entry.js +4 -4
  382. package/dist/esm/sd-select-v2-list-item_4.entry.js +656 -0
  383. package/dist/esm/sd-select.entry.js +177 -0
  384. package/dist/esm/sd-switch.entry.js +108 -0
  385. package/dist/esm/sd-table.entry.js +424 -651
  386. package/dist/esm/sd-tabs.entry.js +2 -2
  387. package/dist/esm/sd-tag.entry.js +6 -5
  388. package/dist/esm/sd-tbody.entry.js +64 -0
  389. package/dist/esm/sd-td.entry.js +56 -0
  390. package/dist/esm/sd-text-link.entry.js +10 -12
  391. package/dist/esm/sd-textarea.entry.js +2 -2
  392. package/dist/esm/sd-thead.entry.js +177 -0
  393. package/dist/esm/sd-toast-container.entry.js +2 -2
  394. package/dist/esm/sd-toast.entry.js +3 -3
  395. package/dist/esm/sd-toggle.entry.js +96 -13
  396. package/dist/esm/sd-tr.entry.js +169 -0
  397. package/dist/esm/table-test.entry.js +94 -0
  398. package/dist/esm/{tooltipArrow-CJuzsrdH.js → tooltipArrow-BcsrQx1U.js} +1 -1
  399. package/dist/types/__mocks__/nanoid-non-secure.d.ts +2 -0
  400. package/dist/types/__mocks__/nanoid.d.ts +1 -0
  401. package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +1 -0
  402. package/dist/types/components/sd-checkbox/sd-checkbox.config.d.ts +3 -0
  403. package/dist/types/components/sd-checkbox/sd-checkbox.d.ts +2 -0
  404. package/dist/types/components/sd-circle-progress/sd-circle-progress.config.d.ts +9 -0
  405. package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +8 -0
  406. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +1 -0
  407. package/dist/types/components/sd-field/sd-field.config.d.ts +9 -0
  408. package/dist/types/components/sd-field/sd-field.d.ts +2 -0
  409. package/dist/types/components/sd-ghost-button/sd-ghost-button.config.d.ts +1 -1
  410. package/dist/types/components/sd-loading-container/sd-loading-container.config.d.ts +4 -0
  411. package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +8 -0
  412. package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +25 -0
  413. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +15 -0
  414. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +10 -0
  415. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -2
  416. package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +0 -1
  417. package/dist/types/components/sd-radio-button/sd-radio-button.config.d.ts +44 -0
  418. package/dist/types/components/{sd-radio-button-group/sd-radio-button-group.d.ts → sd-radio-button/sd-radio-button.d.ts} +4 -3
  419. package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +1 -0
  420. package/dist/types/components/sd-switch/sd-switch.config.d.ts +22 -0
  421. package/dist/types/components/{sd-toggle-button/sd-toggle-button.d.ts → sd-switch/sd-switch.d.ts} +2 -6
  422. package/dist/types/components/sd-table/constants.d.ts +44 -0
  423. package/dist/types/components/sd-table/sd-table.d.ts +103 -115
  424. package/dist/types/components/sd-table/sd-tbody/sd-tbody.d.ts +14 -0
  425. package/dist/types/components/sd-table/sd-td/sd-td.d.ts +12 -0
  426. package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +36 -0
  427. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +34 -0
  428. package/dist/types/components/sd-toggle/sd-toggle.config.d.ts +32 -0
  429. package/dist/types/components/sd-toggle/sd-toggle.d.ts +0 -3
  430. package/dist/types/components/table-test/table-test.d.ts +46 -0
  431. package/dist/types/components.d.ts +532 -141
  432. package/dist/types/index.d.ts +3 -1
  433. package/dist/types/utils/loading.d.ts +7 -0
  434. package/dist/types/utils/modal.d.ts +19 -3
  435. package/hydrate/index.js +2466 -965
  436. package/hydrate/index.mjs +2466 -965
  437. package/package.json +1 -1
  438. package/readme.md +1 -1
  439. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  440. package/dist/cjs/sd-confirm-modal.cjs.entry.js +0 -106
  441. package/dist/cjs/sd-loading-spinner_3.cjs.entry.js +0 -283
  442. package/dist/cjs/sd-radio-button-group.cjs.entry.js +0 -57
  443. package/dist/cjs/sd-select-v2-list-item_2.cjs.entry.js +0 -150
  444. package/dist/cjs/sd-select-v2-listbox_2.cjs.entry.js +0 -353
  445. package/dist/cjs/sd-select-v2.config-7xBJQhvx.js +0 -171
  446. package/dist/cjs/sd-toggle-button.cjs.entry.js +0 -49
  447. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.css +0 -44
  448. package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +0 -46
  449. package/dist/collection/components/sd-radio-button-group/sd-radio-button-group.css +0 -85
  450. package/dist/collection/components/sd-toggle-button/sd-toggle-button.css +0 -47
  451. package/dist/components/p-5OtzmjLh.js +0 -1
  452. package/dist/components/p-BFaIxm6b.js +0 -1
  453. package/dist/components/p-BP-QKaKz.js +0 -1
  454. package/dist/components/p-BSZadK9N.js +0 -1
  455. package/dist/components/p-BbtO5CEW.js +0 -1
  456. package/dist/components/p-BxPyZJaz.js +0 -1
  457. package/dist/components/p-C-qSDgVU.js +0 -1
  458. package/dist/components/p-C4i826lM.js +0 -1
  459. package/dist/components/p-CEa1HSpw.js +0 -1
  460. package/dist/components/p-CYRGa0VL.js +0 -1
  461. package/dist/components/p-ClgihpRm.js +0 -1
  462. package/dist/components/p-D-Y0-FQk.js +0 -1
  463. package/dist/components/p-D-pFdq6g.js +0 -1
  464. package/dist/components/p-DPipeCRI.js +0 -1
  465. package/dist/components/p-DSYw-7RA.js +0 -1
  466. package/dist/components/p-DXAB0k9r.js +0 -1
  467. package/dist/components/p-mO5GcwI3.js +0 -1
  468. package/dist/components/sd-loading-spinner.js +0 -1
  469. package/dist/components/sd-radio-button-group.js +0 -1
  470. package/dist/components/sd-toggle-button.js +0 -1
  471. package/dist/design-system/p-0e6f5a99.entry.js +0 -1
  472. package/dist/design-system/p-22a4972a.entry.js +0 -1
  473. package/dist/design-system/p-27df33c1.entry.js +0 -1
  474. package/dist/design-system/p-3ac6a626.entry.js +0 -1
  475. package/dist/design-system/p-6610c16b.entry.js +0 -1
  476. package/dist/design-system/p-739ac181.entry.js +0 -1
  477. package/dist/design-system/p-7dce4241.entry.js +0 -1
  478. package/dist/design-system/p-7e4c0a36.entry.js +0 -1
  479. package/dist/design-system/p-8b5b2866.entry.js +0 -1
  480. package/dist/design-system/p-90f51f65.entry.js +0 -1
  481. package/dist/design-system/p-C3eQSZx-.js +0 -1
  482. package/dist/design-system/p-C4i826lM.js +0 -1
  483. package/dist/design-system/p-DQuL1Twl.js +0 -1
  484. package/dist/design-system/p-DsU722JF.js +0 -2
  485. package/dist/design-system/p-a6bc8512.entry.js +0 -1
  486. package/dist/design-system/p-afeb740a.entry.js +0 -1
  487. package/dist/design-system/p-b3e0e6f4.entry.js +0 -1
  488. package/dist/design-system/p-ba90dc5f.entry.js +0 -1
  489. package/dist/design-system/p-bad88292.entry.js +0 -1
  490. package/dist/design-system/p-cbb5575d.entry.js +0 -1
  491. package/dist/design-system/p-ce6a0b0f.entry.js +0 -1
  492. package/dist/design-system/p-d07448fe.entry.js +0 -1
  493. package/dist/design-system/p-d1a94401.entry.js +0 -1
  494. package/dist/design-system/p-d5b5cfc7.entry.js +0 -1
  495. package/dist/design-system/p-d75e0dc0.entry.js +0 -1
  496. package/dist/design-system/p-e9ed9c00.entry.js +0 -1
  497. package/dist/design-system/p-f8567970.entry.js +0 -1
  498. package/dist/design-system/p-fa22f13c.entry.js +0 -1
  499. package/dist/design-system/p-fbac6160.entry.js +0 -1
  500. package/dist/design-system/p-mO5GcwI3.js +0 -1
  501. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  502. package/dist/esm/sd-confirm-modal.entry.js +0 -104
  503. package/dist/esm/sd-loading-spinner_3.entry.js +0 -279
  504. package/dist/esm/sd-radio-button-group.entry.js +0 -55
  505. package/dist/esm/sd-select-v2-list-item_2.entry.js +0 -147
  506. package/dist/esm/sd-select-v2-listbox_2.entry.js +0 -350
  507. package/dist/esm/sd-select-v2.config-C3eQSZx-.js +0 -158
  508. package/dist/esm/sd-toggle-button.entry.js +0 -47
  509. package/dist/types/components/sd-loading-spinner/sd-loading-spinner.d.ts +0 -5
@@ -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
  }
@@ -110,12 +110,12 @@ export class SdInput {
110
110
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
111
111
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
112
112
  };
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 () => {
113
+ return (h("sd-field", { key: 'a96aaa54fe54c9d9ee5ab31537e1b6fb7b612c8f', 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, 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: 'd806549d41156ab414d04664e6887075ef97f307', class: "sd-input__content" }, h("slot", { key: '29f447128f6211792742a252d1ea087b5a5b413e', name: "prefix" }), h("input", { key: 'e1870c7573268e97eac820d7508e134c13c32b40', 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: 'f12b87b5d30878a55e1224abf789b924c1fd3a0c', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (h("sd-ghost-button", { key: 'dad4be5dc6e8239dedc094fe0eb02a2587dd9f9c', icon: "close", ariaLabel: "close", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
114
114
  if (this.disabled)
115
115
  return;
116
116
  this.internalValue = '';
117
117
  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: () => {
118
+ } })), this.type === 'password' && (h("sd-ghost-button", { key: '71c5cf7565ad13f08173fc10e828ddf5f8f546b8', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
119
119
  if (this.disabled)
120
120
  return;
121
121
  this.passwordVisible = !this.passwordVisible;
@@ -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
+ }
@@ -0,0 +1,184 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { LOADING_MODAL_BUTTON_PRESET, LOADING_MODAL_COLORS, LOADING_MODAL_DEFAULT_BUTTON_LABEL, LOADING_MODAL_DEFAULT_MESSAGE, LOADING_MODAL_LAYOUT, LOADING_MODAL_TYPOGRAPHY, } from "./sd-loading-modal.config";
3
+ export class SdLoadingModal {
4
+ state = 'loading';
5
+ message = '';
6
+ buttonLabel = '';
7
+ width;
8
+ height;
9
+ click;
10
+ get resolvedMessage() {
11
+ return this.message || LOADING_MODAL_DEFAULT_MESSAGE[this.state];
12
+ }
13
+ get resolvedButtonLabel() {
14
+ return this.buttonLabel || LOADING_MODAL_DEFAULT_BUTTON_LABEL[this.state];
15
+ }
16
+ handleClick = () => {
17
+ this.click.emit();
18
+ };
19
+ toCssSize(value) {
20
+ if (value === undefined || value === null || value === '')
21
+ return undefined;
22
+ return typeof value === 'number' ? `${value}px` : value;
23
+ }
24
+ render() {
25
+ const cssVars = {
26
+ '--sd-loading-modal-min-width': `${LOADING_MODAL_LAYOUT.minWidth}px`,
27
+ '--sd-loading-modal-min-height': `${LOADING_MODAL_LAYOUT.minHeight}px`,
28
+ '--sd-loading-modal-gap': `${LOADING_MODAL_LAYOUT.gap}px`,
29
+ '--sd-loading-modal-content-size': `${LOADING_MODAL_LAYOUT.contentSize}px`,
30
+ '--sd-loading-modal-radius': `${LOADING_MODAL_LAYOUT.radius}px`,
31
+ '--sd-loading-modal-bg': LOADING_MODAL_COLORS.bg,
32
+ '--sd-loading-modal-message-color': LOADING_MODAL_COLORS.messageColor,
33
+ '--sd-loading-modal-message-font-family': LOADING_MODAL_TYPOGRAPHY.fontFamily,
34
+ '--sd-loading-modal-message-font-size': `${LOADING_MODAL_TYPOGRAPHY.fontSize}px`,
35
+ '--sd-loading-modal-message-font-weight': `${LOADING_MODAL_TYPOGRAPHY.fontWeight}`,
36
+ '--sd-loading-modal-message-line-height': `${LOADING_MODAL_TYPOGRAPHY.lineHeight}px`,
37
+ '--sd-loading-modal-error-color': LOADING_MODAL_COLORS.errorIcon,
38
+ };
39
+ const hostStyle = {
40
+ ...cssVars,
41
+ '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
42
+ '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
43
+ };
44
+ return (h(Host, { key: 'dcc53b3421a88970ce4ad8258285a896da0e400c', style: hostStyle }, h("div", { key: 'bb2319b861392c8a88587b7654f2c6227b226cc7', class: "sd-loading-modal" }, h("div", { key: 'f3064846c06d2cd1e9d2474dc16fe80773c4a8f7', class: "sd-loading-modal__content" }, this.state === 'loading' ? (h("sd-circle-progress", { indeterminate: true })) : (h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), h("p", { key: '932c71930b4484d652266f85556e7eb2195a81c9', class: "sd-loading-modal__message" }, this.resolvedMessage), h("div", { key: 'e06cfa7729b72f881789d573f38116ac5086e062', class: "sd-loading-modal__button" }, h("sd-button-v2", { key: '63684aa367e552df0e020ce4766d6c34c1361427', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick })))));
45
+ }
46
+ static get is() { return "sd-loading-modal"; }
47
+ static get originalStyleUrls() {
48
+ return {
49
+ "$": ["sd-loading-modal.scss"]
50
+ };
51
+ }
52
+ static get styleUrls() {
53
+ return {
54
+ "$": ["sd-loading-modal.css"]
55
+ };
56
+ }
57
+ static get properties() {
58
+ return {
59
+ "state": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "LoadingModalState",
64
+ "resolved": "\"error\" | \"loading\"",
65
+ "references": {
66
+ "LoadingModalState": {
67
+ "location": "import",
68
+ "path": "./sd-loading-modal.config",
69
+ "id": "src/components/sd-loading-modal/sd-loading-modal.config.ts::LoadingModalState",
70
+ "referenceLocation": "LoadingModalState"
71
+ }
72
+ }
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": ""
79
+ },
80
+ "getter": false,
81
+ "setter": false,
82
+ "reflect": true,
83
+ "attribute": "state",
84
+ "defaultValue": "'loading'"
85
+ },
86
+ "message": {
87
+ "type": "string",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "string",
91
+ "resolved": "string",
92
+ "references": {}
93
+ },
94
+ "required": false,
95
+ "optional": false,
96
+ "docs": {
97
+ "tags": [],
98
+ "text": ""
99
+ },
100
+ "getter": false,
101
+ "setter": false,
102
+ "reflect": false,
103
+ "attribute": "message",
104
+ "defaultValue": "''"
105
+ },
106
+ "buttonLabel": {
107
+ "type": "string",
108
+ "mutable": false,
109
+ "complexType": {
110
+ "original": "string",
111
+ "resolved": "string",
112
+ "references": {}
113
+ },
114
+ "required": false,
115
+ "optional": false,
116
+ "docs": {
117
+ "tags": [],
118
+ "text": ""
119
+ },
120
+ "getter": false,
121
+ "setter": false,
122
+ "reflect": false,
123
+ "attribute": "button-label",
124
+ "defaultValue": "''"
125
+ },
126
+ "width": {
127
+ "type": "any",
128
+ "mutable": false,
129
+ "complexType": {
130
+ "original": "string | number",
131
+ "resolved": "number | string | undefined",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": true,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": ""
139
+ },
140
+ "getter": false,
141
+ "setter": false,
142
+ "reflect": false,
143
+ "attribute": "width"
144
+ },
145
+ "height": {
146
+ "type": "any",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "string | number",
150
+ "resolved": "number | string | undefined",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": true,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": ""
158
+ },
159
+ "getter": false,
160
+ "setter": false,
161
+ "reflect": false,
162
+ "attribute": "height"
163
+ }
164
+ };
165
+ }
166
+ static get events() {
167
+ return [{
168
+ "method": "click",
169
+ "name": "sdClick",
170
+ "bubbles": true,
171
+ "cancelable": true,
172
+ "composed": true,
173
+ "docs": {
174
+ "tags": [],
175
+ "text": ""
176
+ },
177
+ "complexType": {
178
+ "original": "void",
179
+ "resolved": "void",
180
+ "references": {}
181
+ }
182
+ }];
183
+ }
184
+ }