@sellmate/design-system 1.9.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/dist/cjs/design-system.cjs.js +2 -2
  2. package/dist/cjs/{index-C63F8C0_.js → index-erbAlKp-.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
  5. package/dist/cjs/sd-badge.cjs.entry.js +2 -2
  6. package/dist/cjs/sd-barcode-input.cjs.entry.js +2 -2
  7. package/dist/cjs/{sd-button.config-WeoddlTQ.js → sd-button.config-eTAJM2iW.js} +17 -3
  8. package/dist/cjs/sd-button_2.cjs.entry.js +7 -6
  9. package/dist/cjs/sd-calendar_2.cjs.entry.js +6 -6
  10. package/dist/cjs/sd-callout.cjs.entry.js +2 -2
  11. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  12. package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-chip-input.cjs.entry.js +274 -0
  14. package/dist/cjs/sd-chip.cjs.entry.js +15 -85
  15. package/dist/cjs/sd-chip.config-DiLoRpct.js +71 -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_7.cjs.entry.js +10 -10
  20. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
  21. package/dist/cjs/sd-divider.cjs.entry.js +2 -2
  22. package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -6
  23. package/dist/cjs/sd-field_3.cjs.entry.js +11 -10
  24. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  25. package/dist/cjs/sd-ghost-button_2.cjs.entry.js +407 -0
  26. package/dist/cjs/sd-guide.cjs.entry.js +1 -1
  27. package/dist/cjs/sd-key-value-table.cjs.entry.js +1 -1
  28. package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
  29. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  30. package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
  31. package/dist/cjs/sd-pagination_4.cjs.entry.js +9 -9
  32. package/dist/cjs/sd-popover.cjs.entry.js +2 -2
  33. package/dist/cjs/sd-popup.cjs.entry.js +2 -2
  34. package/dist/cjs/sd-portal.cjs.entry.js +2 -2
  35. package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
  36. package/dist/cjs/sd-radio.cjs.entry.js +1 -1
  37. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +7 -7
  38. package/dist/cjs/sd-select_3.cjs.entry.js +9 -9
  39. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  40. package/dist/cjs/sd-table.cjs.entry.js +7 -7
  41. package/dist/cjs/sd-tabs.cjs.entry.js +19 -6
  42. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  43. package/dist/cjs/sd-text-link.cjs.entry.js +1 -1
  44. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  45. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  46. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  47. package/dist/cjs/{tooltipArrow-DONQ8MML.js → tooltipArrow-CYf_WBPN.js} +1 -1
  48. package/dist/collection/collection-manifest.json +1 -0
  49. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  50. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
  51. package/dist/collection/components/sd-button/sd-button.config.js +9 -1
  52. package/dist/collection/components/sd-button/sd-button.css +6 -5
  53. package/dist/collection/components/sd-button/sd-button.js +5 -4
  54. package/dist/collection/components/sd-calendar/sd-calendar.js +3 -3
  55. package/dist/collection/components/sd-callout/sd-callout.js +1 -1
  56. package/dist/collection/components/sd-card/sd-card.js +1 -1
  57. package/dist/collection/components/sd-chip/sd-chip.config.js +0 -1
  58. package/dist/collection/components/sd-chip/sd-chip.css +5 -0
  59. package/dist/collection/components/sd-chip/sd-chip.js +7 -5
  60. package/dist/collection/components/sd-chip-input/sd-chip-input.config.js +48 -0
  61. package/dist/collection/components/sd-chip-input/sd-chip-input.css +92 -0
  62. package/dist/collection/components/sd-chip-input/sd-chip-input.js +709 -0
  63. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  64. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
  65. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  66. package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
  67. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  68. package/dist/collection/components/sd-divider/sd-divider.js +1 -1
  69. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -2
  70. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +4 -0
  71. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +5 -3
  72. package/dist/collection/components/sd-field/sd-field.js +6 -5
  73. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  74. package/dist/collection/components/sd-ghost-button/sd-ghost-button.css +21 -0
  75. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +27 -2
  76. package/dist/collection/components/sd-input/sd-input.js +2 -2
  77. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  78. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  79. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
  80. package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
  81. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  82. package/dist/collection/components/sd-popup/sd-popup.js +1 -1
  83. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  84. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
  85. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  86. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
  87. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
  88. package/dist/collection/components/sd-select/sd-select.js +4 -4
  89. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  90. package/dist/collection/components/sd-table/sd-table.js +6 -6
  91. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  92. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  93. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  94. package/dist/collection/components/sd-tabs/sd-tabs.config.js +3 -1
  95. package/dist/collection/components/sd-tabs/sd-tabs.css +29 -2
  96. package/dist/collection/components/sd-tabs/sd-tabs.js +27 -2
  97. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  98. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  99. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  100. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  101. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  102. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  103. package/dist/components/index.js +1 -1
  104. package/dist/components/{p-PDLDFsH7.js → p-9S3tUKro.js} +1 -1
  105. package/dist/components/{p-C8MKSPNX.js → p-B-pYYTgJ.js} +1 -1
  106. package/dist/components/p-B0Aqa3rl.js +1 -0
  107. package/dist/components/{p-siTDlOb6.js → p-BFjxNqDj.js} +1 -1
  108. package/dist/components/p-Bc81OXqj.js +1 -0
  109. package/dist/components/p-Bd7NDNZR.js +1 -0
  110. package/dist/components/{p-Due8URWT.js → p-BdmCYhiG.js} +1 -1
  111. package/dist/components/{p-B8Z5qc_1.js → p-BkL6ut5U.js} +1 -1
  112. package/dist/components/p-BklUnzX5.js +1 -0
  113. package/dist/components/{p-BNkExhYB.js → p-BoXTUvyq.js} +1 -1
  114. package/dist/components/{p-CwUPCrDk.js → p-BzMV13Xr.js} +1 -1
  115. package/dist/components/{p-ipduET5U.js → p-C-0-0BCQ.js} +1 -1
  116. package/dist/components/{p-BnJJAhY6.js → p-C8vzShov.js} +1 -1
  117. package/dist/components/{p-DLNwV8Wa.js → p-C9pDOVrU.js} +1 -1
  118. package/dist/components/{p-BaOCZ7B6.js → p-CMVIH_LA.js} +1 -1
  119. package/dist/components/{p-C79Cowjq.js → p-CYJoJT1r.js} +1 -1
  120. package/dist/components/{p-CnCH_nnG.js → p-CZP1wFmE.js} +1 -1
  121. package/dist/components/{p-C2LhOf89.js → p-C_3H0ef6.js} +1 -1
  122. package/dist/components/{p-C_RL1gZR.js → p-CcyPWdvG.js} +1 -1
  123. package/dist/components/p-Ce3p4Wwc.js +1 -0
  124. package/dist/components/{p-pfGv13eX.js → p-CoX_ozJQ.js} +1 -1
  125. package/dist/components/p-CuuPUA52.js +1 -0
  126. package/dist/components/{p-BS1cT5dG.js → p-D8F2mTyh.js} +1 -1
  127. package/dist/components/{p-DjS-dtF5.js → p-D9fTZjTl.js} +1 -1
  128. package/dist/components/{p-CFL9Rfh8.js → p-DG5mmAZR.js} +1 -1
  129. package/dist/components/{p-B_FQcRtk.js → p-DRFcrZ_2.js} +1 -1
  130. package/dist/components/{p-7TYtYYrb.js → p-DRoYx4ox.js} +1 -1
  131. package/dist/components/p-DUaqwhdO.js +1 -0
  132. package/dist/components/{p-B3vmDhWb.js → p-DetgSxJr.js} +1 -1
  133. package/dist/components/p-Dp6NByuZ.js +1 -0
  134. package/dist/components/p-Dqabylmm.js +1 -0
  135. package/dist/components/{p-B5XCkCeg.js → p-Dt8isS3r.js} +1 -1
  136. package/dist/components/p-F7m_gfg2.js +1 -0
  137. package/dist/components/{p-yTY5CmAx.js → p-KENiwV56.js} +1 -1
  138. package/dist/components/{p-J57vnHhu.js → p-TD8DiYYC.js} +1 -1
  139. package/dist/components/p-ebOv6eVT.js +1 -0
  140. package/dist/components/{p-BDUIw6As.js → p-pt9ANL-l.js} +1 -1
  141. package/dist/components/p-vS--1dHy.js +1 -0
  142. package/dist/components/sd-action-modal.js +1 -1
  143. package/dist/components/sd-badge.js +1 -1
  144. package/dist/components/sd-barcode-input.js +1 -1
  145. package/dist/components/sd-button.js +1 -1
  146. package/dist/components/sd-calendar.js +1 -1
  147. package/dist/components/sd-callout.js +1 -1
  148. package/dist/components/sd-card.js +1 -1
  149. package/dist/components/sd-checkbox.js +1 -1
  150. package/dist/components/sd-chip-input.d.ts +11 -0
  151. package/dist/components/sd-chip-input.js +1 -0
  152. package/dist/components/sd-chip.js +1 -1
  153. package/dist/components/sd-circle-progress.js +1 -1
  154. package/dist/components/sd-confirm-modal.js +1 -1
  155. package/dist/components/sd-date-box.js +1 -1
  156. package/dist/components/sd-date-picker-trigger.js +1 -1
  157. package/dist/components/sd-date-picker.js +1 -1
  158. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  159. package/dist/components/sd-date-range-picker.js +1 -1
  160. package/dist/components/sd-divider.js +1 -1
  161. package/dist/components/sd-dropdown-button.js +1 -1
  162. package/dist/components/sd-field.js +1 -1
  163. package/dist/components/sd-file-picker.js +1 -1
  164. package/dist/components/sd-floating-portal.js +1 -1
  165. package/dist/components/sd-form.js +1 -1
  166. package/dist/components/sd-ghost-button.js +1 -1
  167. package/dist/components/sd-guide.js +1 -1
  168. package/dist/components/sd-icon.js +1 -1
  169. package/dist/components/sd-input.js +1 -1
  170. package/dist/components/sd-key-value-table.js +1 -1
  171. package/dist/components/sd-linear-progress.js +1 -1
  172. package/dist/components/sd-loading-container.js +1 -1
  173. package/dist/components/sd-loading-modal.js +1 -1
  174. package/dist/components/sd-modal-container.js +1 -1
  175. package/dist/components/sd-number-input.js +1 -1
  176. package/dist/components/sd-pagination.js +1 -1
  177. package/dist/components/sd-popover.js +1 -1
  178. package/dist/components/sd-popup.js +1 -1
  179. package/dist/components/sd-portal.js +1 -1
  180. package/dist/components/sd-radio-button.js +1 -1
  181. package/dist/components/sd-radio-group.js +1 -1
  182. package/dist/components/sd-radio.js +1 -1
  183. package/dist/components/sd-select-list-item-search.js +1 -1
  184. package/dist/components/sd-select-list-item.js +1 -1
  185. package/dist/components/sd-select-listbox.js +1 -1
  186. package/dist/components/sd-select-trigger.js +1 -1
  187. package/dist/components/sd-select.js +1 -1
  188. package/dist/components/sd-switch.js +1 -1
  189. package/dist/components/sd-table.js +1 -1
  190. package/dist/components/sd-tabs.js +1 -1
  191. package/dist/components/sd-tag.js +1 -1
  192. package/dist/components/sd-tbody.js +1 -1
  193. package/dist/components/sd-td.js +1 -1
  194. package/dist/components/sd-text-link.js +1 -1
  195. package/dist/components/sd-textarea.js +1 -1
  196. package/dist/components/sd-thead.js +1 -1
  197. package/dist/components/sd-toast-container.js +1 -1
  198. package/dist/components/sd-toast.js +1 -1
  199. package/dist/components/sd-toggle.js +1 -1
  200. package/dist/components/sd-tooltip.js +1 -1
  201. package/dist/components/sd-tr.js +1 -1
  202. package/dist/design-system/design-system.css +1 -1
  203. package/dist/design-system/design-system.esm.js +1 -1
  204. package/dist/design-system/{p-19d47ac2.entry.js → p-01ee066e.entry.js} +1 -1
  205. package/dist/design-system/p-099b1fa6.entry.js +1 -0
  206. package/dist/design-system/p-1a06b680.entry.js +1 -0
  207. package/dist/design-system/{p-acfe5585.entry.js → p-29d72776.entry.js} +1 -1
  208. package/dist/design-system/{p-ff24fcb2.entry.js → p-308abc0e.entry.js} +1 -1
  209. package/dist/design-system/{p-e1ef1eb8.entry.js → p-3148fdbb.entry.js} +1 -1
  210. package/dist/design-system/{p-7b01d78b.entry.js → p-3c4396bf.entry.js} +1 -1
  211. package/dist/design-system/{p-86db28ce.entry.js → p-43d36198.entry.js} +1 -1
  212. package/dist/design-system/{p-21f654e3.entry.js → p-548b799f.entry.js} +1 -1
  213. package/dist/design-system/{p-11e99ac5.entry.js → p-56c6c243.entry.js} +1 -1
  214. package/dist/design-system/{p-a0daadc8.entry.js → p-5ea98503.entry.js} +1 -1
  215. package/dist/design-system/{p-a4fff652.entry.js → p-63d49ccb.entry.js} +1 -1
  216. package/dist/design-system/{p-b3b46576.entry.js → p-6785b122.entry.js} +1 -1
  217. package/dist/design-system/p-67a3f9ca.entry.js +1 -0
  218. package/dist/design-system/p-69c41f34.entry.js +1 -0
  219. package/dist/design-system/{p-cad22f63.entry.js → p-7ae98de4.entry.js} +1 -1
  220. package/dist/design-system/{p-362ac234.entry.js → p-7b3fec0d.entry.js} +1 -1
  221. package/dist/design-system/{p-f4597b6e.entry.js → p-7f0e8752.entry.js} +1 -1
  222. package/dist/design-system/{p-2ef3cd00.entry.js → p-845b95cc.entry.js} +1 -1
  223. package/dist/design-system/p-88f8fa16.entry.js +1 -0
  224. package/dist/design-system/{p-b456b9ac.entry.js → p-90997ca5.entry.js} +1 -1
  225. package/dist/design-system/{p-4ca63a2d.entry.js → p-929ba1b6.entry.js} +1 -1
  226. package/dist/design-system/{p-6716691b.entry.js → p-9470e031.entry.js} +1 -1
  227. package/dist/design-system/{p-90cc9785.entry.js → p-973eed65.entry.js} +1 -1
  228. package/dist/design-system/p-97fceb51.entry.js +1 -0
  229. package/dist/design-system/{p-f5eb4e2f.entry.js → p-9c658fdd.entry.js} +1 -1
  230. package/dist/design-system/{p-BpO2YWvq.js → p-D3yCWQNg.js} +1 -1
  231. package/dist/design-system/{p-CcVraVK0.js → p-DDgZHadT.js} +1 -1
  232. package/dist/design-system/p-DDj5KTBF.js +1 -0
  233. package/dist/design-system/p-DjcjlPt7.js +1 -0
  234. package/dist/design-system/p-acf7099e.entry.js +1 -0
  235. package/dist/design-system/p-b06e4b77.entry.js +1 -0
  236. package/dist/design-system/{p-a0607a9f.entry.js → p-b33b18c7.entry.js} +1 -1
  237. package/dist/design-system/{p-8926c5ec.entry.js → p-b5252a07.entry.js} +1 -1
  238. package/dist/design-system/{p-1dd139cb.entry.js → p-c068f61a.entry.js} +1 -1
  239. package/dist/design-system/p-c148947c.entry.js +1 -0
  240. package/dist/design-system/p-c4ebb7d1.entry.js +1 -0
  241. package/dist/design-system/{p-de743615.entry.js → p-cf301438.entry.js} +1 -1
  242. package/dist/design-system/{p-27f61c1f.entry.js → p-d3fc5510.entry.js} +1 -1
  243. package/dist/design-system/{p-95cce55d.entry.js → p-e0ea08ba.entry.js} +1 -1
  244. package/dist/design-system/{p-3eb72b33.entry.js → p-e53d6089.entry.js} +1 -1
  245. package/dist/design-system/{p-5b7ea330.entry.js → p-f22590e4.entry.js} +1 -1
  246. package/dist/design-system/{p-06344171.entry.js → p-f46d4199.entry.js} +1 -1
  247. package/dist/design-system/{p-7440fbe7.entry.js → p-f66f4eee.entry.js} +1 -1
  248. package/dist/design-system/{p-39a2bf05.entry.js → p-febd7c47.entry.js} +1 -1
  249. package/dist/esm/design-system.js +3 -3
  250. package/dist/esm/{index-BpO2YWvq.js → index-D3yCWQNg.js} +1 -1
  251. package/dist/esm/loader.js +3 -3
  252. package/dist/esm/sd-action-modal.entry.js +1 -1
  253. package/dist/esm/sd-badge.entry.js +2 -2
  254. package/dist/esm/sd-barcode-input.entry.js +2 -2
  255. package/dist/esm/{sd-button.config-CdRvJ-Uc.js → sd-button.config-DjcjlPt7.js} +16 -3
  256. package/dist/esm/sd-button_2.entry.js +7 -6
  257. package/dist/esm/sd-calendar_2.entry.js +6 -6
  258. package/dist/esm/sd-callout.entry.js +2 -2
  259. package/dist/esm/sd-card.entry.js +2 -2
  260. package/dist/esm/sd-checkbox.entry.js +1 -1
  261. package/dist/esm/sd-chip-input.entry.js +272 -0
  262. package/dist/esm/sd-chip.config-DDj5KTBF.js +67 -0
  263. package/dist/esm/sd-chip.entry.js +10 -80
  264. package/dist/esm/sd-circle-progress.entry.js +2 -2
  265. package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
  266. package/dist/esm/sd-date-box.entry.js +1 -1
  267. package/dist/esm/sd-date-picker_7.entry.js +10 -10
  268. package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
  269. package/dist/esm/sd-divider.entry.js +2 -2
  270. package/dist/esm/sd-dropdown-button.entry.js +10 -6
  271. package/dist/esm/sd-field_3.entry.js +11 -10
  272. package/dist/esm/sd-form.entry.js +1 -1
  273. package/dist/esm/sd-ghost-button_2.entry.js +404 -0
  274. package/dist/esm/sd-guide.entry.js +1 -1
  275. package/dist/esm/sd-key-value-table.entry.js +1 -1
  276. package/dist/esm/sd-linear-progress.entry.js +2 -2
  277. package/dist/esm/sd-loading-container.entry.js +3 -3
  278. package/dist/esm/sd-modal-container.entry.js +1 -1
  279. package/dist/esm/sd-pagination_4.entry.js +9 -9
  280. package/dist/esm/sd-popover.entry.js +2 -2
  281. package/dist/esm/sd-popup.entry.js +2 -2
  282. package/dist/esm/sd-portal.entry.js +2 -2
  283. package/dist/esm/sd-radio-button.entry.js +1 -1
  284. package/dist/esm/sd-radio.entry.js +1 -1
  285. package/dist/esm/sd-select-list-item_2.entry.js +7 -7
  286. package/dist/esm/sd-select_3.entry.js +9 -9
  287. package/dist/esm/sd-switch.entry.js +2 -2
  288. package/dist/esm/sd-table.entry.js +7 -7
  289. package/dist/esm/sd-tabs.entry.js +19 -6
  290. package/dist/esm/sd-td.entry.js +2 -2
  291. package/dist/esm/sd-text-link.entry.js +1 -1
  292. package/dist/esm/sd-toast-container.entry.js +2 -2
  293. package/dist/esm/sd-toast.entry.js +3 -3
  294. package/dist/esm/sd-toggle.entry.js +2 -2
  295. package/dist/esm/{tooltipArrow-DrrY_fPj.js → tooltipArrow-CUCfrch1.js} +1 -1
  296. package/dist/types/components/sd-button/sd-button.config.d.ts +10 -2
  297. package/dist/types/components/sd-chip/sd-chip.config.d.ts +0 -1
  298. package/dist/types/components/sd-chip-input/sd-chip-input.config.d.ts +34 -0
  299. package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +53 -0
  300. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +9 -1
  301. package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +1 -0
  302. package/dist/types/components/sd-tabs/sd-tabs.config.d.ts +3 -1
  303. package/dist/types/components/sd-tabs/sd-tabs.d.ts +1 -0
  304. package/dist/types/components.d.ts +210 -0
  305. package/hydrate/index.js +463 -125
  306. package/hydrate/index.mjs +463 -125
  307. package/package.json +1 -1
  308. package/dist/cjs/sd-ghost-button.cjs.entry.js +0 -179
  309. package/dist/cjs/sd-tag.cjs.entry.js +0 -227
  310. package/dist/components/p-B8QZRiYH.js +0 -1
  311. package/dist/components/p-BYgOJUk0.js +0 -1
  312. package/dist/components/p-BmmIQQlT.js +0 -1
  313. package/dist/components/p-CMUpMkva.js +0 -1
  314. package/dist/components/p-CeoBnd3w.js +0 -1
  315. package/dist/components/p-CpdFMy8s.js +0 -1
  316. package/dist/components/p-CqcGVHzJ.js +0 -1
  317. package/dist/components/p-CtxH9xQc.js +0 -1
  318. package/dist/components/p-DEfG8t7h.js +0 -1
  319. package/dist/components/p-DGCbSjhn.js +0 -1
  320. package/dist/components/p-DLeITJ-j.js +0 -1
  321. package/dist/components/p-DqXt80Qn.js +0 -1
  322. package/dist/design-system/p-0a225a4a.entry.js +0 -1
  323. package/dist/design-system/p-17d8457d.entry.js +0 -1
  324. package/dist/design-system/p-2bd09b2f.entry.js +0 -1
  325. package/dist/design-system/p-515e837b.entry.js +0 -1
  326. package/dist/design-system/p-5ee1e5e6.entry.js +0 -1
  327. package/dist/design-system/p-79e73305.entry.js +0 -1
  328. package/dist/design-system/p-97b16b63.entry.js +0 -1
  329. package/dist/design-system/p-CdRvJ-Uc.js +0 -1
  330. package/dist/design-system/p-a39016ac.entry.js +0 -1
  331. package/dist/design-system/p-d9c1ec16.entry.js +0 -1
  332. package/dist/design-system/p-de565b9f.entry.js +0 -1
  333. package/dist/esm/sd-ghost-button.entry.js +0 -177
  334. package/dist/esm/sd-tag.entry.js +0 -225
@@ -0,0 +1,272 @@
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-D3yCWQNg.js';
2
+ import { n as nanoid } from './index-CCwNgVmC.js';
3
+ import { C as CHIP_TYPOGRAPHY, a as CHIP_COLORS, b as CHIP_LAYOUT } from './sd-chip.config-DDj5KTBF.js';
4
+
5
+ const chipInput = {
6
+ sm: {
7
+ minHeight: "36",
8
+ paddingX: "12",
9
+ paddingY: "6",
10
+ radius: "4",
11
+ typography: {
12
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
13
+ fontWeight: "400",
14
+ fontSize: "12",
15
+ lineHeight: "20"}
16
+ },
17
+ md: {
18
+ minHeight: "40",
19
+ paddingX: "16",
20
+ paddingY: "8",
21
+ radius: "6",
22
+ typography: {
23
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
24
+ fontWeight: "400",
25
+ fontSize: "14",
26
+ lineHeight: "24"
27
+ }
28
+ },
29
+ chip: {
30
+ gap: "8"
31
+ },
32
+ text: {
33
+ placeholder: "#AAAAAA"
34
+ }
35
+ };
36
+ var chipInputTokens = {
37
+ chipInput: chipInput
38
+ };
39
+
40
+ const sm = chipInputTokens.chipInput.sm;
41
+ const md = chipInputTokens.chipInput.md;
42
+ const CHIP_INPUT_SIZE_MAP = {
43
+ sm: {
44
+ minHeight: sm.minHeight,
45
+ paddingX: sm.paddingX,
46
+ paddingY: sm.paddingY,
47
+ radius: sm.radius,
48
+ fontSize: sm.typography.fontSize,
49
+ lineHeight: sm.typography.lineHeight,
50
+ fontWeight: sm.typography.fontWeight,
51
+ fontFamily: sm.typography.fontFamily,
52
+ },
53
+ md: {
54
+ minHeight: md.minHeight,
55
+ paddingX: md.paddingX,
56
+ paddingY: md.paddingY,
57
+ radius: md.radius,
58
+ fontSize: md.typography.fontSize,
59
+ lineHeight: md.typography.lineHeight,
60
+ fontWeight: md.typography.fontWeight,
61
+ fontFamily: md.typography.fontFamily,
62
+ },
63
+ };
64
+ const CHIP_INPUT_COLORS = {
65
+ text: {
66
+ placeholder: chipInputTokens.chipInput.text.placeholder,
67
+ },
68
+ };
69
+ const CHIP_INPUT_LAYOUT = {
70
+ chipGap: `${chipInputTokens.chipInput.chip.gap}px`,
71
+ };
72
+ const CHIP_INPUT_RESET = {
73
+ dividerColor: '#E1E1E1', // TODO: 토큰 반영 후 교체
74
+ iconColor: '#888888', // TODO: 토큰 반영 후 교체 (grey_65)
75
+ labelColor: '#555555', // TODO: 토큰 반영 후 교체 (grey_70)
76
+ };
77
+
78
+ const sdChipInputCss = () => `sd-chip-input{display:inline-flex}sd-chip-input .sd-chip-input{position:relative;width:100%;min-height:var(--sd-chip-input-min-height);display:flex;flex-flow:row wrap;align-items:center;gap:var(--sd-chip-input-chip-gap);padding:var(--sd-chip-input-padding-y) var(--sd-chip-input-padding-x);cursor:text}sd-chip-input .sd-chip-input__reset{display:inline-flex;align-items:center;gap:var(--sd-chip-input-reset-gap);flex-shrink:0}sd-chip-input .sd-chip-input__divider{display:inline-block;width:1px;height:12px;background-color:var(--sd-chip-input-divider-color);flex-shrink:0}sd-chip-input .sd-chip-input__field{flex:0 0 auto;display:inline-grid;grid-template-columns:minmax(0, max-content);align-items:center;min-width:1ch;max-width:100%;height:var(--sd-chip-input-field-height);box-sizing:border-box;padding:0;border:none;border-radius:0;background:transparent;overflow:hidden}sd-chip-input .sd-chip-input__field::after{content:attr(data-value);grid-area:1/1;visibility:hidden;white-space:pre;font-size:var(--sd-chip-input-field-font-size);line-height:var(--sd-chip-input-field-line-height);font-weight:var(--sd-chip-input-field-font-weight);font-family:var(--sd-chip-input-field-font-family)}sd-chip-input .sd-chip-input__field--filled{padding:0 var(--sd-chip-input-field-padding-x);border:var(--sd-chip-input-field-border-width) solid var(--sd-chip-input-field-border-color);border-radius:var(--sd-chip-input-field-radius);background:var(--sd-chip-input-field-bg)}sd-chip-input .sd-chip-input__field--empty{position:absolute;top:0;left:0;width:0;height:0;min-width:0;overflow:hidden}sd-chip-input .sd-chip-input__input{grid-area:1/1;width:100%;min-width:1ch;height:var(--sd-chip-input-field-height);margin:0;padding:0;border:none;outline:none;overflow:hidden;text-overflow:ellipsis;background:transparent;font-size:var(--sd-chip-input-field-font-size);line-height:var(--sd-chip-input-field-line-height);font-weight:var(--sd-chip-input-field-font-weight);font-family:var(--sd-chip-input-field-font-family);color:var(--sd-chip-input-field-content)}sd-chip-input .sd-chip-input__input[disabled]{cursor:not-allowed;pointer-events:none}sd-chip-input .sd-chip-input__input::placeholder{color:var(--sd-chip-input-placeholder-color)}`;
79
+
80
+ const SdChipInput = class {
81
+ constructor(hostRef) {
82
+ registerInstance(this, hostRef);
83
+ this.update = createEvent(this, "sdUpdate", 7);
84
+ this.focusEvent = createEvent(this, "sdFocus", 7);
85
+ this.blurEvent = createEvent(this, "sdBlur", 7);
86
+ }
87
+ get host() { return getElement(this); }
88
+ values = [];
89
+ errors = [];
90
+ size = 'sm';
91
+ disabled = false;
92
+ placeholder = '입력해 주세요.';
93
+ name = nanoid();
94
+ rules = [];
95
+ error = false;
96
+ useReset = false;
97
+ // sd-field props
98
+ label = '';
99
+ labelWidth = '';
100
+ hint = '';
101
+ errorMessage = '';
102
+ width = '';
103
+ status;
104
+ icon = undefined;
105
+ labelTooltip = '';
106
+ labelTooltipProps = null;
107
+ internalValues = [];
108
+ internalErrors = [];
109
+ focused = false;
110
+ hovered = false;
111
+ inputValue = '';
112
+ inputEl;
113
+ formField;
114
+ get value() {
115
+ return this.internalValues;
116
+ }
117
+ valuesChanged(newValues) {
118
+ this.internalValues = [...(newValues ?? [])];
119
+ }
120
+ errorsChanged(newErrors) {
121
+ if (Array.isArray(newErrors)) {
122
+ this.internalErrors = [...newErrors];
123
+ }
124
+ }
125
+ componentWillLoad() {
126
+ this.internalValues = [...(this.values ?? [])];
127
+ if (Array.isArray(this.errors)) {
128
+ this.internalErrors = [...this.errors];
129
+ }
130
+ }
131
+ getChipError(index) {
132
+ if (typeof this.errors === 'function') {
133
+ return this.errors(this.internalValues[index] ?? '');
134
+ }
135
+ return this.internalErrors[index] ?? false;
136
+ }
137
+ update;
138
+ focusEvent;
139
+ blurEvent;
140
+ async sdValidate() {
141
+ return this.formField?.sdValidate();
142
+ }
143
+ async sdReset() {
144
+ return this.formField?.sdReset();
145
+ }
146
+ async sdResetValidate() {
147
+ return this.formField?.sdResetValidation();
148
+ }
149
+ async sdFocus() {
150
+ return this.formField?.sdFocus();
151
+ }
152
+ handleChipUpdate = (index, newValue) => {
153
+ if (newValue.trim() === '') {
154
+ this.handleChipRemove(index);
155
+ return;
156
+ }
157
+ const next = [...this.internalValues];
158
+ next[index] = newValue;
159
+ this.internalValues = next;
160
+ this.values = next;
161
+ this.update.emit(next);
162
+ };
163
+ handleChipRemove = (index) => {
164
+ const next = this.internalValues.filter((_, i) => i !== index);
165
+ this.internalValues = next;
166
+ this.values = next;
167
+ if (Array.isArray(this.errors)) {
168
+ const nextErrors = this.internalErrors.filter((_, i) => i !== index);
169
+ this.internalErrors = nextErrors;
170
+ this.errors = nextErrors;
171
+ }
172
+ this.update.emit(next);
173
+ this.inputEl?.focus();
174
+ };
175
+ handleKeyDown = (event) => {
176
+ const input = event.target;
177
+ if (event.key === 'Enter' && !event.isComposing && input.value.trim() !== '') {
178
+ event.preventDefault();
179
+ const next = [...this.internalValues, input.value.trim()];
180
+ this.internalValues = next;
181
+ this.values = next;
182
+ input.value = '';
183
+ this.inputValue = '';
184
+ this.update.emit(next);
185
+ }
186
+ else if (event.key === 'Backspace' && input.value === '' && this.internalValues.length > 0) {
187
+ event.preventDefault();
188
+ const next = this.internalValues.slice(0, -1);
189
+ const nextErrors = this.internalErrors.slice(0, -1);
190
+ this.internalValues = next;
191
+ this.internalErrors = nextErrors;
192
+ this.values = next;
193
+ this.errors = nextErrors;
194
+ this.update.emit(next);
195
+ }
196
+ };
197
+ handleInput = (event) => {
198
+ this.inputValue = event.target.value;
199
+ };
200
+ handleFocus = () => {
201
+ this.focused = true;
202
+ this.focusEvent.emit();
203
+ };
204
+ handleBlur = () => {
205
+ this.focused = false;
206
+ this.blurEvent.emit();
207
+ };
208
+ handleContainerClick = () => {
209
+ if (!this.disabled) {
210
+ this.inputEl?.focus();
211
+ }
212
+ };
213
+ handleResetInput = () => {
214
+ this.internalValues = [];
215
+ this.internalErrors = [];
216
+ this.values = [];
217
+ if (Array.isArray(this.errors)) {
218
+ this.errors = [];
219
+ }
220
+ this.update.emit([]);
221
+ this.inputEl?.focus();
222
+ };
223
+ render() {
224
+ const sizeTokens = CHIP_INPUT_SIZE_MAP[this.size] ?? CHIP_INPUT_SIZE_MAP.sm;
225
+ const cssVars = {
226
+ [`--sd-system-size-field-${this.size}-height`]: 'auto',
227
+ [`--sd-system-radius-field-${this.size}`]: `${sizeTokens.radius}px`,
228
+ '--sd-chip-input-min-height': `${sizeTokens.minHeight}px`,
229
+ '--sd-chip-input-padding-x': `${sizeTokens.paddingX}px`,
230
+ '--sd-chip-input-padding-y': `${sizeTokens.paddingY}px`,
231
+ '--sd-chip-input-font-size': `${sizeTokens.fontSize}px`,
232
+ '--sd-chip-input-line-height': `${sizeTokens.lineHeight}px`,
233
+ '--sd-chip-input-font-weight': sizeTokens.fontWeight,
234
+ '--sd-chip-input-font-family': sizeTokens.fontFamily,
235
+ '--sd-chip-input-chip-gap': CHIP_INPUT_LAYOUT.chipGap,
236
+ '--sd-chip-input-placeholder-color': CHIP_INPUT_COLORS.text.placeholder,
237
+ '--sd-chip-input-reset-gap': CHIP_INPUT_LAYOUT.chipGap,
238
+ '--sd-chip-input-divider-color': CHIP_INPUT_RESET.dividerColor,
239
+ '--sd-chip-input-field-height': CHIP_LAYOUT.height,
240
+ '--sd-chip-input-field-padding-x': CHIP_LAYOUT.paddingX,
241
+ '--sd-chip-input-field-radius': CHIP_LAYOUT.radius,
242
+ '--sd-chip-input-field-border-width': CHIP_LAYOUT.borderWidth,
243
+ '--sd-chip-input-field-bg': CHIP_COLORS.bg.default,
244
+ '--sd-chip-input-field-border-color': 'transparent',
245
+ '--sd-chip-input-field-content': CHIP_COLORS.content.focus,
246
+ '--sd-chip-input-field-font-size': CHIP_TYPOGRAPHY.focus.fontSize,
247
+ '--sd-chip-input-field-font-weight': CHIP_TYPOGRAPHY.focus.fontWeight,
248
+ '--sd-chip-input-field-line-height': CHIP_TYPOGRAPHY.focus.lineHeight,
249
+ '--sd-chip-input-field-font-family': CHIP_TYPOGRAPHY.focus.fontFamily,
250
+ };
251
+ return (h("sd-field", { key: 'cfff85a1732e23052fb2c736512f48f5653c4e1a', name: this.name, label: this.label, labelWidth: this.labelWidth, hint: this.hint, errorMessage: this.errorMessage, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, width: this.width, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, h("div", { key: '872d73f015e8aa79a9afcf1592372b3ba3bbb9a5', class: "sd-chip-input", onClick: this.handleContainerClick }, this.internalValues.map((value, i) => (h("sd-chip", { key: i, value: value, error: this.getChipError(i), disabled: this.disabled, onSdUpdate: (e) => this.handleChipUpdate(i, e.detail), onSdRemove: () => this.handleChipRemove(i), onSdFocus: () => {
252
+ this.focused = true;
253
+ }, onSdBlur: () => {
254
+ this.focused = false;
255
+ } }))), h("div", { key: '33746a3ce014b5d28329c193d93d8bf1fc4957a6', class: {
256
+ 'sd-chip-input__field': true,
257
+ 'sd-chip-input__field--filled': this.inputValue !== '',
258
+ 'sd-chip-input__field--empty': this.inputValue === '' && this.internalValues.length > 0 && !this.focused,
259
+ }, "data-value": this.inputValue !== '' ? this.inputValue : this.internalValues.length === 0 ? this.placeholder : '' }, h("input", { key: '74b1e76b3123c371fffe344d922ff42801f028e7', ref: el => (this.inputEl = el), class: "sd-chip-input__input", placeholder: this.internalValues.length === 0 ? this.placeholder : '', disabled: this.disabled, size: 1, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur })), this.useReset && this.internalValues.length > 0 && (h("div", { key: '3343b3d3fed05856739675d802115f7e5b2ea110', class: "sd-chip-input__reset" }, this.inputValue === '' && h("span", { key: 'c0398e9c476309964c132b3647dd95cd2a65d948', class: "sd-chip-input__divider" }), h("sd-text-link", { key: 'e00af312380d40e8b6a3c9a463cea796146632a1', icon: "reset", iconColor: CHIP_INPUT_RESET.iconColor, label: "\uC785\uB825 \uCD08\uAE30\uD654", underline: true, disabled: this.disabled, style: { '--sd-text-link-color': CHIP_INPUT_RESET.labelColor }, onSdClick: this.handleResetInput }))))));
260
+ }
261
+ static get watchers() { return {
262
+ "values": [{
263
+ "valuesChanged": 0
264
+ }],
265
+ "errors": [{
266
+ "errorsChanged": 0
267
+ }]
268
+ }; }
269
+ };
270
+ SdChipInput.style = sdChipInputCss();
271
+
272
+ export { SdChipInput as sd_chip_input };
@@ -0,0 +1,67 @@
1
+ const chip = {
2
+ height: "24",
3
+ paddingX: "8",
4
+ gap: "4",
5
+ radius: "9999",
6
+ typography: {
7
+ "default": {
8
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
9
+ fontSize: "12",
10
+ fontWeight: "500",
11
+ lineHeight: "20"
12
+ },
13
+ focus: {
14
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
15
+ fontSize: "12",
16
+ fontWeight: "400",
17
+ lineHeight: "20"
18
+ }
19
+ },
20
+ bg: {
21
+ "default": "#F6F6F6",
22
+ error: "#FCEFEF"},
23
+ content: {
24
+ "default": "#555555",
25
+ error: "#E30000",
26
+ focus: "#222222"},
27
+ border: {
28
+ width: "1"
29
+ }
30
+ };
31
+ var chipTokens = {
32
+ chip: chip
33
+ };
34
+
35
+ const CHIP_LAYOUT = {
36
+ height: `${chipTokens.chip.height}px`,
37
+ paddingX: `${chipTokens.chip.paddingX}px`,
38
+ gap: `${chipTokens.chip.gap}px`,
39
+ radius: `${chipTokens.chip.radius}px`,
40
+ borderWidth: `${chipTokens.chip.border.width}px`,
41
+ };
42
+ const CHIP_COLORS = {
43
+ bg: {
44
+ default: chipTokens.chip.bg.default,
45
+ error: chipTokens.chip.bg.error,
46
+ },
47
+ content: {
48
+ default: chipTokens.chip.content.default,
49
+ error: chipTokens.chip.content.error,
50
+ focus: chipTokens.chip.content.focus,
51
+ }};
52
+ const CHIP_TYPOGRAPHY = {
53
+ default: {
54
+ fontFamily: chipTokens.chip.typography.default.fontFamily,
55
+ fontSize: `${chipTokens.chip.typography.default.fontSize}px`,
56
+ fontWeight: chipTokens.chip.typography.default.fontWeight,
57
+ lineHeight: `${chipTokens.chip.typography.default.lineHeight}px`,
58
+ },
59
+ focus: {
60
+ fontFamily: chipTokens.chip.typography.focus.fontFamily,
61
+ fontSize: `${chipTokens.chip.typography.focus.fontSize}px`,
62
+ fontWeight: chipTokens.chip.typography.focus.fontWeight,
63
+ lineHeight: `${chipTokens.chip.typography.focus.lineHeight}px`,
64
+ },
65
+ };
66
+
67
+ export { CHIP_TYPOGRAPHY as C, CHIP_COLORS as a, CHIP_LAYOUT as b };
@@ -1,79 +1,7 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h } from './index-BpO2YWvq.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-D3yCWQNg.js';
2
+ import { C as CHIP_TYPOGRAPHY, a as CHIP_COLORS, b as CHIP_LAYOUT } from './sd-chip.config-DDj5KTBF.js';
2
3
 
3
- const chip = {
4
- height: "24",
5
- paddingX: "8",
6
- gap: "4",
7
- radius: "9999",
8
- typography: {
9
- "default": {
10
- fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
11
- fontSize: "12",
12
- fontWeight: "500",
13
- lineHeight: "20"
14
- },
15
- focus: {
16
- fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
17
- fontSize: "12",
18
- fontWeight: "400",
19
- lineHeight: "20"
20
- }
21
- },
22
- bg: {
23
- "default": "#F6F6F6",
24
- error: "#FCEFEF",
25
- focus: "#FFFFFF"},
26
- content: {
27
- "default": "#555555",
28
- error: "#E30000",
29
- focus: "#222222"},
30
- border: {
31
- focus: "#E1E1E1",
32
- width: "1"
33
- }
34
- };
35
- var chipTokens = {
36
- chip: chip
37
- };
38
-
39
- const CHIP_LAYOUT = {
40
- height: `${chipTokens.chip.height}px`,
41
- paddingX: `${chipTokens.chip.paddingX}px`,
42
- gap: `${chipTokens.chip.gap}px`,
43
- radius: `${chipTokens.chip.radius}px`,
44
- borderWidth: `${chipTokens.chip.border.width}px`,
45
- };
46
- const CHIP_COLORS = {
47
- bg: {
48
- default: chipTokens.chip.bg.default,
49
- error: chipTokens.chip.bg.error,
50
- focus: chipTokens.chip.bg.focus,
51
- },
52
- content: {
53
- default: chipTokens.chip.content.default,
54
- error: chipTokens.chip.content.error,
55
- focus: chipTokens.chip.content.focus,
56
- },
57
- border: {
58
- focus: chipTokens.chip.border.focus,
59
- },
60
- };
61
- const CHIP_TYPOGRAPHY = {
62
- default: {
63
- fontFamily: chipTokens.chip.typography.default.fontFamily,
64
- fontSize: `${chipTokens.chip.typography.default.fontSize}px`,
65
- fontWeight: chipTokens.chip.typography.default.fontWeight,
66
- lineHeight: `${chipTokens.chip.typography.default.lineHeight}px`,
67
- },
68
- focus: {
69
- fontFamily: chipTokens.chip.typography.focus.fontFamily,
70
- fontSize: `${chipTokens.chip.typography.focus.fontSize}px`,
71
- fontWeight: chipTokens.chip.typography.focus.fontWeight,
72
- lineHeight: `${chipTokens.chip.typography.focus.lineHeight}px`,
73
- },
74
- };
75
-
76
- const sdChipCss = () => `sd-chip{display:inline-flex;width:fit-content;height:fit-content}sd-chip .sd-chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-chip-gap);height:var(--sd-chip-height);padding:0 var(--sd-chip-padding-x);border-radius:var(--sd-chip-radius);background:var(--sd-chip-bg);color:var(--sd-chip-content);border:var(--sd-chip-border-width) solid var(--sd-chip-border-color);font-family:var(--sd-chip-font-family);font-size:var(--sd-chip-font-size);font-weight:var(--sd-chip-font-weight);line-height:var(--sd-chip-line-height);box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none}sd-chip .sd-chip--editable:not(.sd-chip--focus){cursor:text}sd-chip .sd-chip--disabled{cursor:not-allowed;opacity:0.6}sd-chip .sd-chip__label{display:inline-flex;align-items:center;min-width:0}sd-chip .sd-chip__input{display:inline-block;min-width:1ch;outline:none;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:text}sd-chip .sd-chip__input:empty::before{content:attr(data-placeholder);color:inherit;opacity:0.6;pointer-events:none}sd-chip .sd-chip__remove{flex-shrink:0}`;
4
+ const sdChipCss = () => `sd-chip{display:inline-flex;width:fit-content;max-width:100%;height:fit-content}sd-chip .sd-chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-chip-gap);max-width:100%;height:var(--sd-chip-height);padding:0 var(--sd-chip-padding-x);border-radius:var(--sd-chip-radius);background:var(--sd-chip-bg);color:var(--sd-chip-content);border:var(--sd-chip-border-width) solid var(--sd-chip-border-color);font-family:var(--sd-chip-font-family);font-size:var(--sd-chip-font-size);font-weight:var(--sd-chip-font-weight);line-height:var(--sd-chip-line-height);box-sizing:border-box;white-space:nowrap;overflow:hidden;-webkit-user-select:none;user-select:none}sd-chip .sd-chip--editable:not(.sd-chip--focus){cursor:text}sd-chip .sd-chip--disabled{cursor:not-allowed;opacity:0.6}sd-chip .sd-chip__label{display:inline-flex;align-items:center;min-width:0;overflow:hidden;text-overflow:ellipsis}sd-chip .sd-chip__input{display:inline-block;min-width:1ch;outline:none;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:text}sd-chip .sd-chip__input:empty::before{content:attr(data-placeholder);color:inherit;opacity:0.6;pointer-events:none}sd-chip .sd-chip__remove{flex-shrink:0}`;
77
5
 
78
6
  const SdChip = class {
79
7
  constructor(hostRef) {
@@ -208,10 +136,12 @@ const SdChip = class {
208
136
  handleInputKeyDown = (event) => {
209
137
  if (event.key === 'Enter') {
210
138
  event.preventDefault();
139
+ event.stopPropagation();
211
140
  this.commitEdit();
212
141
  }
213
142
  else if (event.key === 'Escape') {
214
143
  event.preventDefault();
144
+ event.stopPropagation();
215
145
  this.cancelEdit();
216
146
  }
217
147
  };
@@ -272,22 +202,22 @@ const SdChip = class {
272
202
  }
273
203
  render() {
274
204
  const state = this.resolveState();
275
- const typography = state === 'focus' ? CHIP_TYPOGRAPHY.focus : CHIP_TYPOGRAPHY.default;
205
+ const typography = CHIP_TYPOGRAPHY.default;
276
206
  const cssVars = {
277
207
  '--sd-chip-height': CHIP_LAYOUT.height,
278
208
  '--sd-chip-padding-x': CHIP_LAYOUT.paddingX,
279
209
  '--sd-chip-gap': CHIP_LAYOUT.gap,
280
210
  '--sd-chip-radius': CHIP_LAYOUT.radius,
281
211
  '--sd-chip-border-width': CHIP_LAYOUT.borderWidth,
282
- '--sd-chip-bg': CHIP_COLORS.bg[state],
283
- '--sd-chip-content': CHIP_COLORS.content[state],
284
- '--sd-chip-border-color': state === 'focus' ? CHIP_COLORS.border.focus : 'transparent',
212
+ '--sd-chip-bg': state === 'error' ? CHIP_COLORS.bg.error : CHIP_COLORS.bg.default,
213
+ '--sd-chip-content': state === 'error' ? CHIP_COLORS.content.error : CHIP_COLORS.content.default,
214
+ '--sd-chip-border-color': 'transparent',
285
215
  '--sd-chip-font-family': typography.fontFamily,
286
216
  '--sd-chip-font-size': typography.fontSize,
287
217
  '--sd-chip-font-weight': typography.fontWeight,
288
218
  '--sd-chip-line-height': typography.lineHeight,
289
219
  };
290
- return (h("span", { key: '6503611c9cb03be2de4fc09398e2ce1b34b8ab10', class: {
220
+ return (h("span", { key: 'e1c1386f3143f4830256784853c1d931706a6beb', class: {
291
221
  'sd-chip': true,
292
222
  [`sd-chip--${state}`]: true,
293
223
  'sd-chip--disabled': this.disabled,
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, H as Host } from './index-BpO2YWvq.js';
1
+ import { r as registerInstance, h, H as Host } from './index-D3yCWQNg.js';
2
2
  import { p as progressTokens } from './component.progress-D1vaasIp.js';
3
3
  import { s as systemTokens } from './system-j2khhcHY.js';
4
4
 
@@ -70,7 +70,7 @@ const SdCircleProgress = class {
70
70
  }
71
71
  const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
72
72
  const showPercent = !this.indeterminate;
73
- return (h(Host, { key: '9a4424e79b095c240b2dd53c8655b9a4cccaf581', style: hostStyle }, h("svg", { key: '37ca87d4c4aa6ab6b84a4301225d775f1998c0c1', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '372f7031310dddba431323b0527c273311a498e3', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: 'def6ff7573e4c4a08648f35f7cb545d6b8064f6d', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (h("span", { key: '13d6345672fdafaf6a1e1eef9f5987179a99c3ae', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && h("span", { key: 'c42e2fa2826284017e530e967975e45277ae9ee3', class: "sd-circle-progress__label" }, this.label)));
73
+ return (h(Host, { key: '46d74c0edb5a5e8cd0472c83efc45a0efaf353b4', style: hostStyle }, h("svg", { key: '34117c89eb180370a215807e614ad08f4f72b517', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '08ac6f011b6a4b6744ddcf437b1e0a5b96abfc6e', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: '5ae0a53ce10bd5a8b2f316ebd00d3ee28c4336d6', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (h("span", { key: 'fd52ee1947d41b2117c9ea6e4cc9a448799342e3', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && h("span", { key: 'a58776c4ef67eb900eba97ff4fed138c8f5e8452', class: "sd-circle-progress__label" }, this.label)));
74
74
  }
75
75
  };
76
76
  SdCircleProgress.style = sdCircleProgressCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h, H as Host } from './index-BpO2YWvq.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h, H as Host } from './index-D3yCWQNg.js';
2
2
  import { s as sanitizeInlineHtml } from './sanitize-inline-html-BE4tnQ2Z.js';
3
3
  import { m as modalTokens } from './component.modal-DOXMJi-V.js';
4
4
 
@@ -100,9 +100,9 @@ const SdConfirmModal = class {
100
100
  const type = this.resolvedType;
101
101
  const iconName = CONFIRM_MODAL_ICON_MAP[type];
102
102
  const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
103
- return (h("div", { key: 'c41a58f13b95da7f1f0aea3620abf239dcb116b6', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: 'bdc1bc374934c2f9745f567b4e6ffd55ec3675ce', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: 'ff16ebde448157e657eb74e1b0c5f4a331cf396a', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: 'd718b2ae6f6e92f8c77ec821b78924ffbe267d12', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), h("div", { key: 'a3909abde84c4d6987c9036a705cba4aa7d01ea6', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: '29a4bf80ab75d973544c0a29c87133c9ef8a5aab', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (h("div", { key: '93eb2c75728cf26969a229a876f9217b4e00c63a', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
103
+ return (h("div", { key: '4d3ce0662b2d860a4ed6ae3c8177ae75dae4fb92', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: '7c406d59c2470b610a187bf45aa5cd4ab5c6b26b', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: '10e3d2c8a87a728df4e3f3be7dfab96475738e2b', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: '9cc844c8cefb2fd0dc96871b55fc1c7c6e41c526', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), h("div", { key: 'bbaa81a02c067d66c4cc19cf805b7a6939231311', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: '31734f096eee6e6a9be770eafa43066c8e763608', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (h("div", { key: 'a10838fb7c7081fdaa85cdaa33f92ef30c00a888', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
104
104
  this.customContentRef = el;
105
- } })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '730fd073ade9b8788de77d36fc4aeddd0b304c07', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), h("div", { key: '059fd87fb39b8e2976fcb671c7dd78310324119f', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button", { key: '6b320645505c099783a4a6704e96e9261054c7dc', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button", { key: 'd6a4554a7db861ae7afc610a629591224946d990', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
105
+ } })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '540f3bb73aa61a1a2a041eba9a22a198c7772914', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), h("div", { key: '1944aeb4d140c779d0af1304160a86c5056335a8', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button", { key: 'efd463686d98e9d2edc3e1cd7b4f54d8da4fef56', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button", { key: 'b9033fb98acf3de36b7fb3e1969ccf5a7becef39', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
106
106
  }
107
107
  };
108
108
  SdConfirmModal.style = sdConfirmModalCss();
@@ -186,7 +186,7 @@ const SdLoadingModal = class {
186
186
  '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
187
187
  '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
188
188
  };
189
- return (h(Host, { key: 'e1161a16a56cddedc8e4bb76370bdf456d90e15a', style: hostStyle }, h("div", { key: 'e01979e4636465afa4b960ffdb9722f645386dca', class: "sd-loading-modal" }, h("div", { key: '1c1ecc05d20f58084c0d6f8048b17cd84f446edb', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (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("div", { key: '6793b86562b67699c59fd83fb0d6ee7378f6d991', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (h("div", { key: '75036f7d88be636987de2fe999c00d338fa352d5', class: "sd-loading-modal__button" }, h("sd-button", { key: '91f30470702df2be7256d451cc80d27e86510d2e', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
189
+ return (h(Host, { key: '17636253239532d90e596f20d84795fe2e65508d', style: hostStyle }, h("div", { key: '2f925afceca4102049d7876ab4d1e33fa1ef5ef7', class: "sd-loading-modal" }, h("div", { key: '0598cff340210ca9ec5e28fb1992cbbc1b8e5a06', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (h("sd-circle-progress", { value: this.progress })) : (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("div", { key: '3d699238c19ee66fd3afc72194133a865501cc08', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (h("p", { class: "sd-loading-modal__message" }, message)))) : (h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (h("div", { key: 'd454a168360cd23a3e71482d67ee81d8eabdec58', class: "sd-loading-modal__button" }, h("sd-button", { key: '0aa26dc830d1c4827f2ee0ca0bfdf4bb8cd2c9f5', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
190
190
  }
191
191
  };
192
192
  SdLoadingModal.style = sdLoadingModalCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-BpO2YWvq.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-D3yCWQNg.js';
2
2
 
3
3
  const sdDateBoxCss = () => `.sd-date-box.sc-sd-date-box{display:flex;align-items:center;justify-content:center;width:38px;height:36px;font-size:14px;position:relative;box-sizing:border-box;text-align:center;transition:background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);border-radius:14px}.sd-date-box.sc-sd-date-box .sd-date-box__content.sc-sd-date-box{width:28px;height:28px;border-radius:14px;position:relative}.sd-date-box.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box{position:relative;z-index:2;-webkit-user-select:none;user-select:none;line-height:28px}.sd-date-box.sd-date-box--disabled.sc-sd-date-box{color:#CCCCCC;cursor:default !important;pointer-events:none}.sd-date-box.sc-sd-date-box:not(.sd-date-box--disabled){color:#333333;cursor:pointer}.sd-date-box.sd-hoverable.sc-sd-date-box:hover .sd-date-box__content.sc-sd-date-box{background:#D9EAFF}.sd-date-box.sd-date-box--in-range.sc-sd-date-box:not(.sd-date-box--disabled) .sd-date-box__content.sc-sd-date-box::before{content:"";position:absolute;top:0;left:-5px;width:calc(100% + 10px);height:100%;background:#D9EAFF}.sd-date-box.sd-date-box--in-range.sd-date-box--type-start.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::before{left:auto !important;width:19px !important;right:-5px}.sd-date-box.sd-date-box--in-range.sd-date-box--type-end.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::before{width:19px !important}.sd-date-box.sd-date-box--in-range.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box{font-weight:500}.sd-date-box.sd-date-box--selected.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::after,.sd-date-box.sd-date-box--type-start.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::after,.sd-date-box.sd-date-box--type-end.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::after{content:"";position:absolute;inset:0;background:#0075FF;border-radius:14px;z-index:1}.sd-date-box.sd-date-box--selected.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box,.sd-date-box.sd-date-box--type-start.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box,.sd-date-box.sd-date-box--type-end.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box{color:white;font-weight:700}.sd-date-box.sd-date-box--start-date.sd-date-box--end-date.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::before{display:none !important}.sd-date-box.sd-date-box--today.sc-sd-date-box:not(.sd-date-box--selected) .sd-date-box__content.sc-sd-date-box::after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:28px;height:28px;border:1px solid #E1E1E1 !important;border-radius:14px}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h } from './index-BpO2YWvq.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-D3yCWQNg.js';
2
2
  import { n as nanoid } from './index-CCwNgVmC.js';
3
3
  import { D as DATEPICKER_COLORS, a as DATEPICKER_SIZE_MAP } from './sd-date-picker.config-6dvDZPGx.js';
4
4
  import { i as inputTokens } from './component.textinput-e0ABNkP6.js';
@@ -104,9 +104,9 @@ const SdDatePicker = class {
104
104
  '--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
105
105
  '--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
106
106
  };
107
- return (h("sd-field", { key: '12d77a181caa4a6a9125db8a5c823149386ee059', 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, 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("div", { key: '2abc775817955caf06dd721d7b91c65d1bfd54de', class: "sd-date-picker", ref: el => {
107
+ return (h("sd-field", { key: 'baa957e5534b6587da2ef067ecad4a0934693800', 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, 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("div", { key: '652f9f5c6bd5c6ee58f3c89eee45325a98234ac0', class: "sd-date-picker", ref: el => {
108
108
  this.triggerRef = el;
109
- } }, h("sd-date-picker-trigger", { key: 'c8c041a503785e35ac4a14d902eeef0a20fa2dd7', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '2c3bf831068ca090247fa4494fac6c2ce3b20e81', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-calendar", { key: '52df44d23b85540cbca17c352aba5568ff43685d', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
109
+ } }, h("sd-date-picker-trigger", { key: '7b0f81badbcf7ca283afd274b4572e4a6eaa590b', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: '65fbe892e4cdd9d643b5000d69220b5e28972902', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-calendar", { key: 'e9187264f336295907f1d5574810df4a07a0f114', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
110
110
  }
111
111
  static get watchers() { return {
112
112
  "isOpen": [{
@@ -649,12 +649,12 @@ const SdInput = class {
649
649
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
650
650
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
651
651
  };
652
- return (h("sd-field", { key: '184bd0b614071b1c26d0ef3588db8eea1ac519cb', 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, readonly: this.readonly, 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: '599d757b62bd61be0ba5c2dde2e1030b4d6f2973', class: "sd-input__content" }, h("slot", { key: '8b71b1449225e51cbab4204e34c077d83101e09e', name: "prefix" }), h("input", { key: 'ed48cf8544adc9e3475229b03129ace0af0e6d4e', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), 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: 'f084df7c3174756111c6eeb824202e26273d369a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: '62f87c780b971ef43ec9bd15ae47d1f773ec18ca', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
652
+ return (h("sd-field", { key: 'fce402fae267b5700501e44935f23bebc28efb62', 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, readonly: this.readonly, 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: 'f7d8f95cf5ee38a7aa2e44940ba39b9eb001064c', class: "sd-input__content" }, h("slot", { key: '23f1f770a268a0798293420ce0df9e5cc94e07b2', name: "prefix" }), h("input", { key: 'b8c041cc4a8761cf1cf93a8d1af139cd7720d2d8', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), 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: '5a288d50726b21c156da480937b9759e6c76d33a', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (h("sd-ghost-button", { key: 'b5315624a6fd5fdcb70526b1abea4fbac83641c1', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
653
653
  if (this.disabled || this.readonly)
654
654
  return;
655
655
  this.internalValue = '';
656
656
  await this.formField?.sdValidate();
657
- } })), this.type === 'password' && (h("sd-ghost-button", { key: '83f511acdc0db74f6d7745e4a47c731f9bcf9bb5', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
657
+ } })), this.type === 'password' && (h("sd-ghost-button", { key: '5ae70d65c531db0bc57d17f85c328a275f7aab2b', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
658
658
  if (this.disabled || this.readonly)
659
659
  return;
660
660
  this.passwordVisible = !this.passwordVisible;
@@ -1040,15 +1040,15 @@ const SdNumberInput = class {
1040
1040
  '--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
1041
1041
  '--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
1042
1042
  };
1043
- return (h("sd-field", { key: '36525cd069e57fc9177e25065381f722d1afa66e', 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, readonly: this.readonly, 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("div", { key: '47e0981ffcd5dd5182fa5586fda0014be865da9e', class: {
1043
+ return (h("sd-field", { key: '53c6935bbf98ed1eb0f28d6bed675ea369b0b2bc', 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, readonly: this.readonly, 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("div", { key: '8f0da8b179cd3946d625ab6b525a2ffd614a5333', class: {
1044
1044
  'sd-number-input__content': true,
1045
1045
  'sd-number-input__content--no-stepper': !this.useButton,
1046
- } }, this.useButton && (h("button", { key: '7f5afc1ded2c889ccf7d689f4ee058cb171571d9', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'fd980fd4e568feaaebb19621ca837201bea519dd', name: "minus", size: iconSize, color: this.isDecrementDisabled()
1046
+ } }, this.useButton && (h("button", { key: '1be42c16d5e671c567d4768f505c2c17c50f1b60', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, h("sd-icon", { key: 'dc074328208c8da2ee43ea2cb03dbc838b7d46c9', name: "minus", size: iconSize, color: this.isDecrementDisabled()
1047
1047
  ? NUMBER_INPUT_STEPPER.icon.disabled
1048
- : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '2af6450d437cc765697e0bb4c8a0fcb58a9abd2f', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: '21396363bd0e08f1639cd5a56b0bb7d5c9acd6c1', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
1048
+ : NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && h("span", { key: '84896d40d79e936480052ab45d618cd73550ee87', class: "sd-number-input__prefix" }, this.inputPrefix), h("input", { key: 'f2c8995b6c059c2a4130018b2ff0c7eabcd7abfb', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
1049
1049
  textAlign: this.useButton ? 'center' : 'right',
1050
1050
  ...this.inputStyle,
1051
- } }), this.inputSuffix && h("span", { key: 'd3cd84cd41e0161cfe0b13ed44b412991e498a92', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '0a1fdf262b953ce79515ab9771d3177560e11eed', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '5ffd93512d528309a9051d01f59bb31f1b1f9bb8', name: "add", size: iconSize, color: this.isIncrementDisabled()
1051
+ } }), this.inputSuffix && h("span", { key: 'd6b1ca9f5991f1b2382dd4a35ae4f20832192e3c', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (h("button", { key: '56a59f94ca27e8ef4255cabdd5fe003c602bb8d6', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, h("sd-icon", { key: '1b8fca91e893b5ade47ed63db4d4d54933c94e53', name: "add", size: iconSize, color: this.isIncrementDisabled()
1052
1052
  ? NUMBER_INPUT_STEPPER.icon.disabled
1053
1053
  : NUMBER_INPUT_STEPPER.icon.default }))))));
1054
1054
  }
@@ -1230,7 +1230,7 @@ const SdTextarea = class {
1230
1230
  '--sd-system-size-field-sm-height': 'auto',
1231
1231
  '--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
1232
1232
  };
1233
- return (h("sd-field", { key: '040a857ec7eed2400e115d7a48a3497fc0ce9c95', 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, readonly: this.readonly, 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("div", { key: '465f284ad513125b43632c0ab883482149b4aab5', class: "sd-textarea__content" }, h("textarea", { key: '45afdfbffcf80a99c0b6fa611c7b9c84aeaa3ec6', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
1233
+ return (h("sd-field", { key: '2a1cd03e4f0fa5457b3164f1b6b71d808633414c', 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, readonly: this.readonly, 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("div", { key: 'b4e25ced8e583ed3d6e8a6026db0d3a2f198acb4', class: "sd-textarea__content" }, h("textarea", { key: '4faeceee380a7ab9a4ff337d16f46c4d7f42fa50', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
1234
1234
  }
1235
1235
  static get watchers() { return {
1236
1236
  "value": [{