@sellmate/design-system 1.20.1 → 1.21.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 (365) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/{index-DXm0PH2A.js → index-C-F-JEv_.js} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  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 +12 -3
  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 +38 -4
  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 +38 -9
  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/sd-action-modal/sd-action-modal.js +13 -7
  46. package/dist/collection/components/sd-badge/sd-badge.js +3 -2
  47. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +67 -34
  48. package/dist/collection/components/sd-button/sd-button.js +18 -10
  49. package/dist/collection/components/sd-calendar/sd-calendar.js +15 -9
  50. package/dist/collection/components/sd-callout/sd-callout.js +5 -3
  51. package/dist/collection/components/sd-card/sd-card.js +5 -3
  52. package/dist/collection/components/sd-checkbox/sd-checkbox.config.js +5 -3
  53. package/dist/collection/components/sd-checkbox/sd-checkbox.css +16 -0
  54. package/dist/collection/components/sd-checkbox/sd-checkbox.js +5 -3
  55. package/dist/collection/components/sd-chip/sd-chip.js +35 -18
  56. package/dist/collection/components/sd-chip-input/sd-chip-input.css +1 -0
  57. package/dist/collection/components/sd-chip-input/sd-chip-input.js +69 -35
  58. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +9 -5
  59. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +32 -17
  60. package/dist/collection/components/sd-date-box/sd-date-box.js +22 -12
  61. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +12 -7
  62. package/dist/collection/components/sd-date-picker/sd-date-picker.js +48 -25
  63. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +11 -6
  64. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +50 -26
  65. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +20 -10
  66. package/dist/collection/components/sd-field/sd-field.js +51 -28
  67. package/dist/collection/components/sd-file-picker/sd-file-picker.js +60 -30
  68. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +32 -11
  69. package/dist/collection/components/sd-form/sd-form.js +17 -9
  70. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +28 -13
  71. package/dist/collection/components/sd-guide/sd-guide.js +14 -8
  72. package/dist/collection/components/sd-icon/sd-icon.js +2 -1
  73. package/dist/collection/components/sd-input/sd-input.js +82 -42
  74. package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +4 -2
  75. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +10 -7
  76. package/dist/collection/components/sd-loading-container/sd-loading-container.js +6 -4
  77. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +17 -9
  78. package/dist/collection/components/sd-modal-container/sd-modal-container.js +12 -6
  79. package/dist/collection/components/sd-number-input/sd-number-input.js +82 -43
  80. package/dist/collection/components/sd-pagination/sd-pagination.js +11 -7
  81. package/dist/collection/components/sd-popover/sd-popover.js +35 -19
  82. package/dist/collection/components/sd-popup/sd-popup.js +11 -7
  83. package/dist/collection/components/sd-portal/sd-portal.js +35 -14
  84. package/dist/collection/components/sd-radio/sd-radio.js +11 -6
  85. package/dist/collection/components/sd-radio-button/sd-radio-button.js +13 -7
  86. package/dist/collection/components/sd-radio-group/sd-radio-group.js +13 -7
  87. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +16 -9
  88. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +12 -8
  89. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +22 -12
  90. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +18 -10
  91. package/dist/collection/components/sd-select/sd-select.js +62 -33
  92. package/dist/collection/components/sd-switch/sd-switch.js +9 -5
  93. package/dist/collection/components/sd-table/sd-table.js +76 -41
  94. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +4 -3
  95. package/dist/collection/components/sd-table/sd-td/sd-td.js +19 -10
  96. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +29 -16
  97. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +22 -11
  98. package/dist/collection/components/sd-tabs/sd-tabs.js +13 -7
  99. package/dist/collection/components/sd-tag/sd-tag.js +10 -7
  100. package/dist/collection/components/sd-text-link/sd-text-link.js +21 -12
  101. package/dist/collection/components/sd-textarea/sd-textarea.js +69 -35
  102. package/dist/collection/components/sd-toast/sd-toast.js +20 -11
  103. package/dist/collection/components/sd-toast-container/sd-toast-container.js +19 -10
  104. package/dist/collection/components/sd-toggle/sd-toggle.js +9 -5
  105. package/dist/collection/components/sd-tooltip/sd-tooltip.js +30 -16
  106. package/dist/components/index.js +1 -1
  107. package/dist/components/{p-D99vy8Ip.js → p-4MIzxb0h.js} +1 -1
  108. package/dist/components/{p-CQozoo2-.js → p-B-Igud6n.js} +1 -1
  109. package/dist/components/{p-CoqA9KgU.js → p-B5VNSTAf.js} +1 -1
  110. package/dist/components/{p-DertIGhs.js → p-B76pFg6k.js} +1 -1
  111. package/dist/components/{p-MJG6EZeP.js → p-BFlmHQm9.js} +1 -1
  112. package/dist/components/{p-Rwc_ltPn.js → p-BIHVGo10.js} +1 -1
  113. package/dist/components/{p-uSEbiD29.js → p-BQQC-6k4.js} +1 -1
  114. package/dist/{design-system/p-L_He_WSA.js → components/p-BRmilX-4.js} +1 -1
  115. package/dist/components/{p-CZfsknba.js → p-BVlg0BoC.js} +1 -1
  116. package/dist/components/{p-CRwvv7YM.js → p-BjSMh85k.js} +1 -1
  117. package/dist/components/{p-gOIeNT-Z.js → p-BrHnpCXR.js} +1 -1
  118. package/dist/components/{p-Bz93hWXV.js → p-Btj50AUe.js} +1 -1
  119. package/dist/components/{p-CLlAhEDc.js → p-BzsHwLh6.js} +1 -1
  120. package/dist/components/{p-9Z-q6kKD.js → p-C1QezE7u.js} +1 -1
  121. package/dist/components/{p-Dl89_4C3.js → p-C3mTIE8H.js} +1 -1
  122. package/dist/components/{p-CTPImLDQ.js → p-CBDBmMmw.js} +1 -1
  123. package/dist/components/p-CCCwPJ5p.js +1 -0
  124. package/dist/components/p-CEKu7cxA.js +1 -0
  125. package/dist/components/{p-5imde6N9.js → p-CTw1Deo8.js} +1 -1
  126. package/dist/components/p-CTxZT3Je.js +1 -0
  127. package/dist/components/{p-CB2A3pJ5.js → p-CZYTZeMe.js} +1 -1
  128. package/dist/components/{p-BZfVV3gu.js → p-CcwzTAJC.js} +1 -1
  129. package/dist/components/p-Cj_1bYZF.js +1 -0
  130. package/dist/components/{p-B5bya7Gp.js → p-Cugxp5lo.js} +1 -1
  131. package/dist/components/{p-CUR9smP5.js → p-D4zy1T3V.js} +1 -1
  132. package/dist/components/{p-BjcGzaFR.js → p-DC5W8Uy1.js} +1 -1
  133. package/dist/components/{p-DDAA-zcg.js → p-DIc8C633.js} +1 -1
  134. package/dist/components/{p-DIlNesBH.js → p-DJY7lCe4.js} +1 -1
  135. package/dist/components/{p-CrT06Uwc.js → p-DPXOBYhf.js} +1 -1
  136. package/dist/components/{p-BiBLp9_a.js → p-DU0IkIvI.js} +1 -1
  137. package/dist/components/{p-DZTxHJlP.js → p-DZikCqcw.js} +1 -1
  138. package/dist/components/{p-DNnI3Nru.js → p-Dz7VXmIA.js} +1 -1
  139. package/dist/components/p-FA9fGvbL.js +1 -0
  140. package/dist/components/p-S2-XqY2R.js +1 -0
  141. package/dist/components/{p-ZvI5A-_t.js → p-YpyfqzoP.js} +1 -1
  142. package/dist/components/{p-CJ69QmR3.js → p-l7TaS8q9.js} +1 -1
  143. package/dist/components/{p-FTvXz0-a.js → p-s_75vJTu.js} +1 -1
  144. package/dist/components/sd-action-modal.js +1 -1
  145. package/dist/components/sd-badge.js +1 -1
  146. package/dist/components/sd-barcode-input.js +1 -1
  147. package/dist/components/sd-button.js +1 -1
  148. package/dist/components/sd-calendar.js +1 -1
  149. package/dist/components/sd-callout.js +1 -1
  150. package/dist/components/sd-card.js +1 -1
  151. package/dist/components/sd-checkbox.js +1 -1
  152. package/dist/components/sd-chip-input.js +1 -1
  153. package/dist/components/sd-chip.js +1 -1
  154. package/dist/components/sd-circle-progress.js +1 -1
  155. package/dist/components/sd-confirm-modal.js +1 -1
  156. package/dist/components/sd-date-box.js +1 -1
  157. package/dist/components/sd-date-picker-trigger.js +1 -1
  158. package/dist/components/sd-date-picker.js +1 -1
  159. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  160. package/dist/components/sd-date-range-picker.js +1 -1
  161. package/dist/components/sd-divider.js +1 -1
  162. package/dist/components/sd-dropdown-button.js +1 -1
  163. package/dist/components/sd-field.js +1 -1
  164. package/dist/components/sd-file-picker.js +1 -1
  165. package/dist/components/sd-floating-portal.js +1 -1
  166. package/dist/components/sd-form.js +1 -1
  167. package/dist/components/sd-ghost-button.js +1 -1
  168. package/dist/components/sd-guide.js +1 -1
  169. package/dist/components/sd-icon.js +1 -1
  170. package/dist/components/sd-input.js +1 -1
  171. package/dist/components/sd-key-value-table.js +1 -1
  172. package/dist/components/sd-linear-progress.js +1 -1
  173. package/dist/components/sd-loading-container.js +1 -1
  174. package/dist/components/sd-loading-modal.js +1 -1
  175. package/dist/components/sd-modal-container.js +1 -1
  176. package/dist/components/sd-number-input.js +1 -1
  177. package/dist/components/sd-pagination.js +1 -1
  178. package/dist/components/sd-popover.js +1 -1
  179. package/dist/components/sd-popup.js +1 -1
  180. package/dist/components/sd-portal.js +1 -1
  181. package/dist/components/sd-radio-button.js +1 -1
  182. package/dist/components/sd-radio-group.js +1 -1
  183. package/dist/components/sd-radio.js +1 -1
  184. package/dist/components/sd-select-list-item-search.js +1 -1
  185. package/dist/components/sd-select-list-item.js +1 -1
  186. package/dist/components/sd-select-listbox.js +1 -1
  187. package/dist/components/sd-select-trigger.js +1 -1
  188. package/dist/components/sd-select.js +1 -1
  189. package/dist/components/sd-switch.js +1 -1
  190. package/dist/components/sd-table.js +1 -1
  191. package/dist/components/sd-tabs.js +1 -1
  192. package/dist/components/sd-tag.js +1 -1
  193. package/dist/components/sd-tbody.js +1 -1
  194. package/dist/components/sd-td.js +1 -1
  195. package/dist/components/sd-text-link.js +1 -1
  196. package/dist/components/sd-textarea.js +1 -1
  197. package/dist/components/sd-thead.js +1 -1
  198. package/dist/components/sd-toast-container.js +1 -1
  199. package/dist/components/sd-toast.js +1 -1
  200. package/dist/components/sd-toggle.js +1 -1
  201. package/dist/components/sd-tooltip.js +1 -1
  202. package/dist/components/sd-tr.js +1 -1
  203. package/dist/design-system/design-system.css +1 -1
  204. package/dist/design-system/design-system.esm.js +1 -1
  205. package/dist/design-system/p-0f35cd21.entry.js +1 -0
  206. package/dist/design-system/{p-e9d1dbb5.entry.js → p-274dbc65.entry.js} +1 -1
  207. package/dist/design-system/{p-b291baab.entry.js → p-2ba0b35a.entry.js} +1 -1
  208. package/dist/design-system/{p-52f551a1.entry.js → p-2ca4902b.entry.js} +1 -1
  209. package/dist/design-system/p-2df32f8c.entry.js +1 -0
  210. package/dist/design-system/{p-cb80327c.entry.js → p-35da166a.entry.js} +1 -1
  211. package/dist/design-system/p-35e1e2fa.entry.js +1 -0
  212. package/dist/design-system/{p-6ce68bf2.entry.js → p-4bc0ce52.entry.js} +1 -1
  213. package/dist/design-system/p-4c1559c8.entry.js +1 -0
  214. package/dist/design-system/{p-9c38ee79.entry.js → p-4e44b45b.entry.js} +1 -1
  215. package/dist/design-system/{p-da4e2674.entry.js → p-4eeca0cb.entry.js} +1 -1
  216. package/dist/design-system/{p-646a7830.entry.js → p-4f69fde0.entry.js} +1 -1
  217. package/dist/design-system/{p-ccf1a3fc.entry.js → p-50b5cf37.entry.js} +1 -1
  218. package/dist/design-system/p-52e88677.entry.js +1 -0
  219. package/dist/design-system/{p-4acfc5f9.entry.js → p-552acf98.entry.js} +1 -1
  220. package/dist/design-system/{p-23006577.entry.js → p-563a8242.entry.js} +1 -1
  221. package/dist/design-system/{p-e3990243.entry.js → p-68687503.entry.js} +1 -1
  222. package/dist/design-system/{p-1f3c1cca.entry.js → p-6d8a4a23.entry.js} +1 -1
  223. package/dist/design-system/{p-d5032f31.entry.js → p-7c507d39.entry.js} +1 -1
  224. package/dist/design-system/{p-717eba5f.entry.js → p-88926a42.entry.js} +1 -1
  225. package/dist/design-system/{p-35d390f1.entry.js → p-90436be8.entry.js} +1 -1
  226. package/dist/design-system/{p-9289eb14.entry.js → p-99f33027.entry.js} +1 -1
  227. package/dist/design-system/{p-c47198fc.entry.js → p-9a010c12.entry.js} +1 -1
  228. package/dist/design-system/{p-54853a2b.entry.js → p-9dc0c2f9.entry.js} +1 -1
  229. package/dist/{components/p-Bg9XySrz.js → design-system/p-C7HJ-NfO.js} +2 -1
  230. package/dist/{components/p-0VCXAYrh.js → design-system/p-DUyBmuH_.js} +1 -1
  231. package/dist/design-system/{p-d5c3bac9.entry.js → p-a71a8b31.entry.js} +1 -1
  232. package/dist/design-system/{p-a4331364.entry.js → p-a80cc067.entry.js} +1 -1
  233. package/dist/design-system/{p-ae344950.entry.js → p-abcc9367.entry.js} +1 -1
  234. package/dist/design-system/p-ac81b46e.entry.js +1 -0
  235. package/dist/design-system/{p-08343698.entry.js → p-b881bbb6.entry.js} +1 -1
  236. package/dist/design-system/{p-2151e081.entry.js → p-bfba449b.entry.js} +1 -1
  237. package/dist/design-system/p-c684cd96.entry.js +1 -0
  238. package/dist/design-system/{p-b63b8df9.entry.js → p-c93c623f.entry.js} +1 -1
  239. package/dist/design-system/{p-98e0b332.entry.js → p-ccc85130.entry.js} +1 -1
  240. package/dist/design-system/{p-aa1c6202.entry.js → p-ce5df7ef.entry.js} +1 -1
  241. package/dist/design-system/{p-adfddf3b.entry.js → p-ce83eca1.entry.js} +1 -1
  242. package/dist/design-system/{p-7ed8c8f1.entry.js → p-d5b535ad.entry.js} +1 -1
  243. package/dist/design-system/{p-df7c721d.entry.js → p-e310f188.entry.js} +1 -1
  244. package/dist/design-system/{p-bdb7492c.entry.js → p-fc65bbe2.entry.js} +1 -1
  245. package/dist/design-system/{p-17dcf0e4.entry.js → p-fe5b8eaa.entry.js} +1 -1
  246. package/dist/design-system/{p-a5a586da.entry.js → p-ff726fad.entry.js} +1 -1
  247. package/dist/esm/design-system.js +2 -2
  248. package/dist/esm/{index-CAxodB5I.js → index-C7HJ-NfO.js} +1 -1
  249. package/dist/esm/loader.js +2 -2
  250. package/dist/esm/sd-action-modal.entry.js +8 -2
  251. package/dist/esm/sd-badge.entry.js +3 -2
  252. package/dist/esm/sd-barcode-input.entry.js +35 -2
  253. package/dist/esm/sd-button_2.entry.js +12 -3
  254. package/dist/esm/sd-calendar_2.entry.js +17 -6
  255. package/dist/esm/sd-callout.entry.js +4 -2
  256. package/dist/esm/sd-card.entry.js +4 -2
  257. package/dist/esm/sd-checkbox.entry.js +21 -12
  258. package/dist/esm/sd-chip-input.entry.js +38 -4
  259. package/dist/esm/sd-chip.entry.js +19 -2
  260. package/dist/esm/sd-circle-progress.entry.js +6 -2
  261. package/dist/esm/sd-confirm-modal_2.entry.js +27 -4
  262. package/dist/esm/sd-date-box.entry.js +13 -3
  263. package/dist/esm/sd-date-picker_7.entry.js +209 -13
  264. package/dist/esm/sd-date-range-picker-calendar.entry.js +7 -2
  265. package/dist/esm/sd-divider.entry.js +1 -1
  266. package/dist/esm/sd-dropdown-button.entry.js +11 -1
  267. package/dist/esm/sd-field_3.entry.js +70 -12
  268. package/dist/esm/sd-form.entry.js +10 -2
  269. package/dist/esm/sd-ghost-button_3.entry.js +54 -15
  270. package/dist/esm/sd-guide.entry.js +9 -3
  271. package/dist/esm/sd-key-value-table.entry.js +3 -1
  272. package/dist/esm/sd-linear-progress.entry.js +7 -4
  273. package/dist/esm/sd-loading-container.entry.js +5 -3
  274. package/dist/esm/sd-modal-container.entry.js +7 -1
  275. package/dist/esm/sd-pagination_4.entry.js +38 -9
  276. package/dist/esm/sd-popover.entry.js +21 -5
  277. package/dist/esm/sd-popup.entry.js +7 -3
  278. package/dist/esm/sd-radio-button.entry.js +8 -2
  279. package/dist/esm/sd-radio.entry.js +7 -2
  280. package/dist/esm/sd-select-list-item_2.entry.js +18 -7
  281. package/dist/esm/sd-select_3.entry.js +56 -9
  282. package/dist/esm/sd-switch.entry.js +6 -2
  283. package/dist/esm/sd-table.entry.js +42 -7
  284. package/dist/esm/sd-tabs.entry.js +8 -2
  285. package/dist/esm/sd-td.entry.js +11 -2
  286. package/dist/esm/sd-text-link.entry.js +13 -4
  287. package/dist/esm/sd-toast-container.entry.js +11 -2
  288. package/dist/esm/sd-toast.entry.js +12 -3
  289. package/dist/esm/sd-toggle.entry.js +6 -2
  290. package/dist/esm/{tooltipArrow-DLr6VvUK.js → tooltipArrow-Bgf3crs7.js} +1 -1
  291. package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +6 -0
  292. package/dist/types/components/sd-badge/sd-badge.d.ts +1 -0
  293. package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +33 -0
  294. package/dist/types/components/sd-button/sd-button.d.ts +8 -0
  295. package/dist/types/components/sd-calendar/sd-calendar.d.ts +6 -0
  296. package/dist/types/components/sd-callout/sd-callout.d.ts +2 -0
  297. package/dist/types/components/sd-card/sd-card.d.ts +2 -0
  298. package/dist/types/components/sd-checkbox/sd-checkbox.config.d.ts +2 -0
  299. package/dist/types/components/sd-chip/sd-chip.d.ts +17 -0
  300. package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +33 -0
  301. package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +4 -0
  302. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +15 -0
  303. package/dist/types/components/sd-date-box/sd-date-box.d.ts +10 -0
  304. package/dist/types/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.d.ts +5 -0
  305. package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +23 -0
  306. package/dist/types/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.d.ts +5 -0
  307. package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +24 -0
  308. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +10 -0
  309. package/dist/types/components/sd-field/sd-field.d.ts +23 -0
  310. package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +30 -0
  311. package/dist/types/components/sd-floating-portal/sd-floating-portal.d.ts +12 -0
  312. package/dist/types/components/sd-form/sd-form.d.ts +8 -0
  313. package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +7 -0
  314. package/dist/types/components/sd-guide/sd-guide.d.ts +6 -0
  315. package/dist/types/components/sd-icon/sd-icon.d.ts +1 -0
  316. package/dist/types/components/sd-input/sd-input.d.ts +40 -0
  317. package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +2 -0
  318. package/dist/types/components/sd-linear-progress/sd-linear-progress.d.ts +4 -0
  319. package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +2 -0
  320. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +8 -0
  321. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -0
  322. package/dist/types/components/sd-number-input/sd-number-input.d.ts +39 -0
  323. package/dist/types/components/sd-pagination/sd-pagination.d.ts +4 -0
  324. package/dist/types/components/sd-popover/sd-popover.d.ts +16 -0
  325. package/dist/types/components/sd-popup/sd-popup.d.ts +5 -0
  326. package/dist/types/components/sd-portal/sd-portal.d.ts +13 -0
  327. package/dist/types/components/sd-radio/sd-radio.d.ts +5 -0
  328. package/dist/types/components/sd-radio-button/sd-radio-button.d.ts +6 -0
  329. package/dist/types/components/sd-radio-group/sd-radio-group.d.ts +6 -0
  330. package/dist/types/components/sd-select/sd-select-list-item/sd-select-list-item.d.ts +7 -0
  331. package/dist/types/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.d.ts +4 -0
  332. package/dist/types/components/sd-select/sd-select-listbox/sd-select-listbox.d.ts +10 -0
  333. package/dist/types/components/sd-select/sd-select-trigger/sd-select-trigger.d.ts +8 -0
  334. package/dist/types/components/sd-select/sd-select.d.ts +29 -0
  335. package/dist/types/components/sd-switch/sd-switch.d.ts +4 -0
  336. package/dist/types/components/sd-table/sd-table.d.ts +35 -0
  337. package/dist/types/components/sd-table/sd-tbody/sd-tbody.d.ts +1 -0
  338. package/dist/types/components/sd-table/sd-td/sd-td.d.ts +9 -0
  339. package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +13 -0
  340. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +11 -0
  341. package/dist/types/components/sd-tabs/sd-tabs.d.ts +6 -0
  342. package/dist/types/components/sd-tag/sd-tag.d.ts +4 -0
  343. package/dist/types/components/sd-text-link/sd-text-link.d.ts +9 -0
  344. package/dist/types/components/sd-textarea/sd-textarea.d.ts +34 -0
  345. package/dist/types/components/sd-toast/sd-toast.d.ts +9 -0
  346. package/dist/types/components/sd-toast-container/sd-toast-container.d.ts +9 -0
  347. package/dist/types/components/sd-toggle/sd-toggle.d.ts +4 -0
  348. package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +14 -0
  349. package/dist/types/components.d.ts +1827 -7
  350. package/hydrate/index.js +823 -124
  351. package/hydrate/index.mjs +823 -124
  352. package/package.json +1 -1
  353. package/dist/components/p-B7PHGGFH.js +0 -1
  354. package/dist/components/p-CXeOxSQ-.js +0 -1
  355. package/dist/components/p-CvSqieCH.js +0 -1
  356. package/dist/components/p-P2jWtk8J.js +0 -1
  357. package/dist/components/p-xkRWGISE.js +0 -1
  358. package/dist/design-system/p-316b8a08.entry.js +0 -1
  359. package/dist/design-system/p-5039241c.entry.js +0 -1
  360. package/dist/design-system/p-5eaa12af.entry.js +0 -1
  361. package/dist/design-system/p-CAxodB5I.js +0 -2
  362. package/dist/design-system/p-c995e6c3.entry.js +0 -1
  363. package/dist/design-system/p-eef6d4a3.entry.js +0 -1
  364. package/dist/design-system/p-faf7b64c.entry.js +0 -1
  365. package/dist/design-system/p-fd7abbfa.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as i,c as t,a as s,h as e}from"./p-CAxodB5I.js";import{n}from"./p-CCwNgVmC.js";import{s as h}from"./p-BJfiMC9H.js";import{l as d,a as p}from"./p-U8VaRj9c.js";import{C as o,a,b as r}from"./p-DDj5KTBF.js";var l={minHeight:"36",paddingX:"12",paddingY:"6",radius:"4",typography:{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",fontWeight:"400",fontSize:"12",lineHeight:"20"}},c={minHeight:"40",paddingX:"16",paddingY:"8",radius:"6",typography:{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",fontWeight:"400",fontSize:"14",lineHeight:"24"}},u={placeholder:"#AAAAAA"};const g={sm:{minHeight:l.minHeight,paddingX:l.paddingX,paddingY:l.paddingY,radius:l.radius,fontSize:l.typography.fontSize,lineHeight:l.typography.lineHeight,fontWeight:l.typography.fontWeight,fontFamily:l.typography.fontFamily},md:{minHeight:c.minHeight,paddingX:c.paddingX,paddingY:c.paddingY,radius:c.radius,fontSize:c.typography.fontSize,lineHeight:c.typography.lineHeight,fontWeight:c.typography.fontWeight,fontFamily:c.typography.fontFamily}},f={text:{placeholder:u.placeholder}},m={chipGap:`${{gap:"8"}.gap}px`},b=h.typography.feedback.sm.regular,v={fontSize:`${b.fontSize}px`,fontWeight:`${b.fontWeight}`,color:u.placeholder},y=p.listItem,x={radius:`${d.listBox.radius}px`,maxHeight:"260px",itemPaddingY:`${y.paddingY}px`,itemPaddingX:`${y.paddingLeft.depth1}px`,itemPaddingRight:`${y.paddingRight}px`,itemGap:`${y.gap}px`,itemFontSize:`${y.typography.default.fontSize}px`,itemFontWeight:y.typography.default.fontWeight,itemFontWeightSelected:y.typography.selected.fontWeight,itemLineHeight:`${y.typography.default.lineHeight}px`,itemFontFamily:y.typography.default.fontFamily,itemColor:y.content.default,itemColorHover:y.content.hover,itemBgHover:y.bg.hover,emptyColor:"#888888",emptyFontSize:"12px",emptyLineHeight:"20px"},w=class{constructor(s){i(this,s),this.update=t(this,"sdUpdate",7),this.focusEvent=t(this,"sdFocus",7),this.blurEvent=t(this,"sdBlur",7),this.inputEvent=t(this,"sdInput",7)}static SUGGESTIONS_VIEWPORT_PADDING=8;get host(){return s(this)}values=[];errors=[];disabledChips=[];size="sm";disabled=!1;placeholder="입력해 주세요.";name=n();rules=[];error=!1;useReset=!1;maxCount;duplicateLabel;suggestions=[];loadingSuggestions=!1;recommendedItems=[];loadingRecommendedItems=!1;label="";labelWidth="";hint="";errorMessage="";width="";status;icon=void 0;labelTooltip="";labelTooltipProps=null;internalValues=[];internalErrors=[];focused=!1;hovered=!1;inputValue="";activeSuggestionIndex=-1;suppressSuggestions=!1;suppressRecommendations=!1;inputEl;formField;chipInputRef;get value(){return this.internalValues}valuesChanged(i){this.internalValues=Array.isArray(i)?[...i]:[]}errorsChanged(i){Array.isArray(i)&&(this.internalErrors=[...i])}internalValuesChanged_validate(){"function"==typeof this.formField?.sdValidate&&this.formField.sdValidate()}suggestionsChanged(i){Array.isArray(i)||(this.suggestions=[]),this.activeSuggestionIndex=-1,this.suppressSuggestions=!1}recommendedItemsChanged(i){Array.isArray(i)||(this.recommendedItems=[]),this.activeSuggestionIndex=-1}componentWillLoad(){this.internalValues=Array.isArray(this.values)?[...this.values]:[],Array.isArray(this.errors)&&(this.internalErrors=[...this.errors]),this.inputValue=this.inputValue??""}isDuplicateChip(i){return this.internalValues.indexOf(this.internalValues[i])!==i}getChipError(i){return!!this.isDuplicateChip(i)||("function"==typeof this.errors?this.errors(this.internalValues?.[i]??""):this.internalErrors?.[i]??!1)}getChipDisabled(i){return!!this.disabled||("function"==typeof this.disabledChips?this.disabledChips(this.internalValues?.[i]??""):this.disabledChips?.[i]??!1)}update;focusEvent;blurEvent;inputEvent;async sdValidate(){return this.formField?.sdValidate()}async sdReset(){return this.formField?.sdReset()}async sdResetValidate(){return this.formField?.sdResetValidation()}async sdFocus(){return this.formField?.sdFocus()}addChip=i=>{if(null!=this.maxCount&&this.internalValues.length>=this.maxCount)return;const t=[...this.internalValues,i];if(this.internalValues=t,this.values=t,Array.isArray(this.errors)){const i=[...this.internalErrors,!1];this.internalErrors=i,this.errors=i}Array.isArray(this.disabledChips)&&(this.disabledChips=[...this.disabledChips,!1]),null!=this.inputEl&&(this.inputEl.value=""),this.inputValue="",this.activeSuggestionIndex=-1,this.suppressSuggestions=!0,this.update.emit(t),this.inputEvent.emit(""),this.inputEl?.focus(),this.suppressRecommendations=!0};handleChipRemove=i=>{const t=this.internalValues.filter(((t,s)=>s!==i));if(this.internalValues=t,this.values=t,Array.isArray(this.errors)){const t=this.internalErrors.filter(((t,s)=>s!==i));this.internalErrors=t,this.errors=t}Array.isArray(this.disabledChips)&&(this.disabledChips=this.disabledChips.filter(((t,s)=>s!==i))),this.update.emit(t),this.inputEl?.focus(),this.suppressRecommendations=!0};handleKeyDown=i=>{const t=i.target,s=this.suggestions??[],e=this.recommendedItems??[],n=this.focused&&""!==this.inputValue&&!this.suppressSuggestions&&(s.length>0||this.loadingSuggestions),h=this.focused&&""===this.inputValue&&!this.suppressRecommendations&&(e.length>0||this.loadingRecommendedItems),d=n?s:e;if(n||h){if("ArrowDown"===i.key)return i.preventDefault(),void(this.activeSuggestionIndex=Math.min(this.activeSuggestionIndex+1,d.length-1));if("ArrowUp"===i.key)return i.preventDefault(),void(this.activeSuggestionIndex=Math.max(this.activeSuggestionIndex-1,-1));if("Escape"===i.key)return n&&(this.suppressSuggestions=!0),h&&(this.suppressRecommendations=!0),void(this.activeSuggestionIndex=-1);if("Enter"===i.key&&this.activeSuggestionIndex>=0)return i.preventDefault(),void this.addChip(d[this.activeSuggestionIndex])}if("Enter"!==i.key||i.isComposing||""===t.value.trim()){if("Backspace"===i.key&&""===t.value&&this.internalValues.length>0){if(this.getChipDisabled(this.internalValues.length-1))return;i.preventDefault();const t=this.internalValues.slice(0,-1);if(this.internalValues=t,this.values=t,Array.isArray(this.errors)){const i=this.internalErrors.slice(0,-1);this.internalErrors=i,this.errors=i}Array.isArray(this.disabledChips)&&(this.disabledChips=this.disabledChips.slice(0,-1)),this.update.emit(t)}}else{if(null!=this.maxCount&&this.internalValues.length>=this.maxCount)return;i.preventDefault(),this.addChip(t.value.trim())}};handleInput=i=>{const t=i.target.value,s=""===t;""===this.inputValue!==s&&(this.activeSuggestionIndex=-1,s&&(this.suppressRecommendations=!1)),this.inputValue=t,this.suppressSuggestions=!1,this.inputEvent.emit(t)};handleFocus=()=>{this.focused=!0,this.suppressRecommendations=!1,this.focusEvent.emit()};handleBlur=()=>{this.focused=!1,this.activeSuggestionIndex=-1,this.blurEvent.emit()};closeSuggestions=()=>{this.focused=!1,this.activeSuggestionIndex=-1,this.suppressSuggestions=!0,this.suppressRecommendations=!0};handleContainerClick=()=>{this.disabled||this.inputEl?.focus()};handleResetInput=()=>{const i=this.internalValues.reduce(((i,t,s)=>(this.getChipDisabled(s)&&i.push(s),i)),[]),t=i.map((i=>this.internalValues[i]));if(this.internalValues=t,this.values=t,Array.isArray(this.errors)){const t=i.map((i=>this.internalErrors[i]??!1));this.internalErrors=t,this.errors=t}else this.internalErrors=[];if(Array.isArray(this.disabledChips)){const t=this.disabledChips;this.disabledChips=i.map((i=>t[i]))}this.update.emit(t),this.inputEl?.focus()};duplicateRule=()=>{const i=new Set;for(const t of this.internalValues){if(i.has(t))return null!=this.duplicateLabel&&""!==this.duplicateLabel?`이미 입력된 ${this.duplicateLabel}입니다.`:"중복된 값이 존재합니다.";i.add(t)}return!0};render(){const i=g[this.size]??g.sm,t={[`--sd-system-size-field-${this.size}-height`]:"auto",[`--sd-system-radius-field-${this.size}`]:`${i.radius}px`,"--sd-chip-input-min-height":`${i.minHeight}px`,"--sd-chip-input-padding-x":`${i.paddingX}px`,"--sd-chip-input-padding-y":`${i.paddingY}px`,"--sd-chip-input-font-size":`${i.fontSize}px`,"--sd-chip-input-line-height":`${i.lineHeight}px`,"--sd-chip-input-font-weight":i.fontWeight,"--sd-chip-input-font-family":i.fontFamily,"--sd-chip-input-chip-gap":m.chipGap,"--sd-chip-input-placeholder-color":f.text.placeholder,"--sd-chip-input-reset-gap":m.chipGap,"--sd-chip-input-divider-color":"#E1E1E1","--sd-chip-input-field-height":r.height,"--sd-chip-input-field-padding-x":r.paddingX,"--sd-chip-input-field-radius":r.radius,"--sd-chip-input-field-border-width":r.borderWidth,"--sd-chip-input-field-bg":a.bg.default,"--sd-chip-input-field-border-color":"transparent","--sd-chip-input-field-content":a.content.focus,"--sd-chip-input-field-font-size":o.focus.fontSize,"--sd-chip-input-field-font-weight":o.focus.fontWeight,"--sd-chip-input-field-line-height":o.focus.lineHeight,"--sd-chip-input-field-font-family":o.focus.fontFamily,"--sd-chip-input-max-count-font-size":v.fontSize,"--sd-chip-input-max-count-font-weight":v.fontWeight,"--sd-chip-input-max-count-color":v.color,"--sd-chip-input-suggestions-radius":x.radius,"--sd-chip-input-suggestions-max-height":x.maxHeight,"--sd-chip-input-suggestion-padding-y":x.itemPaddingY,"--sd-chip-input-suggestion-padding-x":x.itemPaddingX,"--sd-chip-input-suggestion-padding-right":x.itemPaddingRight,"--sd-chip-input-suggestion-gap":x.itemGap,"--sd-chip-input-suggestion-font-size":x.itemFontSize,"--sd-chip-input-suggestion-font-weight":x.itemFontWeight,"--sd-chip-input-suggestion-font-weight-selected":x.itemFontWeightSelected,"--sd-chip-input-suggestion-line-height":x.itemLineHeight,"--sd-chip-input-suggestion-font-family":x.itemFontFamily,"--sd-chip-input-suggestion-color":x.itemColor,"--sd-chip-input-suggestion-color-hover":x.itemColorHover,"--sd-chip-input-suggestion-bg-hover":x.itemBgHover,"--sd-chip-input-suggestions-empty-color":x.emptyColor,"--sd-chip-input-suggestions-empty-font-size":x.emptyFontSize,"--sd-chip-input-suggestions-empty-line-height":x.emptyLineHeight},s=null!=this.maxCount&&this.internalValues.length>=this.maxCount,n=this.useReset&&this.internalValues.length>0||null!=this.maxCount,h=this.suggestions??[],d=this.recommendedItems??[],p=this.focused&&""!==this.inputValue&&!this.suppressSuggestions&&(h.length>0||this.loadingSuggestions),l=p||this.focused&&""===this.inputValue&&!this.suppressRecommendations&&(d.length>0||this.loadingRecommendedItems),c=p?h:d,u=p?this.loadingSuggestions&&0===h.length:this.loadingRecommendedItems&&0===d.length,b={width:`${this.chipInputRef?.offsetWidth??0}px`,display:"flex",flexDirection:"column",boxSizing:"border-box",background:"#FFFFFF",borderRadius:x.radius,boxShadow:"2px 2px 12px 2px rgba(0, 0, 0, 0.1)",maxHeight:x.maxHeight,minHeight:"0",overflowY:"auto",overflowX:"hidden",outline:"none"},y={display:"flex",alignItems:"center",gap:x.itemGap,padding:`${x.itemPaddingY} ${x.itemPaddingRight} ${x.itemPaddingY} ${x.itemPaddingX}`,fontSize:x.itemFontSize,lineHeight:x.itemLineHeight,fontWeight:x.itemFontWeight,fontFamily:x.itemFontFamily,color:x.itemColor,cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},_={padding:"12px",textAlign:"center",fontSize:x.emptyFontSize,lineHeight:x.emptyLineHeight,fontFamily:x.itemFontFamily,color:x.emptyColor};return e("sd-field",{key:"ee88b5c82466b6470fcf6bd7c55b6269b81b04be",name:this.name,label:this.label,labelWidth:this.labelWidth,hint:this.hint,errorMessage:this.errorMessage,rules:[this.duplicateRule,...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:i=>this.formField=i,style:t,onMouseEnter:()=>this.hovered=!0,onMouseLeave:()=>this.hovered=!1},e("div",{key:"e040d339e12ce0b038d195a829d4fc1795f12155",class:"sd-chip-input",ref:i=>this.chipInputRef=i,onClick:this.handleContainerClick},(this.internalValues??[]).map(((i,t)=>e("sd-chip",{key:t,value:i,error:this.getChipError(t),disabled:this.getChipDisabled(t),editable:!1,onSdRemove:()=>this.handleChipRemove(t)}))),!s&&e("div",{key:"37b6e51a5e1b5b5b37651cba797739ac74770d8a",class:{"sd-chip-input__field":!0,"sd-chip-input__field--filled":""!==this.inputValue,"sd-chip-input__field--empty":""===this.inputValue&&this.internalValues.length>0&&!this.focused},"data-value":""!==this.inputValue?this.inputValue:0===this.internalValues.length?this.placeholder:""},e("input",{key:"f628f9dee70e60435afb8d01ed41830850bebb44",ref:i=>this.inputEl=i,class:"sd-chip-input__input",placeholder:0===this.internalValues.length?this.placeholder:"",disabled:this.disabled,size:1,onInput:this.handleInput,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur})),n&&e("div",{key:"d154fb5ccd1875ec6beee462a3d93b7e4480f384",class:"sd-chip-input__reset"},""===this.inputValue&&e("span",{key:"ae84a0b4c83ca26e3b58b48d32469bd46be29f78",class:"sd-chip-input__divider"}),null!=this.maxCount&&e("span",{key:"e5790a98cbe3e07a395ddf8b5d286ec48efcabb2",class:"sd-chip-input__max-count"},"최대 ",this.maxCount,"개"),this.useReset&&this.internalValues.length>0&&e("sd-text-link",{key:"7ed1d61c9518f0cf2bdf2a6be62effb7bc90b8ab",icon:"reset",iconColor:"#888888",label:"입력 초기화",underline:!0,disabled:this.disabled,style:{"--sd-text-link-color":"#555555"},onSdClick:this.handleResetInput})),l&&e("sd-portal",{key:"45d65cf1c364e4c3f46770f98a6c7597f6aaeb01",open:l,parentRef:this.chipInputRef??null,viewportPadding:w.SUGGESTIONS_VIEWPORT_PADDING,onSdClose:this.closeSuggestions},e("div",{key:"055ea7aeb71f7a4640b3ac7406f435c3f3b1d50c",class:"sd-chip-input__suggestions",role:"listbox",style:b},u&&e("div",{key:"fc56e57fb5c62fa39cb7b13d51fe74baca539647",class:"sd-chip-input__suggestions-empty",style:_},"불러오는 중..."),c.map(((i,t)=>e("div",{key:i,class:{"sd-chip-input__suggestion-item":!0,"sd-chip-input__suggestion-item--active":t===this.activeSuggestionIndex},role:"option",tabIndex:-1,"aria-selected":t===this.activeSuggestionIndex,style:t===this.activeSuggestionIndex?{...y,background:x.itemBgHover,color:x.itemColorHover,fontWeight:x.itemFontWeightSelected}:y,onMouseDown:t=>{t.preventDefault(),this.addChip(i)}},i)))))))}static get watchers(){return{values:[{valuesChanged:0}],errors:[{errorsChanged:0}],internalValues:[{internalValuesChanged_validate:0}],suggestions:[{suggestionsChanged:0}],recommendedItems:[{recommendedItemsChanged:0}]}}};w.style="sd-chip-input{display:inline-flex}sd-chip-input .sd-chip-input{position:relative;width:100%;isolation:isolate;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__max-count{font-size:var(--sd-chip-input-max-count-font-size);font-weight:var(--sd-chip-input-max-count-font-weight);color:var(--sd-chip-input-max-count-color);white-space:nowrap;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)}sd-chip-input .sd-chip-input__suggestions{display:flex;flex-direction:column;box-sizing:border-box;background:white;border-radius:var(--sd-chip-input-suggestions-radius);box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1);max-height:var(--sd-chip-input-suggestions-max-height);min-height:0;overflow-y:auto;overflow-x:hidden;outline:none}sd-chip-input .sd-chip-input__suggestion-item{display:flex;align-items:center;gap:var(--sd-chip-input-suggestion-gap);padding:var(--sd-chip-input-suggestion-padding-y) var(--sd-chip-input-suggestion-padding-right) var(--sd-chip-input-suggestion-padding-y) var(--sd-chip-input-suggestion-padding-x);font-size:var(--sd-chip-input-suggestion-font-size);line-height:var(--sd-chip-input-suggestion-line-height);font-weight:var(--sd-chip-input-suggestion-font-weight);font-family:var(--sd-chip-input-suggestion-font-family);color:var(--sd-chip-input-suggestion-color);cursor:pointer;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}sd-chip-input .sd-chip-input__suggestion-item--active{background:var(--sd-chip-input-suggestion-bg-hover);color:var(--sd-chip-input-suggestion-color-hover);font-weight:var(--sd-chip-input-suggestion-font-weight-selected)}sd-chip-input .sd-chip-input__suggestions-empty{padding:12px;text-align:center;font-size:var(--sd-chip-input-suggestions-empty-font-size);line-height:var(--sd-chip-input-suggestions-empty-line-height);font-family:var(--sd-chip-input-suggestion-font-family);color:var(--sd-chip-input-suggestions-empty-color)}";export{w as sd_chip_input}
@@ -1 +0,0 @@
1
- import{r as e,c,a as d,h as s}from"./p-CAxodB5I.js";var o={fontWeight:"400",fontSize:"12",lineHeight:"20"},h={bg:{default:"#FFFFFF",hover:"#D9EAFF"},border:{default:"#AAAAAA",hover:"#0075FF"}},b={bg:{default:"#0075FF"},icon:{default:"#FFFFFF",disabled:"#BBBBBB",inverse:"#FFFFFF"},border:{inverse:"#FFFFFF"}},r={default:"#222222",inverse:"#FFFFFF"};const i={size:"16",radius:"2",borderWidth:"1",gap:"8",iconSize:"12"},a={fontSize:o.fontSize,lineHeight:o.lineHeight,fontWeight:o.fontWeight},t={unchecked:{bg:h.bg.default,bgHover:h.bg.hover,border:h.border.default,borderHover:h.border.hover},checked:{bg:b.bg.default,icon:b.icon.default,iconDisabled:b.icon.disabled,iconInverse:b.icon.inverse,borderInverse:b.border.inverse},label:r.default,labelInverse:r.inverse,disabled:{bg:{disabled:"#E1E1E1"}.disabled,border:{disabled:"#CCCCCC"}.disabled}},k=class{constructor(d){e(this,d),this.update=c(this,"sdUpdate",7)}get el(){return d(this)}value;val;disabled=!1;inverse=!1;label="";isChecked=!1;hasWarnedMissingVal=!1;inputEl;update;componentWillLoad(){this.updateCheckedState(this.value)}watchValueHandler(e){this.updateCheckedState(e)}get checkboxClasses(){const e=["sd-checkbox","sd-checkbox--"+(this.isChecked?"checked":null===this.isChecked?"indeterminate":"unchecked")];return this.disabled&&e.push("sd-checkbox--disabled"),this.inverse&&e.push("sd-checkbox--inverse"),e.join(" ")}updateCheckedState(e){this.isChecked=null===e?null:"boolean"==typeof e?e:!!Array.isArray(e)&&void 0!==this.val&&e.includes(this.val),this.inputEl&&(this.inputEl.indeterminate=null===this.isChecked)}handleChange=()=>{if(this.disabled)return;let e;if("boolean"==typeof this.value)e=!this.value;else if(Array.isArray(this.value)){void 0!==this.val||this.hasWarnedMissingVal||(console.warn('A "val" property is required when using an array for the "value" property.'),this.hasWarnedMissingVal=!0);const c=new Set(this.value);c.has(this.val)?c.delete(this.val):c.add(this.val),e=Array.from(c)}else e=null!==this.value&&!this.isChecked;this.value=e,this.update.emit(e)};render(){return s("label",{key:"1e1ba8ab22e34327cfdfb8d236aba0e1ff2806f6",class:this.checkboxClasses,style:{"--sd-checkbox-size":`${i.size}px`,"--sd-checkbox-radius":`${i.radius}px`,"--sd-checkbox-border-width":`${i.borderWidth}px`,"--sd-checkbox-gap":`${i.gap}px`,"--sd-checkbox-font-size":`${a.fontSize}px`,"--sd-checkbox-line-height":`${a.lineHeight}px`,"--sd-checkbox-font-weight":a.fontWeight,"--sd-checkbox-unchecked-bg":t.unchecked.bg,"--sd-checkbox-unchecked-bg-hover":t.unchecked.bgHover,"--sd-checkbox-unchecked-border":t.unchecked.border,"--sd-checkbox-unchecked-border-hover":t.unchecked.borderHover,"--sd-checkbox-checked-bg":t.checked.bg,"--sd-checkbox-label-color":t.label,"--sd-checkbox-disabled-bg":t.disabled.bg,"--sd-checkbox-disabled-border":t.disabled.border,"--sd-checkbox-inverse-border":t.checked.borderInverse,"--sd-checkbox-inverse-icon":t.checked.iconInverse,"--sd-checkbox-inverse-label":t.labelInverse}},s("input",{key:"82b852e0fb3ca94c460b7181ae1c575b361ddd4d",type:"checkbox",ref:e=>{this.inputEl=e},value:this.val,checked:!!this.isChecked,disabled:this.disabled,onChange:this.handleChange,name:this.val?.toString()||"checkbox","aria-label":this.label||"checkbox","aria-checked":null===this.isChecked?"mixed":this.isChecked?"true":"false","aria-disabled":this.disabled?"true":"false"}),s("div",{key:"e7a32ccbb915c857d188fecde0b388e15edebdfb",class:"sd-checkbox__bg"},!1!==this.isChecked?s("sd-icon",{name:!0===this.isChecked?"checkboxCheck":"checkboxIndeterminate",size:Number(i.iconSize),color:this.disabled?t.checked.iconDisabled:this.inverse?t.checked.iconInverse:t.checked.icon}):null),this.label&&s("span",{key:"396b7aa27a10428e5d9d24a3f523c3a384d4e463",class:"sd-checkbox__label"},this.label))}static get watchers(){return{value:[{watchValueHandler:0}]}}};k.style="sd-checkbox{display:block;height:var(--sd-checkbox-line-height);line-height:0}sd-checkbox .sd-checkbox{cursor:pointer;display:inline-flex;align-items:center;gap:var(--sd-checkbox-gap);height:var(--sd-checkbox-line-height);max-height:var(--sd-checkbox-line-height)}sd-checkbox .sd-checkbox>input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}sd-checkbox .sd-checkbox>input:focus-visible+.sd-checkbox__bg{box-shadow:0 0 0 2px white, 0 0 0 4px var(--sd-checkbox-checked-bg);outline:none}sd-checkbox .sd-checkbox:hover.sd-checkbox--unchecked .sd-checkbox__bg{border-color:var(--sd-checkbox-unchecked-border-hover);background:var(--sd-checkbox-unchecked-bg-hover)}sd-checkbox .sd-checkbox:hover.sd-checkbox--disabled .sd-checkbox__bg{border-color:transparent;background:var(--sd-checkbox-disabled-bg)}sd-checkbox .sd-checkbox__bg{width:var(--sd-checkbox-size);height:var(--sd-checkbox-size);border-radius:var(--sd-checkbox-radius);border:var(--sd-checkbox-border-width) solid var(--sd-checkbox-unchecked-border);box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;line-height:0}sd-checkbox .sd-checkbox__label{font-size:var(--sd-checkbox-font-size);font-weight:var(--sd-checkbox-font-weight);color:var(--sd-checkbox-label-color);line-height:var(--sd-checkbox-line-height)}sd-checkbox .sd-checkbox--checked .sd-checkbox__bg,sd-checkbox .sd-checkbox--indeterminate .sd-checkbox__bg{border-color:var(--sd-checkbox-checked-bg);background:var(--sd-checkbox-checked-bg)}sd-checkbox .sd-checkbox--checked.sd-checkbox--disabled .sd-checkbox__bg,sd-checkbox .sd-checkbox--indeterminate.sd-checkbox--disabled .sd-checkbox__bg{background:var(--sd-checkbox-disabled-bg);border-color:var(--sd-checkbox-disabled-border)}sd-checkbox .sd-checkbox--unchecked .sd-checkbox__bg{background:var(--sd-checkbox-unchecked-bg)}sd-checkbox .sd-checkbox--disabled{cursor:not-allowed}sd-checkbox .sd-checkbox--disabled .sd-checkbox__bg{background:var(--sd-checkbox-disabled-bg);border-color:var(--sd-checkbox-disabled-border)}sd-checkbox .sd-checkbox--inverse .sd-checkbox__label{color:var(--sd-checkbox-inverse-label)}sd-checkbox .sd-checkbox--inverse.sd-checkbox--unchecked .sd-checkbox__bg{background:transparent;border-color:var(--sd-checkbox-inverse-border)}sd-checkbox .sd-checkbox--inverse.sd-checkbox--checked .sd-checkbox__bg,sd-checkbox .sd-checkbox--inverse.sd-checkbox--indeterminate .sd-checkbox__bg{background:transparent;border-color:var(--sd-checkbox-inverse-border)}sd-checkbox .sd-checkbox--inverse:hover.sd-checkbox--unchecked .sd-checkbox__bg{background:rgba(255, 255, 255, 0.12);border-color:var(--sd-checkbox-inverse-border)}";export{k as sd_checkbox}
@@ -1 +0,0 @@
1
- import{r as d,h as r,F as s}from"./p-CAxodB5I.js";const e=class{constructor(r){d(this,r)}bordered=!1;sdClass="";render(){return r(s,{key:"cda3366416a347552ffe66446f9fd1267654fa75"},r("div",{key:"5b29d955402031dcc82df70df25fe1146787adec",class:`sd-card ${this.bordered?"sd-card--bordered":""} ${this.sdClass}`},r("slot",{key:"f2a5c548de34d6bf32de75db76686da91d605e28"})))}};e.style="sd-card{display:block;height:fit-content}sd-card .sd-card{border-radius:8px;background:white}sd-card .sd-card--bordered{border:1px solid #E1E1E1}";export{e as sd_card}
@@ -1 +0,0 @@
1
- import{r as e,c as s,a as t,h as i,F as o}from"./p-CAxodB5I.js";import{T as a}from"./p-L_He_WSA.js";var n={bg:"#07284A"};const c=class{constructor(t){e(this,t),this.showChange=s(this,"sdShowChange",7)}get el(){return t(this)}show=!1;placement="bottom";color="#01BB4B";icon="helpOutline";iconSize=12;label="";name="primary_sm";rightIcon;ariaLabel="";disabled=!1;type="button";menuTitle;leftLink;button;menuClass="";slotContentHTML="";showChange;buttonEl;setShow=e=>{this.show!==e&&(this.show=e,this.showChange.emit(e))};get popoverOffset(){switch(this.placement??"bottom"){case"top":return[0,-4];case"bottom":return[0,4];case"left":case"right":return[4,0]}}handleClose=()=>this.setShow(!1);componentWillLoad(){this.slotContentHTML=this.el.innerHTML,this.el.innerHTML=""}render(){const e=this.placement??"bottom",s=this.color??"#01BB4B",t=this.icon??"helpOutline",c=this.iconSize??12,l=this.menuClass??"",d=this.leftLink,r=this.button,h=!!d||!!r;return i(o,{key:"649e07ee45d3e7e5f72a438ef2939bfe6d3c56e4"},""!==this.label?i("sd-button",{ref:e=>this.buttonEl=e,name:this.name??"primary_sm",label:this.label,icon:t,rightIcon:this.rightIcon,ariaLabel:this.ariaLabel||this.label||t||"Open popover",disabled:this.disabled,type:this.type??"button",class:"sd-popover",onSdClick:()=>this.setShow(!this.show)}):i("sd-icon",{ref:e=>this.buttonEl=e,name:t,size:c,color:s,class:"sd-popover",onClick:()=>this.setShow(!this.show)}),this.show&&i("sd-floating-portal",{key:"486d1859387b0c8cc82646ab5e7b6800792ca2be",parentRef:this.buttonEl,onSdClose:this.handleClose,placement:e,offset:this.popoverOffset},i("div",{key:"4418e064c76478a5b4dfd2fb69d11e1603a22530",class:{"sd-floating-menu":!0,"sd-floating-menu--popover":!0,[`sd-floating-menu--${e}`]:!0,[l]:""!==l},style:{"--sd-floating-bg":n.bg}},i("i",{key:"a181ce40ae957e77be7c8f9b10e6f1fe8190cd52",class:`sd-floating-menu__arrow sd-floating-menu__arrow--${e}`},i(a,{key:"323bca17c3c245063cbd1ac55ed64bf6f6df9e3e"})),i("div",{key:"06e98cf6e888dc66a6a700710669c61ac9d9c494",class:"sd-floating-menu__content"},this.menuTitle&&i("div",{key:"831ca9893ccafcad8e0858fb28269428ebac6a07",class:"sd-floating-menu__title"},this.menuTitle),this.slotContentHTML&&i("div",{key:"cdd2eafe18d5b0b44f10dbebbb68ed9d010173b1",class:"sd-floating-menu__messages",innerHTML:this.slotContentHTML}),h&&i("div",{key:"8149044a08de968ef38f432ee3303d969b49eace",class:{"sd-floating-menu__buttons":!0,"sd-floating-menu__buttons--with-link":!!d}},d&&i("sd-text-link",{key:"4c7e9c2b4fe8664b3af375a3c89b1cd50d64a9c3",class:"sd-floating-menu__left-link",label:d.label,icon:d.icon??"",iconColor:d.iconColor??"",rightArrow:d.rightArrow??"none",underline:!!d.underline,disabled:!!d.disabled,onSdClick:d.onClick}),r&&i("sd-button",{key:"730d867339257f168c11d7d1417c9d28a408f462",name:r.name??"secondary_xs",label:r.label,icon:r.icon,rightIcon:r.rightIcon,ariaLabel:r.ariaLabel||r.label||r.icon||"Open popover",disabled:r.disabled,type:r.type,onSdClick:r.onClick}))),i("sd-ghost-button",{key:"7a1f2edf0a601c0dfa91b4a02405c815d3257214",class:"sd-floating-menu__close-button",icon:"close",ariaLabel:"close",size:"xs",onClick:this.handleClose}))))}};c.style="sd-popover{position:relative;cursor:pointer;display:inline-flex}";export{c as sd_popover}