@sellmate/design-system 1.20.1 → 1.22.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 (377) hide show
  1. package/dist/cjs/design-system.cjs.js +2 -2
  2. package/dist/cjs/{index-DXm0PH2A.js → index-C-F-JEv_.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/sd-action-modal.cjs.entry.js +8 -2
  5. package/dist/cjs/sd-badge.cjs.entry.js +3 -2
  6. package/dist/cjs/sd-barcode-input.cjs.entry.js +35 -2
  7. package/dist/cjs/sd-button_2.cjs.entry.js +16 -7
  8. package/dist/cjs/sd-calendar_2.cjs.entry.js +17 -6
  9. package/dist/cjs/sd-callout.cjs.entry.js +4 -2
  10. package/dist/cjs/sd-card.cjs.entry.js +4 -2
  11. package/dist/cjs/sd-checkbox.cjs.entry.js +21 -12
  12. package/dist/cjs/sd-chip-input.cjs.entry.js +76 -18
  13. package/dist/cjs/sd-chip.cjs.entry.js +19 -2
  14. package/dist/cjs/sd-circle-progress.cjs.entry.js +6 -2
  15. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +27 -4
  16. package/dist/cjs/sd-date-box.cjs.entry.js +13 -3
  17. package/dist/cjs/sd-date-picker_7.cjs.entry.js +209 -13
  18. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +7 -2
  19. package/dist/cjs/sd-divider.cjs.entry.js +1 -1
  20. package/dist/cjs/sd-dropdown-button.cjs.entry.js +11 -1
  21. package/dist/cjs/sd-field_3.cjs.entry.js +70 -12
  22. package/dist/cjs/sd-form.cjs.entry.js +10 -2
  23. package/dist/cjs/sd-ghost-button_3.cjs.entry.js +54 -15
  24. package/dist/cjs/sd-guide.cjs.entry.js +9 -3
  25. package/dist/cjs/sd-key-value-table.cjs.entry.js +3 -1
  26. package/dist/cjs/sd-linear-progress.cjs.entry.js +7 -4
  27. package/dist/cjs/sd-loading-container.cjs.entry.js +5 -3
  28. package/dist/cjs/sd-modal-container.cjs.entry.js +7 -1
  29. package/dist/cjs/sd-pagination_4.cjs.entry.js +121 -13
  30. package/dist/cjs/sd-popover.cjs.entry.js +21 -5
  31. package/dist/cjs/sd-popup.cjs.entry.js +7 -3
  32. package/dist/cjs/sd-radio-button.cjs.entry.js +8 -2
  33. package/dist/cjs/sd-radio.cjs.entry.js +7 -2
  34. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +18 -7
  35. package/dist/cjs/sd-select_3.cjs.entry.js +56 -9
  36. package/dist/cjs/sd-switch.cjs.entry.js +6 -2
  37. package/dist/cjs/sd-table.cjs.entry.js +42 -7
  38. package/dist/cjs/sd-tabs.cjs.entry.js +8 -2
  39. package/dist/cjs/sd-td.cjs.entry.js +11 -2
  40. package/dist/cjs/sd-text-link.cjs.entry.js +13 -4
  41. package/dist/cjs/sd-toast-container.cjs.entry.js +11 -2
  42. package/dist/cjs/sd-toast.cjs.entry.js +12 -3
  43. package/dist/cjs/sd-toggle.cjs.entry.js +6 -2
  44. package/dist/cjs/{tooltipArrow-D3P3JC08.js → tooltipArrow-26hYtSrD.js} +1 -1
  45. package/dist/collection/components/assets/CaretDown.js +1 -1
  46. package/dist/collection/components/assets/CaretLeft.js +1 -1
  47. package/dist/collection/components/assets/CaretRight.js +1 -1
  48. package/dist/collection/components/assets/CaretUp.js +1 -1
  49. package/dist/collection/components/sd-action-modal/sd-action-modal.js +13 -7
  50. package/dist/collection/components/sd-badge/sd-badge.js +3 -2
  51. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +67 -34
  52. package/dist/collection/components/sd-button/sd-button.js +18 -10
  53. package/dist/collection/components/sd-calendar/sd-calendar.js +15 -9
  54. package/dist/collection/components/sd-callout/sd-callout.js +5 -3
  55. package/dist/collection/components/sd-card/sd-card.js +5 -3
  56. package/dist/collection/components/sd-checkbox/sd-checkbox.config.js +5 -3
  57. package/dist/collection/components/sd-checkbox/sd-checkbox.css +16 -0
  58. package/dist/collection/components/sd-checkbox/sd-checkbox.js +5 -3
  59. package/dist/collection/components/sd-chip/sd-chip.js +35 -18
  60. package/dist/collection/components/sd-chip-input/sd-chip-input.css +6 -0
  61. package/dist/collection/components/sd-chip-input/sd-chip-input.js +107 -49
  62. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +9 -5
  63. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +32 -17
  64. package/dist/collection/components/sd-date-box/sd-date-box.js +22 -12
  65. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +12 -7
  66. package/dist/collection/components/sd-date-picker/sd-date-picker.js +48 -25
  67. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +11 -6
  68. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +50 -26
  69. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +20 -10
  70. package/dist/collection/components/sd-field/sd-field.js +51 -28
  71. package/dist/collection/components/sd-file-picker/sd-file-picker.js +60 -30
  72. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +32 -11
  73. package/dist/collection/components/sd-form/sd-form.js +17 -9
  74. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +28 -13
  75. package/dist/collection/components/sd-guide/sd-guide.js +14 -8
  76. package/dist/collection/components/sd-icon/sd-icon.js +2 -1
  77. package/dist/collection/components/sd-input/sd-input.js +82 -42
  78. package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +4 -2
  79. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +10 -7
  80. package/dist/collection/components/sd-loading-container/sd-loading-container.js +6 -4
  81. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +17 -9
  82. package/dist/collection/components/sd-modal-container/sd-modal-container.js +12 -6
  83. package/dist/collection/components/sd-number-input/sd-number-input.js +82 -43
  84. package/dist/collection/components/sd-pagination/sd-pagination.js +11 -7
  85. package/dist/collection/components/sd-popover/sd-popover.js +35 -19
  86. package/dist/collection/components/sd-popup/sd-popup.js +11 -7
  87. package/dist/collection/components/sd-portal/sd-portal.js +35 -14
  88. package/dist/collection/components/sd-radio/sd-radio.js +11 -6
  89. package/dist/collection/components/sd-radio-button/sd-radio-button.js +13 -7
  90. package/dist/collection/components/sd-radio-group/sd-radio-group.js +13 -7
  91. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +16 -9
  92. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +12 -8
  93. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +22 -12
  94. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +18 -10
  95. package/dist/collection/components/sd-select/sd-select.js +62 -33
  96. package/dist/collection/components/sd-switch/sd-switch.js +9 -5
  97. package/dist/collection/components/sd-table/sd-table.js +76 -41
  98. package/dist/collection/components/sd-table/sd-table.stories.helpers.js +97 -0
  99. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +4 -3
  100. package/dist/collection/components/sd-table/sd-td/sd-td.js +19 -10
  101. package/dist/collection/components/sd-table/sd-thead/sd-thead.css +21 -0
  102. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +113 -20
  103. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +22 -11
  104. package/dist/collection/components/sd-tabs/sd-tabs.js +13 -7
  105. package/dist/collection/components/sd-tag/sd-tag.js +10 -7
  106. package/dist/collection/components/sd-text-link/sd-text-link.js +21 -12
  107. package/dist/collection/components/sd-textarea/sd-textarea.js +69 -35
  108. package/dist/collection/components/sd-toast/sd-toast.js +20 -11
  109. package/dist/collection/components/sd-toast-container/sd-toast-container.js +19 -10
  110. package/dist/collection/components/sd-toggle/sd-toggle.js +9 -5
  111. package/dist/collection/components/sd-tooltip/sd-tooltip.js +30 -16
  112. package/dist/components/index.js +1 -1
  113. package/dist/components/{p-CUR9smP5.js → p-58DLP3IW.js} +1 -1
  114. package/dist/components/{p-CQozoo2-.js → p-B-Igud6n.js} +1 -1
  115. package/dist/components/{p-BZfVV3gu.js → p-B0myARGe.js} +1 -1
  116. package/dist/components/{p-CTPImLDQ.js → p-B12iH3Zk.js} +1 -1
  117. package/dist/components/{p-CoqA9KgU.js → p-B2bF2KlS.js} +1 -1
  118. package/dist/components/{p-MJG6EZeP.js → p-BFlmHQm9.js} +1 -1
  119. package/dist/{design-system/p-L_He_WSA.js → components/p-BRmilX-4.js} +1 -1
  120. package/dist/components/{p-Dl89_4C3.js → p-BXRgi3NZ.js} +1 -1
  121. package/dist/components/{p-BjcGzaFR.js → p-Bm3NWPaP.js} +1 -1
  122. package/dist/components/p-BpQwjSB8.js +1 -0
  123. package/dist/components/{p-CRwvv7YM.js → p-BpjmheLG.js} +1 -1
  124. package/dist/components/{p-5imde6N9.js → p-Bric-SEs.js} +1 -1
  125. package/dist/components/{p-CB2A3pJ5.js → p-BwTsP0Ak.js} +1 -1
  126. package/dist/components/{p-9Z-q6kKD.js → p-C1QezE7u.js} +1 -1
  127. package/dist/components/p-CCCwPJ5p.js +1 -0
  128. package/dist/components/p-CCO1WtEj.js +1 -0
  129. package/dist/components/p-CEKu7cxA.js +1 -0
  130. package/dist/components/{p-CrT06Uwc.js → p-CHxVi6l1.js} +1 -1
  131. package/dist/components/{p-DNnI3Nru.js → p-Cdzn78dP.js} +1 -1
  132. package/dist/components/p-Cj_1bYZF.js +1 -0
  133. package/dist/components/{p-ZvI5A-_t.js → p-Cjf8PHEl.js} +1 -1
  134. package/dist/components/{p-CJ69QmR3.js → p-Co2ThnbG.js} +1 -1
  135. package/dist/components/{p-gOIeNT-Z.js → p-CwSlRPMm.js} +1 -1
  136. package/dist/components/p-D7StBSjK.js +1 -0
  137. package/dist/components/{p-Bz93hWXV.js → p-DFbj6d3L.js} +1 -1
  138. package/dist/components/{p-B5bya7Gp.js → p-DlXBFtBO.js} +1 -1
  139. package/dist/components/{p-Rwc_ltPn.js → p-Du_qPqW-.js} +1 -1
  140. package/dist/components/{p-DIlNesBH.js → p-DzAvlr8W.js} +1 -1
  141. package/dist/components/{p-D99vy8Ip.js → p-FrqOl9KZ.js} +1 -1
  142. package/dist/components/{p-uSEbiD29.js → p-JMuxVcTW.js} +1 -1
  143. package/dist/components/{p-DertIGhs.js → p-OjchKJGr.js} +1 -1
  144. package/dist/components/p-S2-XqY2R.js +1 -0
  145. package/dist/components/{p-DDAA-zcg.js → p-YCGkwgiM.js} +1 -1
  146. package/dist/components/{p-DZTxHJlP.js → p-ZvP2Ce6J.js} +1 -1
  147. package/dist/components/p-kRH2GOb0.js +1 -0
  148. package/dist/components/{p-FTvXz0-a.js → p-mcMbSkii.js} +1 -1
  149. package/dist/components/{p-BiBLp9_a.js → p-vPS2GNz3.js} +1 -1
  150. package/dist/components/sd-action-modal.js +1 -1
  151. package/dist/components/sd-badge.js +1 -1
  152. package/dist/components/sd-barcode-input.js +1 -1
  153. package/dist/components/sd-button.js +1 -1
  154. package/dist/components/sd-calendar.js +1 -1
  155. package/dist/components/sd-callout.js +1 -1
  156. package/dist/components/sd-card.js +1 -1
  157. package/dist/components/sd-checkbox.js +1 -1
  158. package/dist/components/sd-chip-input.js +1 -1
  159. package/dist/components/sd-chip.js +1 -1
  160. package/dist/components/sd-circle-progress.js +1 -1
  161. package/dist/components/sd-confirm-modal.js +1 -1
  162. package/dist/components/sd-date-box.js +1 -1
  163. package/dist/components/sd-date-picker-trigger.js +1 -1
  164. package/dist/components/sd-date-picker.js +1 -1
  165. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  166. package/dist/components/sd-date-range-picker.js +1 -1
  167. package/dist/components/sd-divider.js +1 -1
  168. package/dist/components/sd-dropdown-button.js +1 -1
  169. package/dist/components/sd-field.js +1 -1
  170. package/dist/components/sd-file-picker.js +1 -1
  171. package/dist/components/sd-floating-portal.js +1 -1
  172. package/dist/components/sd-form.js +1 -1
  173. package/dist/components/sd-ghost-button.js +1 -1
  174. package/dist/components/sd-guide.js +1 -1
  175. package/dist/components/sd-icon.js +1 -1
  176. package/dist/components/sd-input.js +1 -1
  177. package/dist/components/sd-key-value-table.js +1 -1
  178. package/dist/components/sd-linear-progress.js +1 -1
  179. package/dist/components/sd-loading-container.js +1 -1
  180. package/dist/components/sd-loading-modal.js +1 -1
  181. package/dist/components/sd-modal-container.js +1 -1
  182. package/dist/components/sd-number-input.js +1 -1
  183. package/dist/components/sd-pagination.js +1 -1
  184. package/dist/components/sd-popover.js +1 -1
  185. package/dist/components/sd-popup.js +1 -1
  186. package/dist/components/sd-portal.js +1 -1
  187. package/dist/components/sd-radio-button.js +1 -1
  188. package/dist/components/sd-radio-group.js +1 -1
  189. package/dist/components/sd-radio.js +1 -1
  190. package/dist/components/sd-select-list-item-search.js +1 -1
  191. package/dist/components/sd-select-list-item.js +1 -1
  192. package/dist/components/sd-select-listbox.js +1 -1
  193. package/dist/components/sd-select-trigger.js +1 -1
  194. package/dist/components/sd-select.js +1 -1
  195. package/dist/components/sd-switch.js +1 -1
  196. package/dist/components/sd-table.js +1 -1
  197. package/dist/components/sd-tabs.js +1 -1
  198. package/dist/components/sd-tag.js +1 -1
  199. package/dist/components/sd-tbody.js +1 -1
  200. package/dist/components/sd-td.js +1 -1
  201. package/dist/components/sd-text-link.js +1 -1
  202. package/dist/components/sd-textarea.js +1 -1
  203. package/dist/components/sd-thead.js +1 -1
  204. package/dist/components/sd-toast-container.js +1 -1
  205. package/dist/components/sd-toast.js +1 -1
  206. package/dist/components/sd-toggle.js +1 -1
  207. package/dist/components/sd-tooltip.js +1 -1
  208. package/dist/components/sd-tr.js +1 -1
  209. package/dist/design-system/design-system.css +1 -1
  210. package/dist/design-system/design-system.esm.js +1 -1
  211. package/dist/design-system/p-14447dd5.entry.js +1 -0
  212. package/dist/design-system/{p-e9d1dbb5.entry.js → p-274dbc65.entry.js} +1 -1
  213. package/dist/design-system/{p-b291baab.entry.js → p-2ba0b35a.entry.js} +1 -1
  214. package/dist/design-system/{p-52f551a1.entry.js → p-2ca4902b.entry.js} +1 -1
  215. package/dist/design-system/p-2df32f8c.entry.js +1 -0
  216. package/dist/design-system/{p-cb80327c.entry.js → p-35da166a.entry.js} +1 -1
  217. package/dist/design-system/p-35e1e2fa.entry.js +1 -0
  218. package/dist/design-system/p-4bbc894b.entry.js +1 -0
  219. package/dist/design-system/{p-6ce68bf2.entry.js → p-4bc0ce52.entry.js} +1 -1
  220. package/dist/design-system/p-4c1559c8.entry.js +1 -0
  221. package/dist/design-system/{p-da4e2674.entry.js → p-4eeca0cb.entry.js} +1 -1
  222. package/dist/design-system/{p-646a7830.entry.js → p-4f69fde0.entry.js} +1 -1
  223. package/dist/design-system/{p-ccf1a3fc.entry.js → p-50b5cf37.entry.js} +1 -1
  224. package/dist/design-system/p-52e88677.entry.js +1 -0
  225. package/dist/design-system/{p-4acfc5f9.entry.js → p-552acf98.entry.js} +1 -1
  226. package/dist/design-system/{p-23006577.entry.js → p-563a8242.entry.js} +1 -1
  227. package/dist/design-system/{p-e3990243.entry.js → p-68687503.entry.js} +1 -1
  228. package/dist/design-system/{p-1f3c1cca.entry.js → p-6d8a4a23.entry.js} +1 -1
  229. package/dist/design-system/{p-d5032f31.entry.js → p-7c507d39.entry.js} +1 -1
  230. package/dist/design-system/{p-717eba5f.entry.js → p-88926a42.entry.js} +1 -1
  231. package/dist/design-system/{p-35d390f1.entry.js → p-90436be8.entry.js} +1 -1
  232. package/dist/design-system/{p-9289eb14.entry.js → p-99f33027.entry.js} +1 -1
  233. package/dist/design-system/{p-c47198fc.entry.js → p-9a010c12.entry.js} +1 -1
  234. package/dist/design-system/{p-54853a2b.entry.js → p-9dc0c2f9.entry.js} +1 -1
  235. package/dist/{components/p-Bg9XySrz.js → design-system/p-C7HJ-NfO.js} +2 -1
  236. package/dist/{components/p-0VCXAYrh.js → design-system/p-DUyBmuH_.js} +1 -1
  237. package/dist/design-system/{p-d5c3bac9.entry.js → p-a71a8b31.entry.js} +1 -1
  238. package/dist/design-system/{p-a4331364.entry.js → p-a80cc067.entry.js} +1 -1
  239. package/dist/design-system/{p-ae344950.entry.js → p-abcc9367.entry.js} +1 -1
  240. package/dist/design-system/p-ac81b46e.entry.js +1 -0
  241. package/dist/design-system/{p-08343698.entry.js → p-b881bbb6.entry.js} +1 -1
  242. package/dist/design-system/{p-2151e081.entry.js → p-bfba449b.entry.js} +1 -1
  243. package/dist/design-system/p-c684cd96.entry.js +1 -0
  244. package/dist/design-system/{p-b63b8df9.entry.js → p-c93c623f.entry.js} +1 -1
  245. package/dist/design-system/{p-98e0b332.entry.js → p-ccc85130.entry.js} +1 -1
  246. package/dist/design-system/{p-aa1c6202.entry.js → p-ce5df7ef.entry.js} +1 -1
  247. package/dist/design-system/{p-adfddf3b.entry.js → p-ce83eca1.entry.js} +1 -1
  248. package/dist/design-system/{p-7ed8c8f1.entry.js → p-d5b535ad.entry.js} +1 -1
  249. package/dist/design-system/{p-df7c721d.entry.js → p-e310f188.entry.js} +1 -1
  250. package/dist/design-system/p-e7d4b78e.entry.js +1 -0
  251. package/dist/design-system/{p-bdb7492c.entry.js → p-fc65bbe2.entry.js} +1 -1
  252. package/dist/design-system/{p-a5a586da.entry.js → p-ff726fad.entry.js} +1 -1
  253. package/dist/esm/design-system.js +3 -3
  254. package/dist/esm/{index-CAxodB5I.js → index-C7HJ-NfO.js} +1 -1
  255. package/dist/esm/loader.js +3 -3
  256. package/dist/esm/sd-action-modal.entry.js +8 -2
  257. package/dist/esm/sd-badge.entry.js +3 -2
  258. package/dist/esm/sd-barcode-input.entry.js +35 -2
  259. package/dist/esm/sd-button_2.entry.js +16 -7
  260. package/dist/esm/sd-calendar_2.entry.js +17 -6
  261. package/dist/esm/sd-callout.entry.js +4 -2
  262. package/dist/esm/sd-card.entry.js +4 -2
  263. package/dist/esm/sd-checkbox.entry.js +21 -12
  264. package/dist/esm/sd-chip-input.entry.js +76 -18
  265. package/dist/esm/sd-chip.entry.js +19 -2
  266. package/dist/esm/sd-circle-progress.entry.js +6 -2
  267. package/dist/esm/sd-confirm-modal_2.entry.js +27 -4
  268. package/dist/esm/sd-date-box.entry.js +13 -3
  269. package/dist/esm/sd-date-picker_7.entry.js +209 -13
  270. package/dist/esm/sd-date-range-picker-calendar.entry.js +7 -2
  271. package/dist/esm/sd-divider.entry.js +1 -1
  272. package/dist/esm/sd-dropdown-button.entry.js +11 -1
  273. package/dist/esm/sd-field_3.entry.js +70 -12
  274. package/dist/esm/sd-form.entry.js +10 -2
  275. package/dist/esm/sd-ghost-button_3.entry.js +54 -15
  276. package/dist/esm/sd-guide.entry.js +9 -3
  277. package/dist/esm/sd-key-value-table.entry.js +3 -1
  278. package/dist/esm/sd-linear-progress.entry.js +7 -4
  279. package/dist/esm/sd-loading-container.entry.js +5 -3
  280. package/dist/esm/sd-modal-container.entry.js +7 -1
  281. package/dist/esm/sd-pagination_4.entry.js +121 -13
  282. package/dist/esm/sd-popover.entry.js +21 -5
  283. package/dist/esm/sd-popup.entry.js +7 -3
  284. package/dist/esm/sd-radio-button.entry.js +8 -2
  285. package/dist/esm/sd-radio.entry.js +7 -2
  286. package/dist/esm/sd-select-list-item_2.entry.js +18 -7
  287. package/dist/esm/sd-select_3.entry.js +56 -9
  288. package/dist/esm/sd-switch.entry.js +6 -2
  289. package/dist/esm/sd-table.entry.js +42 -7
  290. package/dist/esm/sd-tabs.entry.js +8 -2
  291. package/dist/esm/sd-td.entry.js +11 -2
  292. package/dist/esm/sd-text-link.entry.js +13 -4
  293. package/dist/esm/sd-toast-container.entry.js +11 -2
  294. package/dist/esm/sd-toast.entry.js +12 -3
  295. package/dist/esm/sd-toggle.entry.js +6 -2
  296. package/dist/esm/{tooltipArrow-DLr6VvUK.js → tooltipArrow-Bgf3crs7.js} +1 -1
  297. package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +6 -0
  298. package/dist/types/components/sd-badge/sd-badge.d.ts +1 -0
  299. package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +33 -0
  300. package/dist/types/components/sd-button/sd-button.d.ts +8 -0
  301. package/dist/types/components/sd-calendar/sd-calendar.d.ts +6 -0
  302. package/dist/types/components/sd-callout/sd-callout.d.ts +2 -0
  303. package/dist/types/components/sd-card/sd-card.d.ts +2 -0
  304. package/dist/types/components/sd-checkbox/sd-checkbox.config.d.ts +2 -0
  305. package/dist/types/components/sd-chip/sd-chip.d.ts +17 -0
  306. package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +33 -0
  307. package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +4 -0
  308. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +15 -0
  309. package/dist/types/components/sd-date-box/sd-date-box.d.ts +10 -0
  310. package/dist/types/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.d.ts +5 -0
  311. package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +23 -0
  312. package/dist/types/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.d.ts +5 -0
  313. package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +24 -0
  314. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +10 -0
  315. package/dist/types/components/sd-field/sd-field.d.ts +23 -0
  316. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +30 -0
  317. package/dist/types/components/sd-floating-portal/sd-floating-portal.d.ts +12 -0
  318. package/dist/types/components/sd-form/sd-form.d.ts +8 -0
  319. package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +7 -0
  320. package/dist/types/components/sd-guide/sd-guide.d.ts +6 -0
  321. package/dist/types/components/sd-icon/sd-icon.d.ts +1 -0
  322. package/dist/types/components/sd-input/sd-input.d.ts +40 -0
  323. package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +2 -0
  324. package/dist/types/components/sd-linear-progress/sd-linear-progress.d.ts +4 -0
  325. package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +2 -0
  326. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +8 -0
  327. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -0
  328. package/dist/types/components/sd-number-input/sd-number-input.d.ts +39 -0
  329. package/dist/types/components/sd-pagination/sd-pagination.d.ts +4 -0
  330. package/dist/types/components/sd-popover/sd-popover.d.ts +16 -0
  331. package/dist/types/components/sd-popup/sd-popup.d.ts +5 -0
  332. package/dist/types/components/sd-portal/sd-portal.d.ts +13 -0
  333. package/dist/types/components/sd-radio/sd-radio.d.ts +5 -0
  334. package/dist/types/components/sd-radio-button/sd-radio-button.d.ts +6 -0
  335. package/dist/types/components/sd-radio-group/sd-radio-group.d.ts +6 -0
  336. package/dist/types/components/sd-select/sd-select-list-item/sd-select-list-item.d.ts +7 -0
  337. package/dist/types/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.d.ts +4 -0
  338. package/dist/types/components/sd-select/sd-select-listbox/sd-select-listbox.d.ts +10 -0
  339. package/dist/types/components/sd-select/sd-select-trigger/sd-select-trigger.d.ts +8 -0
  340. package/dist/types/components/sd-select/sd-select.d.ts +29 -0
  341. package/dist/types/components/sd-switch/sd-switch.d.ts +4 -0
  342. package/dist/types/components/sd-table/constants.d.ts +1 -0
  343. package/dist/types/components/sd-table/sd-table.d.ts +35 -0
  344. package/dist/types/components/sd-table/sd-table.stories.helpers.d.ts +10 -0
  345. package/dist/types/components/sd-table/sd-tbody/sd-tbody.d.ts +1 -0
  346. package/dist/types/components/sd-table/sd-td/sd-td.d.ts +9 -0
  347. package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +21 -0
  348. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +11 -0
  349. package/dist/types/components/sd-tabs/sd-tabs.d.ts +6 -0
  350. package/dist/types/components/sd-tag/sd-tag.d.ts +4 -0
  351. package/dist/types/components/sd-text-link/sd-text-link.d.ts +9 -0
  352. package/dist/types/components/sd-textarea/sd-textarea.d.ts +34 -0
  353. package/dist/types/components/sd-toast/sd-toast.d.ts +9 -0
  354. package/dist/types/components/sd-toast-container/sd-toast-container.d.ts +9 -0
  355. package/dist/types/components/sd-toggle/sd-toggle.d.ts +4 -0
  356. package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +14 -0
  357. package/dist/types/components.d.ts +1827 -7
  358. package/hydrate/index.js +949 -146
  359. package/hydrate/index.mjs +949 -146
  360. package/package.json +1 -1
  361. package/dist/components/p-B7PHGGFH.js +0 -1
  362. package/dist/components/p-CLlAhEDc.js +0 -1
  363. package/dist/components/p-CXeOxSQ-.js +0 -1
  364. package/dist/components/p-CZfsknba.js +0 -1
  365. package/dist/components/p-CvSqieCH.js +0 -1
  366. package/dist/components/p-P2jWtk8J.js +0 -1
  367. package/dist/components/p-xkRWGISE.js +0 -1
  368. package/dist/design-system/p-17dcf0e4.entry.js +0 -1
  369. package/dist/design-system/p-316b8a08.entry.js +0 -1
  370. package/dist/design-system/p-5039241c.entry.js +0 -1
  371. package/dist/design-system/p-5eaa12af.entry.js +0 -1
  372. package/dist/design-system/p-9c38ee79.entry.js +0 -1
  373. package/dist/design-system/p-CAxodB5I.js +0 -2
  374. package/dist/design-system/p-c995e6c3.entry.js +0 -1
  375. package/dist/design-system/p-eef6d4a3.entry.js +0 -1
  376. package/dist/design-system/p-faf7b64c.entry.js +0 -1
  377. package/dist/design-system/p-fd7abbfa.entry.js +0 -1
@@ -3,38 +3,66 @@ import { nanoid } from "nanoid/non-secure";
3
3
  import { BARCODE_INPUT_COLORS, BARCODE_INPUT_SIZE_MAP, } from "./sd-barcode-input.config";
4
4
  export class SdBarcodeInput {
5
5
  host;
6
+ /** 입력값 */
6
7
  value = null;
8
+ /** 입력 필드 크기 */
7
9
  size = 'sm';
10
+ /** 필드 우측 어드온 레이블 */
8
11
  addonLabel = '';
12
+ /** 어드온 정렬 방향 */
9
13
  addonAlign = 'start';
14
+ /** 입력 placeholder */
10
15
  placeholder = '입력해 주세요.';
16
+ /** 비활성 상태 여부 */
11
17
  disabled = false;
18
+ /** 입력값 지우기 버튼 표시 여부 */
12
19
  clearable = false;
20
+ /** 필드 너비 (숫자면 px, 문자열이면 그대로 적용) */
13
21
  width = '';
22
+ /** 유효성 검사 규칙 목록 */
14
23
  rules = [];
24
+ /** 마운트 시 자동 포커스 여부 */
15
25
  autoFocus = false;
26
+ /** 필드 상태 (없으면 rules 결과로 자동 결정) */
16
27
  status;
28
+ /** 필드 하단 힌트 텍스트 */
17
29
  hint = '';
30
+ /** 에러 메시지 */
18
31
  errorMessage = '';
32
+ /** 네이티브 input에 추가할 클래스 */
19
33
  inputClass = '';
34
+ /** 읽기 전용 여부 */
20
35
  readonly = false;
36
+ /** 에러 상태 여부 */
21
37
  error = false;
38
+ /** 포커스 상태 여부 */
22
39
  focused = false;
40
+ /** 호버 상태 여부 */
23
41
  hovered = false;
24
42
  // props - label
43
+ /** 레이블 텍스트 */
25
44
  label = '';
45
+ /** 레이블 너비 */
26
46
  labelWidth = '';
47
+ /** 레이블 영역 아이콘 */
27
48
  icon = undefined;
49
+ /** 레이블 툴팁 텍스트 */
28
50
  labelTooltip = '';
51
+ /** 레이블 툴팁 상세 옵션 */
29
52
  labelTooltipProps = null;
30
53
  // props - custom styles
54
+ /** 네이티브 input에 적용할 인라인 스타일 */
31
55
  inputStyle = {};
32
56
  internalValue = null;
33
57
  nativeEl = undefined;
34
58
  formField;
59
+ /** 폼 연동용 name 속성 */
35
60
  name = nanoid();
61
+ /** 입력값 변경 시 발생합니다. */
36
62
  input;
63
+ /** 포커스 진입 시 발생합니다. */
37
64
  focus;
65
+ /** 포커스 이탈 시 발생합니다. */
38
66
  blur;
39
67
  valueChanged(newValue) {
40
68
  this.internalValue = newValue;
@@ -45,18 +73,23 @@ export class SdBarcodeInput {
45
73
  this.input?.emit(this.value);
46
74
  }
47
75
  }
76
+ /** 네이티브 input 엘리먼트를 반환합니다. */
48
77
  async sdGetNativeElement() {
49
78
  return this.nativeEl || null;
50
79
  }
80
+ /** 유효성 검사를 실행합니다. */
51
81
  async sdValidate() {
52
82
  this.formField?.sdValidate();
53
83
  }
84
+ /** 입력값과 유효성 상태를 초기화합니다. */
54
85
  async sdReset() {
55
86
  this.formField?.sdReset();
56
87
  }
88
+ /** 유효성 상태만 초기화합니다. */
57
89
  async sdResetValidate() {
58
90
  this.formField?.sdResetValidation();
59
91
  }
92
+ /** 입력 필드에 포커스를 이동합니다. */
60
93
  async sdFocus() {
61
94
  this.formField?.sdFocus();
62
95
  }
@@ -102,7 +135,7 @@ export class SdBarcodeInput {
102
135
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
103
136
  '--sd-system-color-field-bg-default': BARCODE_INPUT_COLORS.bg.barcode,
104
137
  };
105
- return (h("sd-field", { key: '453566ff018ea2131361fcc18d6094491d3b04dd', 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: '153174624e5ec10908df6f40711a7a37039ab67b', class: "sd-barcode-input__content" }, h("slot", { key: 'ce9326a5b3157ad511171f48ee95dd2ce6a6b5dd', name: "prefix" }), h("input", { key: '069c037e8c27575f70ebfed9c2b2e61817f202f5', name: this.name, ref: el => (this.nativeEl = el), class: `sd-barcode-input__native ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '7ba3162a850e8d3d787ee44aaa807bb5be54cddc', name: "suffix" }), this.clearable && this.internalValue && (h("sd-ghost-button", { key: 'f12e8083d050d96b34cad2d332d5aeb08f4f3913', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-barcode-input__clear-icon", onClick: async () => {
138
+ return (h("sd-field", { key: '9f9831c9f39e4723cad6567b22155ab89856c9be', 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: '1da8ce2ef66e48f269b79f22e6751ccf18ca9cc0', class: "sd-barcode-input__content" }, h("slot", { key: '06850214ee5118ff3d13266c1ade37902c19f379', name: "prefix" }), h("input", { key: '0384b010946b635cc6b19ddb1a83be593ba5806b', name: this.name, ref: el => (this.nativeEl = el), class: `sd-barcode-input__native ${this.inputClass}`, type: "text", value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), h("slot", { key: '2bb5baed7b300014e52795d3a7665a580b7ff5a2', name: "suffix" }), this.clearable && this.internalValue && (h("sd-ghost-button", { key: 'fc586fdb39a1dc25eeba32c76aa86a653416c38e', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-barcode-input__clear-icon", onClick: async () => {
106
139
  if (this.disabled)
107
140
  return;
108
141
  this.internalValue = '';
@@ -134,7 +167,7 @@ export class SdBarcodeInput {
134
167
  "optional": true,
135
168
  "docs": {
136
169
  "tags": [],
137
- "text": ""
170
+ "text": "\uC785\uB825\uAC12"
138
171
  },
139
172
  "getter": false,
140
173
  "setter": false,
@@ -161,7 +194,7 @@ export class SdBarcodeInput {
161
194
  "optional": false,
162
195
  "docs": {
163
196
  "tags": [],
164
- "text": ""
197
+ "text": "\uC785\uB825 \uD544\uB4DC \uD06C\uAE30"
165
198
  },
166
199
  "getter": false,
167
200
  "setter": false,
@@ -181,7 +214,7 @@ export class SdBarcodeInput {
181
214
  "optional": false,
182
215
  "docs": {
183
216
  "tags": [],
184
- "text": ""
217
+ "text": "\uD544\uB4DC \uC6B0\uCE21 \uC5B4\uB4DC\uC628 \uB808\uC774\uBE14"
185
218
  },
186
219
  "getter": false,
187
220
  "setter": false,
@@ -208,7 +241,7 @@ export class SdBarcodeInput {
208
241
  "optional": false,
209
242
  "docs": {
210
243
  "tags": [],
211
- "text": ""
244
+ "text": "\uC5B4\uB4DC\uC628 \uC815\uB82C \uBC29\uD5A5"
212
245
  },
213
246
  "getter": false,
214
247
  "setter": false,
@@ -228,7 +261,7 @@ export class SdBarcodeInput {
228
261
  "optional": false,
229
262
  "docs": {
230
263
  "tags": [],
231
- "text": ""
264
+ "text": "\uC785\uB825 placeholder"
232
265
  },
233
266
  "getter": false,
234
267
  "setter": false,
@@ -248,7 +281,7 @@ export class SdBarcodeInput {
248
281
  "optional": false,
249
282
  "docs": {
250
283
  "tags": [],
251
- "text": ""
284
+ "text": "\uBE44\uD65C\uC131 \uC0C1\uD0DC \uC5EC\uBD80"
252
285
  },
253
286
  "getter": false,
254
287
  "setter": false,
@@ -268,7 +301,7 @@ export class SdBarcodeInput {
268
301
  "optional": false,
269
302
  "docs": {
270
303
  "tags": [],
271
- "text": ""
304
+ "text": "\uC785\uB825\uAC12 \uC9C0\uC6B0\uAE30 \uBC84\uD2BC \uD45C\uC2DC \uC5EC\uBD80"
272
305
  },
273
306
  "getter": false,
274
307
  "setter": false,
@@ -288,7 +321,7 @@ export class SdBarcodeInput {
288
321
  "optional": false,
289
322
  "docs": {
290
323
  "tags": [],
291
- "text": ""
324
+ "text": "\uD544\uB4DC \uB108\uBE44 (\uC22B\uC790\uBA74 px, \uBB38\uC790\uC5F4\uC774\uBA74 \uADF8\uB300\uB85C \uC801\uC6A9)"
292
325
  },
293
326
  "getter": false,
294
327
  "setter": false,
@@ -315,7 +348,7 @@ export class SdBarcodeInput {
315
348
  "optional": true,
316
349
  "docs": {
317
350
  "tags": [],
318
- "text": ""
351
+ "text": "\uC720\uD6A8\uC131 \uAC80\uC0AC \uADDC\uCE59 \uBAA9\uB85D"
319
352
  },
320
353
  "getter": false,
321
354
  "setter": false,
@@ -333,7 +366,7 @@ export class SdBarcodeInput {
333
366
  "optional": false,
334
367
  "docs": {
335
368
  "tags": [],
336
- "text": ""
369
+ "text": "\uB9C8\uC6B4\uD2B8 \uC2DC \uC790\uB3D9 \uD3EC\uCEE4\uC2A4 \uC5EC\uBD80"
337
370
  },
338
371
  "getter": false,
339
372
  "setter": false,
@@ -353,7 +386,7 @@ export class SdBarcodeInput {
353
386
  "optional": true,
354
387
  "docs": {
355
388
  "tags": [],
356
- "text": ""
389
+ "text": "\uD544\uB4DC \uC0C1\uD0DC (\uC5C6\uC73C\uBA74 rules \uACB0\uACFC\uB85C \uC790\uB3D9 \uACB0\uC815)"
357
390
  },
358
391
  "getter": false,
359
392
  "setter": false,
@@ -372,7 +405,7 @@ export class SdBarcodeInput {
372
405
  "optional": false,
373
406
  "docs": {
374
407
  "tags": [],
375
- "text": ""
408
+ "text": "\uD544\uB4DC \uD558\uB2E8 \uD78C\uD2B8 \uD14D\uC2A4\uD2B8"
376
409
  },
377
410
  "getter": false,
378
411
  "setter": false,
@@ -392,7 +425,7 @@ export class SdBarcodeInput {
392
425
  "optional": false,
393
426
  "docs": {
394
427
  "tags": [],
395
- "text": ""
428
+ "text": "\uC5D0\uB7EC \uBA54\uC2DC\uC9C0"
396
429
  },
397
430
  "getter": false,
398
431
  "setter": false,
@@ -412,7 +445,7 @@ export class SdBarcodeInput {
412
445
  "optional": false,
413
446
  "docs": {
414
447
  "tags": [],
415
- "text": ""
448
+ "text": "\uB124\uC774\uD2F0\uBE0C input\uC5D0 \uCD94\uAC00\uD560 \uD074\uB798\uC2A4"
416
449
  },
417
450
  "getter": false,
418
451
  "setter": false,
@@ -432,7 +465,7 @@ export class SdBarcodeInput {
432
465
  "optional": false,
433
466
  "docs": {
434
467
  "tags": [],
435
- "text": ""
468
+ "text": "\uC77D\uAE30 \uC804\uC6A9 \uC5EC\uBD80"
436
469
  },
437
470
  "getter": false,
438
471
  "setter": false,
@@ -452,7 +485,7 @@ export class SdBarcodeInput {
452
485
  "optional": false,
453
486
  "docs": {
454
487
  "tags": [],
455
- "text": ""
488
+ "text": "\uC5D0\uB7EC \uC0C1\uD0DC \uC5EC\uBD80"
456
489
  },
457
490
  "getter": false,
458
491
  "setter": false,
@@ -472,7 +505,7 @@ export class SdBarcodeInput {
472
505
  "optional": false,
473
506
  "docs": {
474
507
  "tags": [],
475
- "text": ""
508
+ "text": "\uD3EC\uCEE4\uC2A4 \uC0C1\uD0DC \uC5EC\uBD80"
476
509
  },
477
510
  "getter": false,
478
511
  "setter": false,
@@ -492,7 +525,7 @@ export class SdBarcodeInput {
492
525
  "optional": false,
493
526
  "docs": {
494
527
  "tags": [],
495
- "text": ""
528
+ "text": "\uD638\uBC84 \uC0C1\uD0DC \uC5EC\uBD80"
496
529
  },
497
530
  "getter": false,
498
531
  "setter": false,
@@ -512,7 +545,7 @@ export class SdBarcodeInput {
512
545
  "optional": true,
513
546
  "docs": {
514
547
  "tags": [],
515
- "text": ""
548
+ "text": "\uB808\uC774\uBE14 \uD14D\uC2A4\uD2B8"
516
549
  },
517
550
  "getter": false,
518
551
  "setter": false,
@@ -532,7 +565,7 @@ export class SdBarcodeInput {
532
565
  "optional": false,
533
566
  "docs": {
534
567
  "tags": [],
535
- "text": ""
568
+ "text": "\uB808\uC774\uBE14 \uB108\uBE44"
536
569
  },
537
570
  "getter": false,
538
571
  "setter": false,
@@ -557,7 +590,7 @@ export class SdBarcodeInput {
557
590
  "optional": true,
558
591
  "docs": {
559
592
  "tags": [],
560
- "text": ""
593
+ "text": "\uB808\uC774\uBE14 \uC601\uC5ED \uC544\uC774\uCF58"
561
594
  },
562
595
  "getter": false,
563
596
  "setter": false,
@@ -575,7 +608,7 @@ export class SdBarcodeInput {
575
608
  "optional": false,
576
609
  "docs": {
577
610
  "tags": [],
578
- "text": ""
611
+ "text": "\uB808\uC774\uBE14 \uD234\uD301 \uD14D\uC2A4\uD2B8"
579
612
  },
580
613
  "getter": false,
581
614
  "setter": false,
@@ -602,7 +635,7 @@ export class SdBarcodeInput {
602
635
  "optional": false,
603
636
  "docs": {
604
637
  "tags": [],
605
- "text": ""
638
+ "text": "\uB808\uC774\uBE14 \uD234\uD301 \uC0C1\uC138 \uC635\uC158"
606
639
  },
607
640
  "getter": false,
608
641
  "setter": false,
@@ -620,7 +653,7 @@ export class SdBarcodeInput {
620
653
  "optional": false,
621
654
  "docs": {
622
655
  "tags": [],
623
- "text": ""
656
+ "text": "\uB124\uC774\uD2F0\uBE0C input\uC5D0 \uC801\uC6A9\uD560 \uC778\uB77C\uC778 \uC2A4\uD0C0\uC77C"
624
657
  },
625
658
  "getter": false,
626
659
  "setter": false,
@@ -638,7 +671,7 @@ export class SdBarcodeInput {
638
671
  "optional": false,
639
672
  "docs": {
640
673
  "tags": [],
641
- "text": ""
674
+ "text": "\uD3FC \uC5F0\uB3D9\uC6A9 name \uC18D\uC131"
642
675
  },
643
676
  "getter": false,
644
677
  "setter": false,
@@ -662,7 +695,7 @@ export class SdBarcodeInput {
662
695
  "composed": true,
663
696
  "docs": {
664
697
  "tags": [],
665
- "text": ""
698
+ "text": "\uC785\uB825\uAC12 \uBCC0\uACBD \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
666
699
  },
667
700
  "complexType": {
668
701
  "original": "string | number | null",
@@ -677,7 +710,7 @@ export class SdBarcodeInput {
677
710
  "composed": true,
678
711
  "docs": {
679
712
  "tags": [],
680
- "text": ""
713
+ "text": "\uD3EC\uCEE4\uC2A4 \uC9C4\uC785 \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
681
714
  },
682
715
  "complexType": {
683
716
  "original": "Event",
@@ -699,7 +732,7 @@ export class SdBarcodeInput {
699
732
  "composed": true,
700
733
  "docs": {
701
734
  "tags": [],
702
- "text": ""
735
+ "text": "\uD3EC\uCEE4\uC2A4 \uC774\uD0C8 \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
703
736
  },
704
737
  "complexType": {
705
738
  "original": "Event",
@@ -734,7 +767,7 @@ export class SdBarcodeInput {
734
767
  "return": "Promise<HTMLInputElement | null>"
735
768
  },
736
769
  "docs": {
737
- "text": "",
770
+ "text": "\uB124\uC774\uD2F0\uBE0C input \uC5D8\uB9AC\uBA3C\uD2B8\uB97C \uBC18\uD658\uD569\uB2C8\uB2E4.",
738
771
  "tags": []
739
772
  }
740
773
  },
@@ -751,7 +784,7 @@ export class SdBarcodeInput {
751
784
  "return": "Promise<void>"
752
785
  },
753
786
  "docs": {
754
- "text": "",
787
+ "text": "\uC720\uD6A8\uC131 \uAC80\uC0AC\uB97C \uC2E4\uD589\uD569\uB2C8\uB2E4.",
755
788
  "tags": []
756
789
  }
757
790
  },
@@ -768,7 +801,7 @@ export class SdBarcodeInput {
768
801
  "return": "Promise<void>"
769
802
  },
770
803
  "docs": {
771
- "text": "",
804
+ "text": "\uC785\uB825\uAC12\uACFC \uC720\uD6A8\uC131 \uC0C1\uD0DC\uB97C \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
772
805
  "tags": []
773
806
  }
774
807
  },
@@ -785,7 +818,7 @@ export class SdBarcodeInput {
785
818
  "return": "Promise<void>"
786
819
  },
787
820
  "docs": {
788
- "text": "",
821
+ "text": "\uC720\uD6A8\uC131 \uC0C1\uD0DC\uB9CC \uCD08\uAE30\uD654\uD569\uB2C8\uB2E4.",
789
822
  "tags": []
790
823
  }
791
824
  },
@@ -802,7 +835,7 @@ export class SdBarcodeInput {
802
835
  "return": "Promise<void>"
803
836
  },
804
837
  "docs": {
805
- "text": "",
838
+ "text": "\uC785\uB825 \uD544\uB4DC\uC5D0 \uD3EC\uCEE4\uC2A4\uB97C \uC774\uB3D9\uD569\uB2C8\uB2E4.",
806
839
  "tags": []
807
840
  }
808
841
  }
@@ -3,13 +3,21 @@ import { Icons } from "../assets/index";
3
3
  import { BUTTON_CONFIG, BUTTON_FOCUS_RING_COLOR, BUTTON_ICON_SIZES, PRESET_BORDER_COLORS, PRESET_TEXT_COLORS, PRESET_ICON_COLORS, PRESET_HOVER_BACKGROUNDS, getPresetName, isButtonName, } from "./sd-button.config";
4
4
  const isValidIcon = (icon) => icon != null && icon in Icons;
5
5
  export class SdButton {
6
+ /** 버튼 프리셋 이름 (크기와 색상 조합) */
6
7
  name = 'primary_sm';
8
+ /** 버튼 텍스트 레이블 */
7
9
  label = '';
10
+ /** 레이블 왼쪽에 표시할 아이콘 */
8
11
  icon;
12
+ /** 레이블 오른쪽에 표시할 아이콘 */
9
13
  rightIcon;
14
+ /** 아이콘 전용 버튼일 때 스크린리더용 레이블 */
10
15
  ariaLabel = '';
16
+ /** 비활성 상태 여부 */
11
17
  disabled = false;
18
+ /** 네이티브 button type 속성 */
12
19
  type = 'button';
20
+ /** 클릭 시 발생합니다. */
13
21
  click;
14
22
  hasWarnedMissingAriaLabel = false;
15
23
  handleClick = (event) => {
@@ -69,14 +77,14 @@ export class SdButton {
69
77
  const validRightIcon = isValidIcon(this.rightIcon) ? this.rightIcon : undefined;
70
78
  const iconOnly = !hasLabel && Boolean(validIcon) !== Boolean(validRightIcon);
71
79
  const accessibleName = iconOnly && this.ariaLabel.trim() !== '' ? this.ariaLabel : undefined;
72
- return (h("button", { key: 'da3228e64ba27430283d55a49d3e13b2112929b6', class: this.getButtonClasses(preset, config.size, hasLabel, iconOnly), type: this.type ?? 'button', disabled: this.disabled, "aria-label": accessibleName, style: {
80
+ return (h("button", { key: 'ea6482b86f91b26cd20ab635c357b655e92c2ec1', class: this.getButtonClasses(preset, config.size, hasLabel, iconOnly), type: this.type ?? 'button', disabled: this.disabled, "aria-label": accessibleName, style: {
73
81
  '--sd-button-bg': config.color,
74
82
  '--sd-button-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
75
83
  '--sd-button-border': PRESET_BORDER_COLORS[preset],
76
84
  '--sd-button-text': PRESET_TEXT_COLORS[preset],
77
85
  '--sd-button-icon': PRESET_ICON_COLORS[preset],
78
86
  '--sd-button-accent': BUTTON_FOCUS_RING_COLOR,
79
- }, onClick: this.handleClick }, h("span", { key: '22f4dac854314abb3edf3f6d4746057337d2d1c6', class: "sd-button__content" }, validIcon && (h("sd-icon", { key: 'cd88155fa1783071fe6bee390df47daa96133eab', class: "sd-button__icon", name: validIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-current-icon)" })), this.label && h("span", { key: '27798d8db1d633ef99572982bddf40fbca415ed7', class: "sd-button__label" }, this.label), validRightIcon && (h("sd-icon", { key: '6393eb128f66a88b7ad1b5f2c1cec5654af07fae', class: "sd-button__icon sd-button__icon--right", name: validRightIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-current-icon)" })))));
87
+ }, onClick: this.handleClick }, h("span", { key: 'fd0cbd15e1edf4dc599e7eb3df3dcb1ddbd4732e', class: "sd-button__content" }, validIcon && (h("sd-icon", { key: '5ace6d85974e1c2ecb0fcf55b0330801f78f094f', class: "sd-button__icon", name: validIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-current-icon)" })), this.label && h("span", { key: 'ef1240a6acee55def8244149b0af4e0252be558c', class: "sd-button__label" }, this.label), validRightIcon && (h("sd-icon", { key: '127de568676734d75dd801b9ea46aa35e09b558c', class: "sd-button__icon sd-button__icon--right", name: validRightIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-current-icon)" })))));
80
88
  }
81
89
  static get is() { return "sd-button"; }
82
90
  static get originalStyleUrls() {
@@ -110,7 +118,7 @@ export class SdButton {
110
118
  "optional": false,
111
119
  "docs": {
112
120
  "tags": [],
113
- "text": ""
121
+ "text": "\uBC84\uD2BC \uD504\uB9AC\uC14B \uC774\uB984 (\uD06C\uAE30\uC640 \uC0C9\uC0C1 \uC870\uD569)"
114
122
  },
115
123
  "getter": false,
116
124
  "setter": false,
@@ -130,7 +138,7 @@ export class SdButton {
130
138
  "optional": false,
131
139
  "docs": {
132
140
  "tags": [],
133
- "text": ""
141
+ "text": "\uBC84\uD2BC \uD14D\uC2A4\uD2B8 \uB808\uC774\uBE14"
134
142
  },
135
143
  "getter": false,
136
144
  "setter": false,
@@ -155,7 +163,7 @@ export class SdButton {
155
163
  "optional": true,
156
164
  "docs": {
157
165
  "tags": [],
158
- "text": ""
166
+ "text": "\uB808\uC774\uBE14 \uC67C\uCABD\uC5D0 \uD45C\uC2DC\uD560 \uC544\uC774\uCF58"
159
167
  },
160
168
  "getter": false,
161
169
  "setter": false,
@@ -179,7 +187,7 @@ export class SdButton {
179
187
  "optional": true,
180
188
  "docs": {
181
189
  "tags": [],
182
- "text": ""
190
+ "text": "\uB808\uC774\uBE14 \uC624\uB978\uCABD\uC5D0 \uD45C\uC2DC\uD560 \uC544\uC774\uCF58"
183
191
  },
184
192
  "getter": false,
185
193
  "setter": false,
@@ -198,7 +206,7 @@ export class SdButton {
198
206
  "optional": false,
199
207
  "docs": {
200
208
  "tags": [],
201
- "text": ""
209
+ "text": "\uC544\uC774\uCF58 \uC804\uC6A9 \uBC84\uD2BC\uC77C \uB54C \uC2A4\uD06C\uB9B0\uB9AC\uB354\uC6A9 \uB808\uC774\uBE14"
202
210
  },
203
211
  "getter": false,
204
212
  "setter": false,
@@ -218,7 +226,7 @@ export class SdButton {
218
226
  "optional": false,
219
227
  "docs": {
220
228
  "tags": [],
221
- "text": ""
229
+ "text": "\uBE44\uD65C\uC131 \uC0C1\uD0DC \uC5EC\uBD80"
222
230
  },
223
231
  "getter": false,
224
232
  "setter": false,
@@ -245,7 +253,7 @@ export class SdButton {
245
253
  "optional": false,
246
254
  "docs": {
247
255
  "tags": [],
248
- "text": ""
256
+ "text": "\uB124\uC774\uD2F0\uBE0C button type \uC18D\uC131"
249
257
  },
250
258
  "getter": false,
251
259
  "setter": false,
@@ -264,7 +272,7 @@ export class SdButton {
264
272
  "composed": true,
265
273
  "docs": {
266
274
  "tags": [],
267
- "text": ""
275
+ "text": "\uD074\uB9AD \uC2DC \uBC1C\uC0DD\uD569\uB2C8\uB2E4."
268
276
  },
269
277
  "complexType": {
270
278
  "original": "MouseEvent",
@@ -3,13 +3,19 @@ import { today } from "../../utils/date";
3
3
  import { useDatePicker } from "../../modules/useDatePicker";
4
4
  import { CALENDAR_LAYOUT, WEEK_LABELS } from "./sd-calendar.config";
5
5
  export class SdCalendar {
6
+ /** 선택된 날짜 (YYYY-MM-DD) */
6
7
  value = null;
8
+ /** 선택 가능한 날짜 범위 [시작일, 종료일] (YYYY-MM-DD, 빈 문자열이면 제한 없음) */
7
9
  selectable;
10
+ /** 캘린더에 표시할 이벤트 그룹 목록 */
8
11
  events;
12
+ /** 카드 형태의 그림자 여부 */
9
13
  elevated = false;
10
14
  currentYear;
11
15
  currentMonth;
16
+ /** 날짜 선택 시 선택된 날짜(YYYY-MM-DD)를 전달합니다. */
12
17
  update;
18
+ /** 월/년 네비게이션 변경 시 현재 보여지는 연·월을 전달합니다. */
13
19
  viewChange;
14
20
  dateUtil = useDatePicker();
15
21
  _eventMapCache;
@@ -173,7 +179,7 @@ export class SdCalendar {
173
179
  const eventMap = this.eventMap;
174
180
  const legend = this.legendItems;
175
181
  const hasEvents = (this.events?.length ?? 0) > 0;
176
- return (h("div", { key: 'c8456b5c2b6617cef1aacd140d600458e9b05f32', class: { 'sd-calendar': true, 'sd-calendar--elevated': this.elevated }, style: cssVars }, h("div", { key: '9b73abcc81e28e3f791dcd3a5d1b1284b76c71b3', class: "sd-calendar__header" }, h("div", { key: '89e582eb5c4ad7ee7ea3e4e7d8139a25c32cd09e', class: "sd-calendar__nav-group" }, h("sd-ghost-button", { key: '75b3bb651ed6c840f85b50869d3d074fbdda10d7', ariaLabel: "prevYear", size: "xxs", icon: "chevronLeft", onClick: this.goPrevYear }), h("span", { key: '2be9c1dc4e9ab339890a8f066fc416bace8a3d6a', class: "sd-calendar__label" }, this.currentYear), h("sd-ghost-button", { key: 'fe38866bac1c10dc66e0392eb2d9efe7f12ba225', ariaLabel: "nextYear", size: "xxs", icon: "chevronRight", onClick: this.goNextYear })), h("span", { key: '7552892c7247f6a10aa7cd53dede0e2464e45647', class: "sd-calendar__divider", "aria-hidden": "true" }), h("div", { key: '09a142cb6e71f95c3f9c60be100441b6a5543b00', class: "sd-calendar__nav-group sd-calendar__nav-group-month" }, h("sd-ghost-button", { key: '12f116ed4b1f5dc57a682d1af5ef244f797cb347', ariaLabel: "prevMonth", size: "xxs", icon: "chevronLeft", onClick: this.goPrevMonth }), h("span", { key: '5adfc5a6469fde17d1bea030c84be29fea151601', class: "sd-calendar__label sd-calendar__label-month" }, this.currentMonth, "\uC6D4"), h("sd-ghost-button", { key: '1f1b44b1cd201e0ec45b696dbb70d36f3e81f21c', ariaLabel: "nextMonth", size: "xxs", icon: "chevronRight", onClick: this.goNextMonth }))), h("div", { key: 'b866d161ea35935cc5ead385c0b30015e9d5838d', class: "sd-calendar__week" }, WEEK_LABELS.map(label => (h("span", { key: label, class: "sd-calendar__week-cell" }, label)))), h("div", { key: 'a63bf0d78122c6c2f668497a3c902d30a8e74c3f', class: "sd-calendar__grid" }, this.cells.map(cell => {
182
+ return (h("div", { key: '1ff9f894078f4b24d52c738509878ee504e02c6b', class: { 'sd-calendar': true, 'sd-calendar--elevated': this.elevated }, style: cssVars }, h("div", { key: 'a4e894dbf3c808ba1a2a6711997c956c8b4525c0', class: "sd-calendar__header" }, h("div", { key: 'd559c861937fd51cab7e4cc39cfece49bed20037', class: "sd-calendar__nav-group" }, h("sd-ghost-button", { key: '6b793f2a07cc9c26a8b517d7a4d0cc065305a19f', ariaLabel: "prevYear", size: "xxs", icon: "chevronLeft", onClick: this.goPrevYear }), h("span", { key: '324fa08a3583543a75cfd6a3cfeb8450586c9265', class: "sd-calendar__label" }, this.currentYear), h("sd-ghost-button", { key: 'd0951fe7bf84f58348e0ad2ed9e89531daa68242', ariaLabel: "nextYear", size: "xxs", icon: "chevronRight", onClick: this.goNextYear })), h("span", { key: '953a382082f5be65a1df7dab23faae8be1975bfa', class: "sd-calendar__divider", "aria-hidden": "true" }), h("div", { key: 'aa751f69f3864875d4e6f16a816660cb8636281f', class: "sd-calendar__nav-group sd-calendar__nav-group-month" }, h("sd-ghost-button", { key: '7fe05970e9385cf8b744b16abce6a536ba639d8d', ariaLabel: "prevMonth", size: "xxs", icon: "chevronLeft", onClick: this.goPrevMonth }), h("span", { key: '0f528c7bde86f64f482a5a6b433beef2456e5832', class: "sd-calendar__label sd-calendar__label-month" }, this.currentMonth, "\uC6D4"), h("sd-ghost-button", { key: '3ddbb8f64f86fda85e5f8c6963cc4e11a95e8a37', ariaLabel: "nextMonth", size: "xxs", icon: "chevronRight", onClick: this.goNextMonth }))), h("div", { key: 'de37bc97970b23c49757ff103f62a5ef8c3deb2a', class: "sd-calendar__week" }, WEEK_LABELS.map(label => (h("span", { key: label, class: "sd-calendar__week-cell" }, label)))), h("div", { key: '218d4ff90b67bfcea0fb52984338b5bf486ec6b1', class: "sd-calendar__grid" }, this.cells.map(cell => {
177
183
  const isSelected = cell.inCurrentMonth && this.value !== '' && this.value === cell.date;
178
184
  const isToday = cell.inCurrentMonth && today === cell.date;
179
185
  const isDisabled = cell.inCurrentMonth && this.isDisabled(cell.date);
@@ -186,8 +192,8 @@ export class SdCalendar {
186
192
  'sd-calendar__day--disabled': isDisabled,
187
193
  }, disabled: !cell.inCurrentMonth || isDisabled, tabindex: !cell.inCurrentMonth ? -1 : undefined, "aria-hidden": !cell.inCurrentMonth ? 'true' : undefined, onClick: () => cell.inCurrentMonth && this.handleDayClick(cell) }, h("span", { class: "sd-calendar__day-circle" }, cell.inCurrentMonth ? cell.day : ''), hasEvents && (h("span", { class: "sd-calendar__dot-row", "aria-hidden": "true" }, dayEvents?.map((ev, i) => (h("span", { key: `${ev.color}|${ev.label}|${i}`, class: "sd-calendar__dot", style: { backgroundColor: ev.color } })))))));
188
194
  })), legend.length > 0 && [
189
- h("span", { key: '79a0c77b04cc46c5278502e7062c13e3113a8ee2', class: "sd-calendar__divider-bottom", "aria-hidden": "true" }),
190
- h("div", { key: '7b87c016d96a48efabcbc3b684a6fea78004f790', class: "sd-calendar__legend" }, legend.map(item => (h("span", { key: `${item.color}|${item.label}`, class: "sd-calendar__legend-item" }, h("span", { class: "sd-calendar__legend-dot", style: { backgroundColor: item.color }, "aria-hidden": "true" }), h("span", { class: "sd-calendar__legend-label" }, item.label))))),
195
+ h("span", { key: '713522194a9052e28b970f5eb6ad34941f7b6459', class: "sd-calendar__divider-bottom", "aria-hidden": "true" }),
196
+ h("div", { key: 'fffe4cf9c14362c14e04be5cab0172c73490137f', class: "sd-calendar__legend" }, legend.map(item => (h("span", { key: `${item.color}|${item.label}`, class: "sd-calendar__legend-item" }, h("span", { class: "sd-calendar__legend-dot", style: { backgroundColor: item.color }, "aria-hidden": "true" }), h("span", { class: "sd-calendar__legend-label" }, item.label))))),
191
197
  ]));
192
198
  }
193
199
  static get is() { return "sd-calendar"; }
@@ -215,7 +221,7 @@ export class SdCalendar {
215
221
  "optional": false,
216
222
  "docs": {
217
223
  "tags": [],
218
- "text": ""
224
+ "text": "\uC120\uD0DD\uB41C \uB0A0\uC9DC (YYYY-MM-DD)"
219
225
  },
220
226
  "getter": false,
221
227
  "setter": false,
@@ -235,7 +241,7 @@ export class SdCalendar {
235
241
  "optional": true,
236
242
  "docs": {
237
243
  "tags": [],
238
- "text": ""
244
+ "text": "\uC120\uD0DD \uAC00\uB2A5\uD55C \uB0A0\uC9DC \uBC94\uC704 [\uC2DC\uC791\uC77C, \uC885\uB8CC\uC77C] (YYYY-MM-DD, \uBE48 \uBB38\uC790\uC5F4\uC774\uBA74 \uC81C\uD55C \uC5C6\uC74C)"
239
245
  },
240
246
  "getter": false,
241
247
  "setter": false
@@ -259,7 +265,7 @@ export class SdCalendar {
259
265
  "optional": true,
260
266
  "docs": {
261
267
  "tags": [],
262
- "text": ""
268
+ "text": "\uCE98\uB9B0\uB354\uC5D0 \uD45C\uC2DC\uD560 \uC774\uBCA4\uD2B8 \uADF8\uB8F9 \uBAA9\uB85D"
263
269
  },
264
270
  "getter": false,
265
271
  "setter": false
@@ -276,7 +282,7 @@ export class SdCalendar {
276
282
  "optional": false,
277
283
  "docs": {
278
284
  "tags": [],
279
- "text": ""
285
+ "text": "\uCE74\uB4DC \uD615\uD0DC\uC758 \uADF8\uB9BC\uC790 \uC5EC\uBD80"
280
286
  },
281
287
  "getter": false,
282
288
  "setter": false,
@@ -301,7 +307,7 @@ export class SdCalendar {
301
307
  "composed": true,
302
308
  "docs": {
303
309
  "tags": [],
304
- "text": ""
310
+ "text": "\uB0A0\uC9DC \uC120\uD0DD \uC2DC \uC120\uD0DD\uB41C \uB0A0\uC9DC(YYYY-MM-DD)\uB97C \uC804\uB2EC\uD569\uB2C8\uB2E4."
305
311
  },
306
312
  "complexType": {
307
313
  "original": "string",
@@ -316,7 +322,7 @@ export class SdCalendar {
316
322
  "composed": true,
317
323
  "docs": {
318
324
  "tags": [],
319
- "text": ""
325
+ "text": "\uC6D4/\uB144 \uB124\uBE44\uAC8C\uC774\uC158 \uBCC0\uACBD \uC2DC \uD604\uC7AC \uBCF4\uC5EC\uC9C0\uB294 \uC5F0\u00B7\uC6D4\uC744 \uC804\uB2EC\uD569\uB2C8\uB2E4."
320
326
  },
321
327
  "complexType": {
322
328
  "original": "{ year: number; month: number }",
@@ -2,7 +2,9 @@ import { h } from "@stencil/core";
2
2
  import { CALLOUT_LAYOUT, CALLOUT_TYPE_CONFIG, CALLOUT_TYPOGRAPHY, DANGER_TITLE_LABEL, TYPE_ICON, } from "./sd-callout.config";
3
3
  import { sanitizeInlineHtml } from "../../utils/html/sanitize-inline-html";
4
4
  export class SdCallout {
5
+ /** 콜아웃 타입 (색상·아이콘 조합 결정) */
5
6
  type = 'default';
7
+ /** 표시할 메시지 목록 (문자열 배열로 중첩 리스트 표현 가능) */
6
8
  message = [];
7
9
  get calloutStyle() {
8
10
  const typeConfig = CALLOUT_TYPE_CONFIG[this.type] ?? CALLOUT_TYPE_CONFIG.default;
@@ -49,7 +51,7 @@ export class SdCallout {
49
51
  }
50
52
  render() {
51
53
  const showTitle = this.type === 'danger';
52
- return (h("div", { key: '545b90999ad57577156a214468102ae5090e6f3e', class: "sd-callout", style: this.calloutStyle, role: "note" }, showTitle && this.renderTitle(), h("div", { key: '14e021beb9b1c9deb63490e17baf9bb72caefe0d', class: "sd-callout__body" }, this.renderBody())));
54
+ return (h("div", { key: 'd608e8393a52dec8074ae6e8c4c80f59eb88891f', class: "sd-callout", style: this.calloutStyle, role: "note" }, showTitle && this.renderTitle(), h("div", { key: '9950ae86dab1f76b7009b89b3dcb91ebfcff978b', class: "sd-callout__body" }, this.renderBody())));
53
55
  }
54
56
  static get is() { return "sd-callout"; }
55
57
  static get originalStyleUrls() {
@@ -83,7 +85,7 @@ export class SdCallout {
83
85
  "optional": false,
84
86
  "docs": {
85
87
  "tags": [],
86
- "text": ""
88
+ "text": "\uCF5C\uC544\uC6C3 \uD0C0\uC785 (\uC0C9\uC0C1\u00B7\uC544\uC774\uCF58 \uC870\uD569 \uACB0\uC815)"
87
89
  },
88
90
  "getter": false,
89
91
  "setter": false,
@@ -103,7 +105,7 @@ export class SdCallout {
103
105
  "optional": false,
104
106
  "docs": {
105
107
  "tags": [],
106
- "text": ""
108
+ "text": "\uD45C\uC2DC\uD560 \uBA54\uC2DC\uC9C0 \uBAA9\uB85D (\uBB38\uC790\uC5F4 \uBC30\uC5F4\uB85C \uC911\uCCA9 \uB9AC\uC2A4\uD2B8 \uD45C\uD604 \uAC00\uB2A5)"
107
109
  },
108
110
  "getter": false,
109
111
  "setter": false,