@sellmate/design-system 1.0.67 → 1.0.69

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 (426) hide show
  1. package/dist/cjs/{component.textinput-C4SsDjA1.js → component.textinput-BpXDeZPD.js} +3 -2
  2. package/dist/cjs/design-system.cjs.js +2 -2
  3. package/dist/cjs/{index-BpT5VmKY.js → index-B2QvhbC3.js} +1 -1
  4. package/dist/cjs/index.cjs.js +36 -41
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/modal-stack-DucFLON7.js +112 -0
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +2 -2
  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 +3 -3
  11. package/dist/cjs/sd-button_4.cjs.entry.js +35 -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 +1 -1
  15. package/dist/cjs/sd-chip.cjs.entry.js +312 -0
  16. package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
  17. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -4
  18. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  19. package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +2 -2
  20. package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +3 -3
  21. package/dist/cjs/sd-date-picker.cjs.entry.js +4 -3
  22. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
  23. package/dist/cjs/sd-date-range-picker.cjs.entry.js +4 -3
  24. package/dist/cjs/sd-dropdown-button.cjs.entry.js +8 -19
  25. package/dist/cjs/sd-file-picker.cjs.entry.js +5 -4
  26. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  27. package/dist/cjs/sd-ghost-button.cjs.entry.js +6 -6
  28. package/dist/cjs/sd-guide.cjs.entry.js +167 -34
  29. package/dist/cjs/sd-input_2.cjs.entry.js +8 -7
  30. package/dist/cjs/sd-loading-container.cjs.entry.js +4 -4
  31. package/dist/cjs/sd-modal-container.cjs.entry.js +126 -155
  32. package/dist/cjs/sd-number-input.cjs.entry.js +5 -4
  33. package/dist/cjs/sd-pagination_2.cjs.entry.js +117 -42
  34. package/dist/cjs/sd-popover.cjs.entry.js +4 -4
  35. package/dist/cjs/sd-portal.cjs.entry.js +4 -4
  36. package/dist/cjs/sd-progress.cjs.entry.js +3 -3
  37. package/dist/cjs/sd-radio-button.cjs.entry.js +2 -2
  38. package/dist/cjs/sd-radio-group.cjs.entry.js +2 -2
  39. package/dist/cjs/sd-radio.cjs.entry.js +2 -2
  40. package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +4 -4
  41. package/dist/cjs/sd-select-group.cjs.entry.js +3 -2
  42. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +2 -2
  43. package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
  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 +12 -16
  46. package/dist/cjs/sd-select.cjs.entry.js +3 -2
  47. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  48. package/dist/cjs/sd-table.cjs.entry.js +6 -6
  49. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  50. package/dist/cjs/sd-tag.cjs.entry.js +3 -3
  51. package/dist/cjs/sd-tbody.cjs.entry.js +2 -2
  52. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  53. package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
  54. package/dist/cjs/sd-textarea.cjs.entry.js +4 -3
  55. package/dist/cjs/sd-thead.cjs.entry.js +4 -4
  56. package/dist/cjs/sd-toast-container.cjs.entry.js +3 -3
  57. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  58. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  59. package/dist/cjs/sd-tr.cjs.entry.js +3 -3
  60. package/dist/cjs/system-C89o3A9Z.js +16 -0
  61. package/dist/cjs/table-test.cjs.entry.js +2 -2
  62. package/dist/cjs/{tooltipArrow-C9i0ZsG_.js → tooltipArrow-Xkv-p1bY.js} +1 -1
  63. package/dist/collection/collection-manifest.json +2 -1
  64. package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
  65. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  66. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +29 -1
  67. package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
  68. package/dist/collection/components/sd-card/sd-card.js +1 -1
  69. package/dist/collection/components/sd-chip/sd-chip.config.js +37 -0
  70. package/dist/collection/components/sd-chip/sd-chip.css +56 -0
  71. package/dist/collection/components/sd-chip/sd-chip.js +544 -0
  72. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  73. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
  74. package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
  75. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  76. package/dist/collection/components/sd-date-picker/sd-date-picker.js +30 -2
  77. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  78. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +30 -2
  79. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
  80. package/dist/collection/components/sd-field/sd-field.config.js +5 -0
  81. package/dist/collection/components/sd-field/sd-field.css +4 -0
  82. package/dist/collection/components/sd-field/sd-field.js +39 -5
  83. package/dist/collection/components/sd-file-picker/sd-file-picker.css +1 -1
  84. package/dist/collection/components/sd-file-picker/sd-file-picker.js +30 -2
  85. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +12 -8
  86. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +5 -5
  87. package/dist/collection/components/sd-guide/sd-guide.config.js +48 -0
  88. package/dist/collection/components/sd-guide/sd-guide.css +58 -29
  89. package/dist/collection/components/sd-guide/sd-guide.js +69 -40
  90. package/dist/collection/components/sd-input/sd-input.js +30 -2
  91. package/dist/collection/components/sd-loading-container/sd-loading-container.config.js +1 -1
  92. package/dist/collection/components/sd-loading-container/sd-loading-container.css +1 -1
  93. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  94. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
  95. package/dist/collection/components/sd-modal-container/sd-modal-container.css +11 -10
  96. package/dist/collection/components/sd-modal-container/sd-modal-container.js +150 -164
  97. package/dist/collection/components/sd-number-input/sd-number-input.js +31 -3
  98. package/dist/collection/components/sd-pagination/sd-pagination.config.js +25 -0
  99. package/dist/collection/components/sd-pagination/sd-pagination.css +69 -53
  100. package/dist/collection/components/sd-pagination/sd-pagination.js +53 -37
  101. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  102. package/dist/collection/components/sd-portal/sd-portal.js +4 -4
  103. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  104. package/dist/collection/components/sd-radio/sd-radio.js +1 -1
  105. package/dist/collection/components/sd-radio-button/sd-radio-button.js +1 -1
  106. package/dist/collection/components/sd-radio-group/sd-radio-group.js +1 -1
  107. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
  108. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  109. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
  110. package/dist/collection/components/sd-select/sd-select.js +29 -1
  111. package/dist/collection/components/sd-select-group/sd-select-group.js +29 -1
  112. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
  113. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +1 -1
  114. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  115. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
  116. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +4 -4
  117. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +5 -5
  118. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +2 -2
  119. package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
  120. package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +0 -1
  121. package/dist/collection/components/sd-select-v2/sd-select-v2.js +31 -3
  122. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  123. package/dist/collection/components/sd-table/sd-table.js +5 -5
  124. package/dist/collection/components/sd-table/sd-table.stories.helpers.js +146 -0
  125. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
  126. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  127. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  128. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +2 -2
  129. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  130. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  131. package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
  132. package/dist/collection/components/sd-textarea/sd-textarea.js +29 -1
  133. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  134. package/dist/collection/components/sd-toast-container/sd-toast-container.config.js +1 -1
  135. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  136. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  137. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  138. package/dist/collection/components/table-test/table-test.js +1 -1
  139. package/dist/collection/utils/modal-stack.js +109 -0
  140. package/dist/collection/utils/modal.js +17 -23
  141. package/dist/components/index.js +1 -1
  142. package/dist/components/{p-DHh_uT9m.js → p-B1j9ZWLJ.js} +1 -1
  143. package/dist/components/{p-DPJPXCqf.js → p-BBluw-CU.js} +1 -1
  144. package/dist/components/{p-D74FHxKd.js → p-BFd54Imz.js} +1 -1
  145. package/dist/components/{p-IbLrnrk8.js → p-BJshZele.js} +1 -1
  146. package/dist/components/p-BaHpEtbz.js +1 -0
  147. package/dist/components/{p-DZJZLfsh.js → p-BlqLear7.js} +1 -1
  148. package/dist/components/{p-CJwbBrt5.js → p-ByhWX2NK.js} +1 -1
  149. package/dist/components/{p-ByYIyCZY.js → p-BylHC3lv.js} +1 -1
  150. package/dist/components/p-C-txBx-h.js +1 -0
  151. package/dist/components/p-C0VkfKIA.js +1 -0
  152. package/dist/components/p-C4uWhzoG.js +1 -0
  153. package/dist/components/p-CEnwrYaY.js +1 -0
  154. package/dist/components/{p-DDOw5GBw.js → p-CLZ8NObl.js} +1 -1
  155. package/dist/components/{p-tZWFjQm2.js → p-COM91Bya.js} +1 -1
  156. package/dist/components/{p-BH4I7hqf.js → p-CS62OEXf.js} +1 -1
  157. package/dist/components/{p-iWu6aGXE.js → p-CX0V7awA.js} +1 -1
  158. package/dist/components/{p-DlsWuYWL.js → p-Cb1M05mf.js} +1 -1
  159. package/dist/{design-system/p-CRTx3YEe.js → components/p-Cj4NAUzE.js} +1 -1
  160. package/dist/components/{p-1iOCtFn5.js → p-CsPyZohK.js} +1 -1
  161. package/dist/components/{p-DhkPKN1J.js → p-CsVPC3FD.js} +1 -1
  162. package/dist/components/{p-tvysh3yO.js → p-Csfk-CtX.js} +1 -1
  163. package/dist/components/{p-DqYRbHxW.js → p-CtrDZYN5.js} +1 -1
  164. package/dist/components/p-D21iKAp7.js +1 -0
  165. package/dist/components/{p-cNJ6VOYI.js → p-D6C4-apu.js} +1 -1
  166. package/dist/components/p-D99-lhhk.js +1 -0
  167. package/dist/components/{p-V6yl4lMM.js → p-DGPGMB_Z.js} +1 -1
  168. package/dist/components/{p-CymMpTU-.js → p-DIro-Wat.js} +1 -1
  169. package/dist/components/{p-BstWg2vS.js → p-DPCj-bFr.js} +1 -1
  170. package/dist/components/p-DRVnqiWc.js +1 -0
  171. package/dist/components/p-D_lyw4rN.js +1 -0
  172. package/dist/components/{p-DL69hClF.js → p-Diis5oCN.js} +1 -1
  173. package/dist/components/{p-BRRvU4ZQ.js → p-DlkxQ9Jn.js} +1 -1
  174. package/dist/components/{p-Ds4UCVE1.js → p-DoSEK0_q.js} +1 -1
  175. package/dist/components/p-DukibDDA.js +1 -0
  176. package/dist/components/{p-hN9rpxkR.js → p-T5BGXHZg.js} +1 -1
  177. package/dist/components/{p-BF4hokOY.js → p-YgnF5oje.js} +1 -1
  178. package/dist/components/{p-CX2EDIQM.js → p-z9MoRjYX.js} +1 -1
  179. package/dist/components/sd-action-modal.js +1 -1
  180. package/dist/components/sd-badge.js +1 -1
  181. package/dist/components/sd-barcode-input.js +1 -1
  182. package/dist/components/sd-button-v2.js +1 -1
  183. package/dist/components/sd-button.js +1 -1
  184. package/dist/components/sd-calendar.js +1 -1
  185. package/dist/components/sd-card.js +1 -1
  186. package/dist/components/sd-checkbox.js +1 -1
  187. package/dist/components/sd-chip.d.ts +11 -0
  188. package/dist/components/sd-chip.js +1 -0
  189. package/dist/components/sd-circle-progress.js +1 -1
  190. package/dist/components/sd-confirm-modal.js +1 -1
  191. package/dist/components/sd-date-box.js +1 -1
  192. package/dist/components/sd-date-picker-calendar.js +1 -1
  193. package/dist/components/sd-date-picker-trigger.js +1 -1
  194. package/dist/components/sd-date-picker.js +1 -1
  195. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  196. package/dist/components/sd-date-range-picker.js +1 -1
  197. package/dist/components/sd-dropdown-button.js +1 -1
  198. package/dist/components/sd-field.js +1 -1
  199. package/dist/components/sd-file-picker.js +1 -1
  200. package/dist/components/sd-floating-portal.js +1 -1
  201. package/dist/components/sd-form.js +1 -1
  202. package/dist/components/sd-ghost-button.js +1 -1
  203. package/dist/components/sd-guide.js +1 -1
  204. package/dist/components/sd-icon.js +1 -1
  205. package/dist/components/sd-input.js +1 -1
  206. package/dist/components/sd-loading-container.js +1 -1
  207. package/dist/components/sd-loading-modal.js +1 -1
  208. package/dist/components/sd-modal-container.js +1 -1
  209. package/dist/components/sd-number-input.js +1 -1
  210. package/dist/components/sd-pagination.js +1 -1
  211. package/dist/components/sd-popover.js +1 -1
  212. package/dist/components/sd-portal.js +1 -1
  213. package/dist/components/sd-progress.js +1 -1
  214. package/dist/components/sd-radio-button.js +1 -1
  215. package/dist/components/sd-radio-group.js +1 -1
  216. package/dist/components/sd-radio.js +1 -1
  217. package/dist/components/sd-select-dropdown.js +1 -1
  218. package/dist/components/sd-select-group.js +1 -1
  219. package/dist/components/sd-select-multiple-group.js +1 -1
  220. package/dist/components/sd-select-multiple.js +1 -1
  221. package/dist/components/sd-select-option-group.js +1 -1
  222. package/dist/components/sd-select-option.js +1 -1
  223. package/dist/components/sd-select-search-input.js +1 -1
  224. package/dist/components/sd-select-v2-list-item-search.js +1 -1
  225. package/dist/components/sd-select-v2-list-item.js +1 -1
  226. package/dist/components/sd-select-v2-listbox.js +1 -1
  227. package/dist/components/sd-select-v2-trigger.js +1 -1
  228. package/dist/components/sd-select-v2.js +1 -1
  229. package/dist/components/sd-select.js +1 -1
  230. package/dist/components/sd-switch.js +1 -1
  231. package/dist/components/sd-table.js +1 -1
  232. package/dist/components/sd-tabs.js +1 -1
  233. package/dist/components/sd-tag.js +1 -1
  234. package/dist/components/sd-tbody.js +1 -1
  235. package/dist/components/sd-td.js +1 -1
  236. package/dist/components/sd-text-link.js +1 -1
  237. package/dist/components/sd-textarea.js +1 -1
  238. package/dist/components/sd-thead.js +1 -1
  239. package/dist/components/sd-toast-container.js +1 -1
  240. package/dist/components/sd-toast.js +1 -1
  241. package/dist/components/sd-toggle.js +1 -1
  242. package/dist/components/sd-tooltip.js +1 -1
  243. package/dist/components/sd-tr.js +1 -1
  244. package/dist/components/table-test.js +1 -1
  245. package/dist/design-system/design-system.css +1 -1
  246. package/dist/design-system/design-system.esm.js +1 -1
  247. package/dist/design-system/index.esm.js +1 -1
  248. package/dist/design-system/{p-c44ba991.entry.js → p-002e10ac.entry.js} +1 -1
  249. package/dist/design-system/p-01ac7743.entry.js +1 -0
  250. package/dist/design-system/p-06080355.entry.js +1 -0
  251. package/dist/design-system/p-0929f910.entry.js +1 -0
  252. package/dist/design-system/{p-b2b5b2d3.entry.js → p-0b216b11.entry.js} +1 -1
  253. package/dist/design-system/{p-5b2486c9.entry.js → p-0bffdbf4.entry.js} +1 -1
  254. package/dist/design-system/{p-5224553e.entry.js → p-0d485537.entry.js} +1 -1
  255. package/dist/design-system/p-1389a68e.entry.js +1 -0
  256. package/dist/design-system/{p-aebf903f.entry.js → p-1a455448.entry.js} +1 -1
  257. package/dist/design-system/{p-10763304.entry.js → p-1b8e63a6.entry.js} +1 -1
  258. package/dist/design-system/{p-525aefd5.entry.js → p-23c31074.entry.js} +1 -1
  259. package/dist/design-system/{p-87a23bd0.entry.js → p-2a4b6bc7.entry.js} +1 -1
  260. package/dist/design-system/{p-fa1072f7.entry.js → p-308c2a72.entry.js} +1 -1
  261. package/dist/design-system/p-35b29182.entry.js +1 -0
  262. package/dist/design-system/{p-9e0b944f.entry.js → p-449e58ee.entry.js} +1 -1
  263. package/dist/design-system/{p-73383b2f.entry.js → p-48f1f9ff.entry.js} +1 -1
  264. package/dist/design-system/{p-504fdb4e.entry.js → p-4d434794.entry.js} +1 -1
  265. package/dist/design-system/p-4de3b6b1.entry.js +1 -0
  266. package/dist/design-system/p-4f9f25a1.entry.js +1 -0
  267. package/dist/design-system/p-5442b4b4.entry.js +1 -0
  268. package/dist/design-system/{p-40371bf6.entry.js → p-59aa62ff.entry.js} +1 -1
  269. package/dist/design-system/{p-7b433296.entry.js → p-5a0b0a1b.entry.js} +1 -1
  270. package/dist/design-system/p-609b3748.entry.js +1 -0
  271. package/dist/design-system/p-60ece09d.entry.js +1 -0
  272. package/dist/design-system/{p-10ed0768.entry.js → p-641c2f3d.entry.js} +1 -1
  273. package/dist/design-system/{p-2841d5e1.entry.js → p-64a56a4e.entry.js} +1 -1
  274. package/dist/design-system/{p-dff0060e.entry.js → p-6b2f6efb.entry.js} +1 -1
  275. package/dist/design-system/{p-e1202ad3.entry.js → p-6b478f5c.entry.js} +1 -1
  276. package/dist/design-system/{p-337267a7.entry.js → p-6ef2d08f.entry.js} +1 -1
  277. package/dist/design-system/{p-51fcc29f.entry.js → p-703eee55.entry.js} +1 -1
  278. package/dist/design-system/p-71897864.entry.js +1 -0
  279. package/dist/design-system/p-731429da.entry.js +1 -0
  280. package/dist/design-system/p-75c5e31b.entry.js +1 -0
  281. package/dist/design-system/{p-768efd5a.entry.js → p-7dd8beba.entry.js} +1 -1
  282. package/dist/design-system/{p-348eff76.entry.js → p-7ef0c428.entry.js} +1 -1
  283. package/dist/design-system/p-87222184.entry.js +1 -0
  284. package/dist/design-system/p-8cd1b533.entry.js +1 -0
  285. package/dist/design-system/{p-f9559741.entry.js → p-92a52f89.entry.js} +1 -1
  286. package/dist/design-system/{p-19257b97.entry.js → p-95d96917.entry.js} +1 -1
  287. package/dist/design-system/p-9dd7befe.entry.js +1 -0
  288. package/dist/design-system/{p-fb7e8c54.entry.js → p-9ecde011.entry.js} +1 -1
  289. package/dist/design-system/{p-b4e56b67.entry.js → p-9f0fe1f6.entry.js} +1 -1
  290. package/dist/design-system/p-BGyJgVXm.js +2 -0
  291. package/dist/design-system/{p-CJwbBrt5.js → p-ByhWX2NK.js} +1 -1
  292. package/dist/design-system/p-C-txBx-h.js +1 -0
  293. package/dist/design-system/p-C4tHYnB4.js +1 -0
  294. package/dist/design-system/p-DRVnqiWc.js +1 -0
  295. package/dist/design-system/p-a7ef7465.entry.js +1 -0
  296. package/dist/design-system/p-ac9f7551.entry.js +1 -0
  297. package/dist/design-system/{p-513d85e1.entry.js → p-ade9319d.entry.js} +1 -1
  298. package/dist/design-system/{p-671a9ca8.entry.js → p-aeadfb9c.entry.js} +1 -1
  299. package/dist/design-system/p-b3d959b0.entry.js +1 -0
  300. package/dist/design-system/{p-b6e7b8c8.entry.js → p-cdedac3c.entry.js} +1 -1
  301. package/dist/design-system/{p-5982bcd0.entry.js → p-d43772c0.entry.js} +1 -1
  302. package/dist/design-system/p-d668fd71.entry.js +1 -0
  303. package/dist/design-system/{p-c6d2f909.entry.js → p-dfa716e0.entry.js} +1 -1
  304. package/dist/design-system/{p-a66529a5.entry.js → p-e1288299.entry.js} +1 -1
  305. package/dist/design-system/p-e3a1e677.entry.js +1 -0
  306. package/dist/design-system/{p-e385cbf4.entry.js → p-fa888a37.entry.js} +1 -1
  307. package/dist/esm/{component.textinput-CJwbBrt5.js → component.textinput-ByhWX2NK.js} +3 -2
  308. package/dist/esm/design-system.js +3 -3
  309. package/dist/esm/{index-Dcpqhs6V.js → index-BGyJgVXm.js} +1 -1
  310. package/dist/esm/index.js +36 -41
  311. package/dist/esm/loader.js +3 -3
  312. package/dist/esm/modal-stack-DRVnqiWc.js +105 -0
  313. package/dist/esm/sd-action-modal.entry.js +2 -2
  314. package/dist/esm/sd-badge.entry.js +2 -2
  315. package/dist/esm/sd-barcode-input.entry.js +4 -3
  316. package/dist/esm/sd-button-v2_2.entry.js +3 -3
  317. package/dist/esm/sd-button_4.entry.js +35 -18
  318. package/dist/esm/sd-calendar.entry.js +1 -1
  319. package/dist/esm/sd-card.entry.js +2 -2
  320. package/dist/esm/sd-checkbox.entry.js +1 -1
  321. package/dist/esm/sd-chip.entry.js +310 -0
  322. package/dist/esm/sd-circle-progress.entry.js +2 -2
  323. package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
  324. package/dist/esm/sd-date-box.entry.js +1 -1
  325. package/dist/esm/sd-date-picker-calendar.entry.js +2 -2
  326. package/dist/esm/sd-date-picker-trigger.entry.js +3 -3
  327. package/dist/esm/sd-date-picker.entry.js +4 -3
  328. package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
  329. package/dist/esm/sd-date-range-picker.entry.js +4 -3
  330. package/dist/esm/sd-dropdown-button.entry.js +5 -16
  331. package/dist/esm/sd-file-picker.entry.js +5 -4
  332. package/dist/esm/sd-form.entry.js +1 -1
  333. package/dist/esm/sd-ghost-button.entry.js +6 -6
  334. package/dist/esm/sd-guide.entry.js +167 -34
  335. package/dist/esm/sd-input_2.entry.js +8 -7
  336. package/dist/esm/sd-loading-container.entry.js +4 -4
  337. package/dist/esm/sd-modal-container.entry.js +126 -155
  338. package/dist/esm/sd-number-input.entry.js +5 -4
  339. package/dist/esm/sd-pagination_2.entry.js +117 -42
  340. package/dist/esm/sd-popover.entry.js +4 -4
  341. package/dist/esm/sd-portal.entry.js +4 -4
  342. package/dist/esm/sd-progress.entry.js +3 -3
  343. package/dist/esm/sd-radio-button.entry.js +2 -2
  344. package/dist/esm/sd-radio-group.entry.js +2 -2
  345. package/dist/esm/sd-radio.entry.js +2 -2
  346. package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
  347. package/dist/esm/sd-select-group.entry.js +3 -2
  348. package/dist/esm/sd-select-multiple-group.entry.js +2 -2
  349. package/dist/esm/sd-select-multiple.entry.js +2 -2
  350. package/dist/esm/sd-select-option-group.entry.js +4 -4
  351. package/dist/esm/sd-select-v2-list-item_4.entry.js +12 -16
  352. package/dist/esm/sd-select.entry.js +3 -2
  353. package/dist/esm/sd-switch.entry.js +2 -2
  354. package/dist/esm/sd-table.entry.js +6 -6
  355. package/dist/esm/sd-tabs.entry.js +2 -2
  356. package/dist/esm/sd-tag.entry.js +3 -3
  357. package/dist/esm/sd-tbody.entry.js +2 -2
  358. package/dist/esm/sd-td.entry.js +2 -2
  359. package/dist/esm/sd-text-link.entry.js +4 -4
  360. package/dist/esm/sd-textarea.entry.js +4 -3
  361. package/dist/esm/sd-thead.entry.js +4 -4
  362. package/dist/esm/sd-toast-container.entry.js +3 -3
  363. package/dist/esm/sd-toast.entry.js +3 -3
  364. package/dist/esm/sd-toggle.entry.js +2 -2
  365. package/dist/esm/sd-tr.entry.js +3 -3
  366. package/dist/esm/system-C-txBx-h.js +14 -0
  367. package/dist/esm/table-test.entry.js +2 -2
  368. package/dist/esm/{tooltipArrow-fP-ISMAm.js → tooltipArrow-BAjP9_Hx.js} +1 -1
  369. package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +2 -0
  370. package/dist/types/components/sd-chip/sd-chip.config.d.ts +36 -0
  371. package/dist/types/components/sd-chip/sd-chip.d.ts +47 -0
  372. package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +2 -0
  373. package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +2 -0
  374. package/dist/types/components/sd-field/sd-field.config.d.ts +2 -0
  375. package/dist/types/components/sd-field/sd-field.d.ts +2 -1
  376. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +2 -0
  377. package/dist/types/components/sd-guide/sd-guide.config.d.ts +44 -0
  378. package/dist/types/components/sd-guide/sd-guide.d.ts +3 -4
  379. package/dist/types/components/sd-input/sd-input.d.ts +2 -0
  380. package/dist/types/components/sd-loading-container/sd-loading-container.config.d.ts +1 -1
  381. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +12 -16
  382. package/dist/types/components/sd-number-input/sd-number-input.d.ts +2 -0
  383. package/dist/types/components/sd-pagination/sd-pagination.config.d.ts +23 -0
  384. package/dist/types/components/sd-pagination/sd-pagination.d.ts +3 -3
  385. package/dist/types/components/sd-select/sd-select.d.ts +2 -0
  386. package/dist/types/components/sd-select-group/sd-select-group.d.ts +2 -0
  387. package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +0 -1
  388. package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +2 -0
  389. package/dist/types/components/sd-table/sd-table.stories.helpers.d.ts +29 -0
  390. package/dist/types/components/sd-textarea/sd-textarea.d.ts +2 -0
  391. package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +1 -1
  392. package/dist/types/components.d.ts +226 -18
  393. package/dist/types/utils/modal-stack.d.ts +17 -0
  394. package/hydrate/index.js +1000 -358
  395. package/hydrate/index.mjs +1000 -358
  396. package/package.json +1 -1
  397. package/dist/components/p-B_7ozne7.js +0 -1
  398. package/dist/components/p-BsPBl6g5.js +0 -1
  399. package/dist/components/p-BuSniZ67.js +0 -1
  400. package/dist/components/p-C02KLCcO.js +0 -1
  401. package/dist/components/p-CCHce_Dt.js +0 -1
  402. package/dist/components/p-CkMs7IA8.js +0 -1
  403. package/dist/components/p-DLeCo2gh.js +0 -1
  404. package/dist/components/p-DNVUhw5A.js +0 -1
  405. package/dist/components/p-UR2Cf2Sm.js +0 -1
  406. package/dist/design-system/p-1645da95.entry.js +0 -1
  407. package/dist/design-system/p-244d2d6e.entry.js +0 -1
  408. package/dist/design-system/p-298d9b57.entry.js +0 -1
  409. package/dist/design-system/p-2edd355b.entry.js +0 -1
  410. package/dist/design-system/p-3b8595de.entry.js +0 -1
  411. package/dist/design-system/p-3bbf23b4.entry.js +0 -1
  412. package/dist/design-system/p-4c55ba79.entry.js +0 -1
  413. package/dist/design-system/p-6e9d6063.entry.js +0 -1
  414. package/dist/design-system/p-6eb3462d.entry.js +0 -1
  415. package/dist/design-system/p-7cf63a80.entry.js +0 -1
  416. package/dist/design-system/p-7fe09661.entry.js +0 -1
  417. package/dist/design-system/p-87b2c270.entry.js +0 -1
  418. package/dist/design-system/p-9925857c.entry.js +0 -1
  419. package/dist/design-system/p-9cb3be8c.entry.js +0 -1
  420. package/dist/design-system/p-Dcpqhs6V.js +0 -2
  421. package/dist/design-system/p-b56ae914.entry.js +0 -1
  422. package/dist/design-system/p-d263d476.entry.js +0 -1
  423. package/dist/design-system/p-e1c17466.entry.js +0 -1
  424. package/dist/design-system/p-e232fb11.entry.js +0 -1
  425. package/dist/design-system/p-e474fa8c.entry.js +0 -1
  426. package/dist/design-system/p-e9d36c02.entry.js +0 -1
@@ -1,55 +1,83 @@
1
1
  import { h } from "@stencil/core";
2
- const GUIDE_LABEL = {
3
- help: '활용 TIP',
4
- pdf: 'PDF Guide',
5
- youtube: 'Video Guide',
2
+ import { GUIDE_CONFIG } from "./sd-guide.config";
3
+ const DEFAULT_LABEL_BY_TYPE = {
4
+ tip: '활용 TIP',
6
5
  notion: '사용법 안내',
7
- event: 'Event Button',
8
6
  };
9
- const GUIDE_ICON = {
10
- help: {
11
- name: 'helpOutline',
12
- size: 20,
13
- color: 'green_75',
14
- },
15
- pdf: { name: 'pdf', size: 20, color: 'red_75' },
16
- youtube: { name: 'youtube', size: 20, color: 'red_75' },
17
- notion: { name: 'notion', size: 16, color: 'black' },
18
- event: { name: 'event', size: 16, color: 'brilliantblue_70' },
7
+ const ICON_BY_TYPE = {
8
+ tip: 'helpOutline',
9
+ notion: 'notion',
19
10
  };
20
11
  export class SdGuide {
21
12
  el;
22
- type = 'help';
13
+ type = 'tip';
23
14
  label = '';
24
15
  message = '';
25
- guideUrl = '';
16
+ url = '';
26
17
  popupTitle = '';
27
18
  popupWidth;
28
19
  popupShow = false;
29
20
  guideRef;
30
21
  handleClickGuide = () => {
31
- if (this.type === 'help') {
32
- this.popupShow = !this.popupShow;
22
+ if (this.type === 'notion') {
23
+ if (this.url) {
24
+ window.open(this.url, '_blank', 'noopener,noreferrer');
25
+ }
33
26
  return;
34
27
  }
35
- if (this.guideUrl) {
36
- window.open(this.guideUrl, '_blank');
37
- }
28
+ this.popupShow = !this.popupShow;
38
29
  };
39
- get guideClass() {
40
- const classes = ['sd-guide', `sd-guide--${this.type}`];
41
- if (this.popupShow)
42
- classes.push('sd-guide--active');
43
- return classes.join(' ');
44
- }
45
30
  closeDropdown = () => {
46
31
  this.popupShow = false;
47
32
  };
33
+ get guideStyle() {
34
+ const { button, contents } = GUIDE_CONFIG;
35
+ return {
36
+ '--sd-guide-button-height': button.height,
37
+ '--sd-guide-button-padding-x': button.paddingX,
38
+ '--sd-guide-button-radius': button.radius,
39
+ '--sd-guide-button-gap': button.gap,
40
+ '--sd-guide-button-font-size': button.fontSize,
41
+ '--sd-guide-button-font-weight': button.fontWeight,
42
+ '--sd-guide-button-line-height': button.lineHeight,
43
+ '--sd-guide-button-border-width': button.borderWidth,
44
+ '--sd-guide-button-border-color': button.borderColor,
45
+ '--sd-guide-button-bg-default': button.bgDefault,
46
+ '--sd-guide-button-bg-tip': button.bgTip,
47
+ '--sd-guide-button-bg-notion': button.bgNotion,
48
+ '--sd-guide-button-text-default': button.textDefault,
49
+ '--sd-guide-button-text-active': button.textActive,
50
+ '--sd-guide-contents-padding-x': contents.paddingX,
51
+ '--sd-guide-contents-padding-y': contents.paddingY,
52
+ '--sd-guide-contents-gap': contents.gap,
53
+ '--sd-guide-contents-row-gap': contents.rowGap,
54
+ '--sd-guide-contents-body-gap': contents.bodyGap,
55
+ '--sd-guide-contents-title-gap': contents.titleGap,
56
+ '--sd-guide-contents-radius': contents.radius,
57
+ '--sd-guide-contents-title-font-size': contents.titleFontSize,
58
+ '--sd-guide-contents-title-font-weight': contents.titleFontWeight,
59
+ '--sd-guide-contents-title-line-height': contents.titleLineHeight,
60
+ '--sd-guide-contents-body-font-size': contents.bodyFontSize,
61
+ '--sd-guide-contents-body-font-weight': contents.bodyFontWeight,
62
+ '--sd-guide-contents-body-line-height': contents.bodyLineHeight,
63
+ '--sd-guide-contents-text-color': contents.textColor,
64
+ };
65
+ }
48
66
  render() {
49
- const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
50
- return (h("div", { key: '0f70d3686c37c029635c93a8ad8f937fb2ca73c2', class: "sd-guide", style: {
51
- '--sd-guide-color': GUIDE_ICON[this.type].color,
52
- } }, h("sd-button", { key: 'f07235cc53a908237af2f13a98f325340c83fd0e', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', label: this.label || GUIDE_LABEL[this.type], size: "sm", color: this.popupShow ? GUIDE_ICON[this.type].color : 'grey_45', icon: iconName, iconColor: this.popupShow ? 'white' : iconColor, iconSize: iconSize, noHover: this.popupShow, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (h("sd-portal", { key: '9c5ade0db41a02a343bb77bc1dcb44d12dba6c04', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: 'd59caf4107b678ce132accfe9f392c3cfa6b35f4', style: { position: 'absolute', width: '0px', height: '0px' } }, h("div", { key: '22aa97a939e27454dec067effc6911aea6ace2a4', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, h("sd-button", { key: '6bf404b6718bbd036acff51101538d967a2cd642', class: "sd-guide__popup__close", icon: "close", color: "grey_65", size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), h("div", { key: 'a63aa9263715f57f2e8bf977c4849f868803a704', class: "sd-guide__popup__header" }, h("sd-icon", { key: '8ba1969ada651d3226058bb9095ae8b794be1759', name: "helpOutline", size: 24, color: "green_65" }), h("h3", { key: '41dd2533e146eae12ee7367a243e819362597761', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), h("ul", { key: 'b45bfd9ff793f0c0860789d16c1c17fef2ad01d5', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
67
+ const { button, contents } = GUIDE_CONFIG;
68
+ const isActive = this.popupShow;
69
+ const isNotion = (this.type ?? 'tip') === 'notion';
70
+ const defaultLabel = DEFAULT_LABEL_BY_TYPE[this.type ?? 'tip'];
71
+ const iconName = ICON_BY_TYPE[this.type ?? 'tip'];
72
+ const buttonIconDefault = isNotion ? button.iconColorNotion : button.iconColorDefault;
73
+ const popupIconColor = isNotion ? contents.iconColorNotion : contents.iconColor;
74
+ const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
75
+ if (isActive)
76
+ buttonClasses.push('sd-guide__button--active');
77
+ return (h("div", { key: '4b9aa8bafd13828a4ec29d726f7276fab3042f2d', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: 'e3a17c594d111e95d0cb42dd8315174ccf4dd908', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), variant: isActive ? 'primary' : 'outline', label: this.label || defaultLabel, size: "sm", icon: iconName, iconColor: isActive ? button.iconColorActive : buttonIconDefault, iconSize: button.iconSize, noHover: isActive, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: 'b57b09779ec23220eb466f710d55e678c913fe24', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: 'e62ca3a49a4976861a3e485166c8376a71286aba', style: { position: 'absolute', width: '0px', height: '0px' } }, h("div", { key: '837625b5ab61bd9383cf5329bea66ceb97ef3bac', class: "sd-guide__popup", style: {
78
+ ...this.guideStyle,
79
+ width: this.popupWidth ? this.popupWidth + 'px' : '426px',
80
+ } }, h("sd-ghost-button", { key: '0e3057af64b47e20234269c0e2bf07664b8b3b13', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: '544e3508d232229b4d1edd82fdefa58457cc595a', class: "sd-guide__popup__header" }, h("sd-icon", { key: '234fb04df972a50fa8deb1cacc6e34fab678d27b', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: '454d5ee4cdfc2a343d64e79dc642a2aee07ed448', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '875d5f5587808e5189e77ca02e55e8d7be1125da', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
53
81
  }
54
82
  // 현재 2depth까지만 스타일 적용
55
83
  renderListItem(message, depth = 0) {
@@ -84,11 +112,12 @@ export class SdGuide {
84
112
  "mutable": false,
85
113
  "complexType": {
86
114
  "original": "GuideType",
87
- "resolved": "\"event\" | \"help\" | \"notion\" | \"pdf\" | \"youtube\"",
115
+ "resolved": "\"notion\" | \"tip\"",
88
116
  "references": {
89
117
  "GuideType": {
90
- "location": "global",
91
- "id": "global::GuideType"
118
+ "location": "local",
119
+ "path": "/Users/meijing/Documents/sellmate/frontend/design-system/packages/stencil/src/components/sd-guide/sd-guide.tsx",
120
+ "id": "src/components/sd-guide/sd-guide.tsx::GuideType"
92
121
  }
93
122
  }
94
123
  },
@@ -100,9 +129,9 @@ export class SdGuide {
100
129
  },
101
130
  "getter": false,
102
131
  "setter": false,
103
- "reflect": false,
132
+ "reflect": true,
104
133
  "attribute": "type",
105
- "defaultValue": "'help'"
134
+ "defaultValue": "'tip'"
106
135
  },
107
136
  "label": {
108
137
  "type": "string",
@@ -120,7 +149,7 @@ export class SdGuide {
120
149
  },
121
150
  "getter": false,
122
151
  "setter": false,
123
- "reflect": false,
152
+ "reflect": true,
124
153
  "attribute": "label",
125
154
  "defaultValue": "''"
126
155
  },
@@ -144,7 +173,7 @@ export class SdGuide {
144
173
  "attribute": "message",
145
174
  "defaultValue": "''"
146
175
  },
147
- "guideUrl": {
176
+ "url": {
148
177
  "type": "string",
149
178
  "mutable": false,
150
179
  "complexType": {
@@ -161,7 +190,7 @@ export class SdGuide {
161
190
  "getter": false,
162
191
  "setter": false,
163
192
  "reflect": false,
164
- "attribute": "guide-url",
193
+ "attribute": "url",
165
194
  "defaultValue": "''"
166
195
  },
167
196
  "popupTitle": {
@@ -7,6 +7,7 @@ export class SdInput {
7
7
  type = 'text';
8
8
  size = 'sm';
9
9
  addonLabel = '';
10
+ addonAlign = 'start';
10
11
  placeholder = '입력해 주세요.';
11
12
  disabled = false;
12
13
  clearable = false;
@@ -111,12 +112,12 @@ export class SdInput {
111
112
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
112
113
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
113
114
  };
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 () => {
115
+ return (h("sd-field", { key: '3b607f0075786647d48ce470d40745e4d5fdcdc1', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, 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: '02902d50bbc3275860e814a5d354e83eeed72373', class: "sd-input__content" }, h("slot", { key: '4fb6e53a98853c67e847cdd38b8ddbb606e3f0a1', name: "prefix" }), h("input", { key: '291841a908b8502790f09833f1a30dc56f24ff52', 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: '13e21f184a9dcee81a1b6d3c11b9137a0ac7203e', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (h("sd-ghost-button", { key: '4e708928b8465d6e8d5c1b6f4a983a9d8c1c8784', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
115
116
  if (this.disabled)
116
117
  return;
117
118
  this.internalValue = '';
118
119
  await this.formField?.sdValidate();
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: () => {
120
+ } })), this.type === 'password' && (h("sd-ghost-button", { key: 'cc87104d0c9ef69659041fe233b3e432b62ed0b8', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
120
121
  if (this.disabled)
121
122
  return;
122
123
  this.passwordVisible = !this.passwordVisible;
@@ -222,6 +223,33 @@ export class SdInput {
222
223
  "attribute": "addon-label",
223
224
  "defaultValue": "''"
224
225
  },
226
+ "addonAlign": {
227
+ "type": "string",
228
+ "mutable": false,
229
+ "complexType": {
230
+ "original": "FieldAddonAlign",
231
+ "resolved": "\"center\" | \"end\" | \"start\"",
232
+ "references": {
233
+ "FieldAddonAlign": {
234
+ "location": "import",
235
+ "path": "../sd-field/sd-field.config",
236
+ "id": "src/components/sd-field/sd-field.config.ts::FieldAddonAlign",
237
+ "referenceLocation": "FieldAddonAlign"
238
+ }
239
+ }
240
+ },
241
+ "required": false,
242
+ "optional": false,
243
+ "docs": {
244
+ "tags": [],
245
+ "text": ""
246
+ },
247
+ "getter": false,
248
+ "setter": false,
249
+ "reflect": false,
250
+ "attribute": "addon-align",
251
+ "defaultValue": "'start'"
252
+ },
225
253
  "placeholder": {
226
254
  "type": "string",
227
255
  "mutable": false,
@@ -1 +1 @@
1
- export const LOADING_CONTAINER_DEFAULT_Z_INDEX = 10000;
1
+ export const LOADING_CONTAINER_DEFAULT_Z_INDEX = 999;
@@ -4,7 +4,7 @@ sd-loading-container .sd-loading-container {
4
4
  display: flex;
5
5
  align-items: center;
6
6
  justify-content: center;
7
- z-index: var(--sd-loading-container-z-index, 10000);
7
+ z-index: var(--sd-loading-container-z-index, 999);
8
8
  opacity: 0;
9
9
  visibility: hidden;
10
10
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
@@ -10,10 +10,10 @@ export class SdLoadingContainer {
10
10
  this.visible = false;
11
11
  }
12
12
  render() {
13
- return (h("div", { key: 'e4578e196ebd4ee69d424fe85c9bf651bc3382f7', class: {
13
+ return (h("div", { key: '8236579ed01f703fb105576c2fd575b157b3aa76', class: {
14
14
  'sd-loading-container': true,
15
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)))));
16
+ }, "aria-hidden": this.visible ? 'false' : 'true' }, h("div", { key: '176473a839add91a86d207544e9cc5862b13d04f', class: "sd-loading-container__backdrop" }), h("div", { key: '2776ed326caa6870a79b94079ff6e778ee560b02', class: "sd-loading-container__content" }, h("sd-circle-progress", { key: '6977bfd46e06e9c13492a15b5081c98446770de5', indeterminate: true, type: "inverse" }), this.message && (h("p", { key: '7cea458c498a4682b1d4d5f07e059ed8e4905df0', class: "sd-loading-container__message" }, this.message)))));
17
17
  }
18
18
  static get is() { return "sd-loading-container"; }
19
19
  static get originalStyleUrls() {
@@ -42,7 +42,7 @@ export class SdLoadingModal {
42
42
  '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
43
43
  '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
44
44
  };
45
- return (h(Host, { key: '19735a93969986e8af39ae1dbe6b2373936e8304', style: hostStyle }, h("div", { key: 'd82512e430460c47619ce54ceab5961637e43bc0', class: "sd-loading-modal" }, h("div", { key: '265d697fe23e64366ce43ffc489c7c9a62c9a72c', 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: '17800ecf73823075c5efb694e244f986c07759be', class: "sd-loading-modal__message" }, this.resolvedMessage), this.useButton && (h("div", { key: '03b7d5599356974df47546e4256bd093a1a3c991', class: "sd-loading-modal__button" }, h("sd-button-v2", { key: '5dc71e51cc524a3dc01d7c020b763117718ec170', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
45
+ return (h(Host, { key: '8ecd5db2ffde201dd0c7d3c58b1da6b85b5a4116', style: hostStyle }, h("div", { key: '61f79b16b22d5ab4bb4dca03f88568174cfcfb1f', class: "sd-loading-modal" }, h("div", { key: 'bc373cfebab5949bee9c024bd86ca92d8294ff7b', 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: 'e9015b9c9813b1968c8ca7991d654761eb3ee9b3', class: "sd-loading-modal__message" }, this.resolvedMessage), this.useButton && (h("div", { key: '4ed941961611fe9533bd2b989c9b68ef6c7ca741', class: "sd-loading-modal__button" }, h("sd-button-v2", { key: '13f4c5ef5ad5285d846716e5dd72d9f2565c08f9', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
46
46
  }
47
47
  static get is() { return "sd-loading-modal"; }
48
48
  static get originalStyleUrls() {
@@ -4,10 +4,16 @@ sd-modal-container {
4
4
  sd-modal-container .sd-modal-container {
5
5
  position: fixed;
6
6
  inset: 0;
7
- z-index: var(--sd-modal-container-z-index, 9999);
7
+ z-index: var(--sd-modal-container-z-index, 997);
8
+ pointer-events: none;
9
+ }
10
+ sd-modal-container .sd-modal-container__layer {
11
+ position: absolute;
12
+ inset: 0;
8
13
  display: flex;
9
14
  align-items: center;
10
15
  justify-content: center;
16
+ pointer-events: none;
11
17
  }
12
18
  sd-modal-container .sd-modal-container__backdrop {
13
19
  position: absolute;
@@ -15,23 +21,18 @@ sd-modal-container .sd-modal-container__backdrop {
15
21
  background: rgba(0, 0, 0, 0.4);
16
22
  opacity: 0;
17
23
  transition: opacity 0.3s ease-out;
24
+ pointer-events: none;
18
25
  }
19
26
  sd-modal-container .sd-modal-container__backdrop--visible {
20
27
  opacity: 1;
28
+ pointer-events: auto;
21
29
  }
22
- sd-modal-container .sd-modal-container__content {
30
+ sd-modal-container .sd-modal-container__modal {
23
31
  position: relative;
24
32
  z-index: 1;
25
- display: grid;
26
- place-items: center;
27
- }
28
- sd-modal-container .sd-modal-container__content > * {
29
- grid-row: 1;
30
- grid-column: 1;
31
- }
32
- sd-modal-container .sd-modal-container__modal {
33
33
  opacity: 0;
34
34
  transform: scale(0);
35
+ pointer-events: auto;
35
36
  transition: opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
36
37
  }
37
38
  sd-modal-container .sd-modal-container__modal--visible {