@sellmate/design-system 1.0.78 → 1.1.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 (464) hide show
  1. package/dist/cjs/component.table-B7brIpIQ.js +56 -0
  2. package/dist/cjs/design-system.cjs.js +2 -2
  3. package/dist/cjs/{index--F2wGuAi.js → index-BlxrCRYi.js} +1 -1
  4. package/dist/cjs/index.cjs.js +4 -4
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/{resolveColor-LhfOKtTZ.js → resolveColor-B0hzQNLG.js} +2 -2
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +3 -3
  8. package/dist/cjs/sd-badge.cjs.entry.js +2 -3
  9. package/dist/cjs/sd-barcode-input.cjs.entry.js +3 -3
  10. package/dist/cjs/{sd-button-v2.config-CnqCQQMi.js → sd-button.config-DH08UNfl.js} +114 -28
  11. package/dist/cjs/{sd-button-v2_2.cjs.entry.js → sd-button_2.cjs.entry.js} +101 -85
  12. package/dist/cjs/sd-calendar.cjs.entry.js +15 -15
  13. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-checkbox.cjs.entry.js +4 -4
  15. package/dist/cjs/sd-chip.cjs.entry.js +2 -2
  16. package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -3
  17. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +19 -11
  18. package/dist/cjs/sd-date-box.cjs.entry.js +4 -4
  19. package/dist/cjs/{sd-date-picker-calendar.cjs.entry.js → sd-date-picker-calendar_2.cjs.entry.js} +51 -3
  20. package/dist/cjs/{sd-date-picker.config-CRgCT5dn.js → sd-date-picker.config-CjvrFpYK.js} +1 -2
  21. package/dist/cjs/sd-date-picker_7.cjs.entry.js +1230 -0
  22. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +3 -3
  23. package/dist/cjs/sd-dropdown-button.cjs.entry.js +28 -27
  24. package/dist/cjs/{sd-button_4.cjs.entry.js → sd-field_3.cjs.entry.js} +26 -82
  25. package/dist/cjs/sd-form.cjs.entry.js +2 -2
  26. package/dist/cjs/sd-ghost-button.cjs.entry.js +12 -10
  27. package/dist/cjs/sd-guide.cjs.entry.js +9 -9
  28. package/dist/cjs/sd-key-value-table.cjs.entry.js +230 -0
  29. package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
  30. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  31. package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
  32. package/dist/cjs/{sd-pagination_5.cjs.entry.js → sd-pagination_4.cjs.entry.js} +34 -296
  33. package/dist/cjs/sd-popover.cjs.entry.js +17 -10
  34. package/dist/cjs/sd-popup.cjs.entry.js +112 -0
  35. package/dist/cjs/sd-portal.cjs.entry.js +2 -2
  36. package/dist/cjs/sd-radio-button.cjs.entry.js +4 -4
  37. package/dist/cjs/sd-radio.cjs.entry.js +2 -2
  38. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +155 -0
  39. package/dist/cjs/sd-select.config-B19ptCT2.js +178 -0
  40. package/dist/cjs/{sd-select-list-item_4.cjs.entry.js → sd-select_3.cjs.entry.js} +286 -318
  41. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  42. package/dist/cjs/sd-table.cjs.entry.js +40 -23
  43. package/dist/cjs/sd-table.config-CDyioyE2.js +65 -0
  44. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  45. package/dist/cjs/sd-tag.cjs.entry.js +49 -14
  46. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  47. package/dist/cjs/sd-text-link.cjs.entry.js +8 -5
  48. package/dist/cjs/sd-toast-container.cjs.entry.js +5 -5
  49. package/dist/cjs/sd-toast.cjs.entry.js +35 -5
  50. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  51. package/dist/cjs/{system-DpTN1vBC.js → system-VmZRYp6V.js} +4 -2
  52. package/dist/cjs/{tooltipArrow-D1-wcNm1.js → tooltipArrow-N6nQ1QT-.js} +1 -1
  53. package/dist/collection/collection-manifest.json +4 -3
  54. package/dist/collection/components/assets/CheckboxCheck.js +5 -0
  55. package/dist/collection/components/assets/CheckboxIndeterminate.js +5 -0
  56. package/dist/collection/components/assets/index.js +4 -0
  57. package/dist/collection/components/sd-action-modal/sd-action-modal.css +1 -1
  58. package/dist/collection/components/sd-action-modal/sd-action-modal.js +7 -7
  59. package/dist/collection/components/sd-badge/sd-badge.config.js +10 -1
  60. package/dist/collection/components/sd-badge/sd-badge.js +1 -22
  61. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +4 -4
  62. package/dist/collection/components/{sd-button-v2/sd-button-v2.config.js → sd-button/sd-button.config.js} +1 -1
  63. package/dist/collection/components/sd-button/sd-button.css +47 -93
  64. package/dist/collection/components/sd-button/sd-button.js +99 -173
  65. package/dist/collection/components/sd-calendar/sd-calendar.js +14 -14
  66. package/dist/collection/components/sd-card/sd-card.js +1 -1
  67. package/dist/collection/components/sd-checkbox/sd-checkbox.js +3 -3
  68. package/dist/collection/components/sd-chip/sd-chip.js +1 -1
  69. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  70. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +13 -8
  71. package/dist/collection/components/sd-date-box/sd-date-box.js +3 -3
  72. package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
  73. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.css +1 -1
  74. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +7 -5
  75. package/dist/collection/components/sd-date-picker/sd-date-picker.js +4 -4
  76. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  77. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +4 -4
  78. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +1 -1
  79. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +13 -11
  80. package/dist/collection/components/sd-field/sd-field.css +6 -2
  81. package/dist/collection/components/sd-field/sd-field.js +30 -5
  82. package/dist/collection/components/sd-file-picker/sd-file-picker.js +4 -4
  83. package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -3
  84. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +3 -3
  85. package/dist/collection/components/sd-form/sd-form.js +1 -1
  86. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +12 -10
  87. package/dist/collection/components/sd-guide/sd-guide.css +8 -172
  88. package/dist/collection/components/sd-guide/sd-guide.js +6 -4
  89. package/dist/collection/components/sd-icon/sd-icon.js +4 -4
  90. package/dist/collection/components/sd-input/sd-input.css +4 -2
  91. package/dist/collection/components/sd-input/sd-input.js +5 -5
  92. package/dist/collection/components/sd-key-value-table/sd-key-value-table.config.js +36 -0
  93. package/dist/collection/components/sd-key-value-table/sd-key-value-table.css +119 -0
  94. package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +301 -0
  95. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  96. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  97. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +6 -3
  98. package/dist/collection/components/sd-number-input/sd-number-input.css +7 -0
  99. package/dist/collection/components/sd-number-input/sd-number-input.js +6 -3
  100. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  101. package/dist/collection/components/sd-popover/sd-popover.js +128 -35
  102. package/dist/collection/components/sd-popup/sd-popup.config.js +34 -0
  103. package/dist/collection/components/sd-popup/sd-popup.css +73 -0
  104. package/dist/collection/components/sd-popup/sd-popup.js +163 -0
  105. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  106. package/dist/collection/components/sd-radio/sd-radio.js +1 -1
  107. package/dist/collection/components/sd-radio-button/sd-radio-button.js +3 -3
  108. package/dist/collection/components/sd-radio-group/sd-radio-group.js +2 -2
  109. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
  110. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.css +4 -4
  111. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  112. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +5 -5
  113. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
  114. package/dist/collection/components/sd-select/sd-select.js +5 -5
  115. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  116. package/dist/collection/components/sd-table/sd-table.config.js +2 -2
  117. package/dist/collection/components/sd-table/sd-table.css +8 -8
  118. package/dist/collection/components/sd-table/sd-table.js +54 -18
  119. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  120. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  121. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  122. package/dist/collection/components/sd-table/sd-tr/sd-tr.css +4 -0
  123. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +21 -3
  124. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  125. package/dist/collection/components/sd-tag/sd-tag.config.js +40 -8
  126. package/dist/collection/components/sd-tag/sd-tag.js +9 -6
  127. package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
  128. package/dist/collection/components/sd-text-link/sd-text-link.js +5 -4
  129. package/dist/collection/components/sd-textarea/sd-textarea.css +3 -0
  130. package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
  131. package/dist/collection/components/sd-toast/sd-toast.config.js +14 -0
  132. package/dist/collection/components/sd-toast/sd-toast.css +3 -5
  133. package/dist/collection/components/sd-toast/sd-toast.js +52 -5
  134. package/dist/collection/components/sd-toast-container/sd-toast-container.js +4 -4
  135. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  136. package/dist/collection/components/sd-tooltip/sd-tooltip.js +77 -30
  137. package/dist/collection/utils/color/resolveColor.js +2 -2
  138. package/dist/collection/utils/dropdown-manager.js +1 -1
  139. package/dist/collection/utils/toast.js +4 -4
  140. package/dist/components/index.js +1 -1
  141. package/dist/components/p--t9jBTYS.js +1 -0
  142. package/dist/components/p-At6nBeyO.js +1 -0
  143. package/dist/components/p-B1MabGRR.js +1 -0
  144. package/dist/components/{p-CeVMl_M9.js → p-B73VhbYi.js} +1 -1
  145. package/dist/components/p-BDQQllAo.js +1 -0
  146. package/dist/components/p-BDr27lvk.js +1 -0
  147. package/dist/components/p-BPsOJlCP.js +1 -0
  148. package/dist/components/p-BQ6at17Y.js +1 -0
  149. package/dist/components/p-BW_sBt7X.js +1 -0
  150. package/dist/components/p-BX3TJuQY.js +1 -0
  151. package/dist/components/p-BeK8amzx.js +1 -0
  152. package/dist/components/{p-Bvq0Vpln.js → p-BfkuCNCI.js} +1 -1
  153. package/dist/components/p-Bm_T3qE0.js +1 -0
  154. package/dist/components/{p-DegvQLTF.js → p-BnzK4uU4.js} +1 -1
  155. package/dist/components/{p-q0VWISKA.js → p-BqkJ0rZv.js} +1 -1
  156. package/dist/components/p-C4PmGpW8.js +1 -0
  157. package/dist/components/{p-Nvx13YlG.js → p-C9CszVFl.js} +1 -1
  158. package/dist/components/p-CGBnxqG2.js +1 -0
  159. package/dist/components/p-CGQWERwE.js +1 -0
  160. package/dist/components/{p-DkJqVXpD.js → p-CT3dfy3K.js} +1 -1
  161. package/dist/components/p-CZmKBmKx.js +1 -0
  162. package/dist/components/p-CnarDyZi.js +1 -0
  163. package/dist/components/p-Cr2ghUra.js +1 -0
  164. package/dist/components/{p-BStczlLa.js → p-Cspm6LxP.js} +1 -1
  165. package/dist/components/p-Cx3jXw9J.js +1 -0
  166. package/dist/components/{p-Dcc2Vm6z.js → p-D5TRyquv.js} +1 -1
  167. package/dist/components/p-D8WAP9T3.js +1 -0
  168. package/dist/components/p-DG-4Ifco.js +1 -0
  169. package/dist/components/{p-TwGlKfsC.js → p-DG45uNxd.js} +1 -1
  170. package/dist/components/p-DdLntfiw.js +1 -0
  171. package/dist/components/{p-BJsHakU2.js → p-DfXAgw0E.js} +1 -1
  172. package/dist/components/p-Dr1AMbBj.js +1 -0
  173. package/dist/components/p-GBlVDmy4.js +1 -0
  174. package/dist/components/p-MMkRcTBd.js +1 -0
  175. package/dist/components/p-MQTl8fGT.js +1 -0
  176. package/dist/components/p-ZstG0XdT.js +1 -0
  177. package/dist/components/p-h7eBUL4i.js +1 -0
  178. package/dist/components/p-lyB7zSp-.js +1 -0
  179. package/dist/components/{p-D1DpOp6M.js → p-oIM6jNZe.js} +1 -1
  180. package/dist/components/p-oKHZl8yu.js +1 -0
  181. package/dist/components/p-ofkgu5aS.js +1 -0
  182. package/dist/components/sd-action-modal.js +1 -1
  183. package/dist/components/sd-badge.js +1 -1
  184. package/dist/components/sd-barcode-input.js +1 -1
  185. package/dist/components/sd-button.js +1 -1
  186. package/dist/components/sd-calendar.js +1 -1
  187. package/dist/components/sd-card.js +1 -1
  188. package/dist/components/sd-checkbox.js +1 -1
  189. package/dist/components/sd-chip.js +1 -1
  190. package/dist/components/sd-circle-progress.js +1 -1
  191. package/dist/components/sd-confirm-modal.js +1 -1
  192. package/dist/components/sd-date-box.js +1 -1
  193. package/dist/components/sd-date-picker-calendar.js +1 -1
  194. package/dist/components/sd-date-picker-trigger.js +1 -1
  195. package/dist/components/sd-date-picker.js +1 -1
  196. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  197. package/dist/components/sd-date-range-picker.js +1 -1
  198. package/dist/components/sd-dropdown-button.js +1 -1
  199. package/dist/components/sd-field.js +1 -1
  200. package/dist/components/sd-file-picker.js +1 -1
  201. package/dist/components/sd-floating-portal.js +1 -1
  202. package/dist/components/sd-form.js +1 -1
  203. package/dist/components/sd-ghost-button.js +1 -1
  204. package/dist/components/sd-guide.js +1 -1
  205. package/dist/components/sd-icon.js +1 -1
  206. package/dist/components/sd-input.js +1 -1
  207. package/dist/components/sd-key-value-table.d.ts +11 -0
  208. package/dist/components/sd-key-value-table.js +1 -0
  209. package/dist/components/sd-linear-progress.js +1 -1
  210. package/dist/components/sd-loading-container.js +1 -1
  211. package/dist/components/sd-loading-modal.js +1 -1
  212. package/dist/components/sd-modal-container.js +1 -1
  213. package/dist/components/sd-number-input.js +1 -1
  214. package/dist/components/sd-pagination.js +1 -1
  215. package/dist/components/sd-popover.js +1 -1
  216. package/dist/components/{sd-button-v2.d.ts → sd-popup.d.ts} +4 -4
  217. package/dist/components/sd-popup.js +1 -0
  218. package/dist/components/sd-portal.js +1 -1
  219. package/dist/components/sd-radio-button.js +1 -1
  220. package/dist/components/sd-radio-group.js +1 -1
  221. package/dist/components/sd-radio.js +1 -1
  222. package/dist/components/sd-select-list-item-search.js +1 -1
  223. package/dist/components/sd-select-list-item.js +1 -1
  224. package/dist/components/sd-select-listbox.js +1 -1
  225. package/dist/components/sd-select-trigger.js +1 -1
  226. package/dist/components/sd-select.js +1 -1
  227. package/dist/components/sd-switch.js +1 -1
  228. package/dist/components/sd-table.js +1 -1
  229. package/dist/components/sd-tabs.js +1 -1
  230. package/dist/components/sd-tag.js +1 -1
  231. package/dist/components/sd-tbody.js +1 -1
  232. package/dist/components/sd-td.js +1 -1
  233. package/dist/components/sd-text-link.js +1 -1
  234. package/dist/components/sd-textarea.js +1 -1
  235. package/dist/components/sd-thead.js +1 -1
  236. package/dist/components/sd-toast-container.js +1 -1
  237. package/dist/components/sd-toast.js +1 -1
  238. package/dist/components/sd-toggle.js +1 -1
  239. package/dist/components/sd-tooltip.js +1 -1
  240. package/dist/components/sd-tr.js +1 -1
  241. package/dist/design-system/design-system.css +1 -1
  242. package/dist/design-system/design-system.esm.js +1 -1
  243. package/dist/design-system/index.esm.js +1 -1
  244. package/dist/design-system/p-02289728.entry.js +1 -0
  245. package/dist/design-system/p-17d66d85.entry.js +1 -0
  246. package/dist/design-system/p-18466728.entry.js +1 -0
  247. package/dist/design-system/p-1bb86d69.entry.js +1 -0
  248. package/dist/design-system/p-20a50702.entry.js +1 -0
  249. package/dist/design-system/p-21874054.entry.js +1 -0
  250. package/dist/design-system/p-282cbefa.entry.js +1 -0
  251. package/dist/design-system/p-29ed11e5.entry.js +1 -0
  252. package/dist/design-system/p-328fae12.entry.js +1 -0
  253. package/dist/design-system/p-35dce399.entry.js +1 -0
  254. package/dist/design-system/{p-1cf87e87.entry.js → p-39ff56b4.entry.js} +1 -1
  255. package/dist/design-system/p-3cb712a6.entry.js +1 -0
  256. package/dist/design-system/{p-f522c91d.entry.js → p-4e2953eb.entry.js} +1 -1
  257. package/dist/design-system/p-7610153d.entry.js +1 -0
  258. package/dist/design-system/{p-25a08e98.entry.js → p-7722ddeb.entry.js} +1 -1
  259. package/dist/design-system/{p-6bfe3612.entry.js → p-7882e388.entry.js} +1 -1
  260. package/dist/design-system/p-7bfa0cf9.entry.js +1 -0
  261. package/dist/design-system/p-824ecfb5.entry.js +1 -0
  262. package/dist/design-system/p-9a04b341.entry.js +1 -0
  263. package/dist/design-system/p-BDjErF_K.js +1 -0
  264. package/dist/design-system/p-BQ6at17Y.js +1 -0
  265. package/dist/design-system/p-CGQWERwE.js +1 -0
  266. package/dist/design-system/p-CLCoul8o.js +2 -0
  267. package/dist/design-system/{p-BxPyZJaz.js → p-Ce0cmS4R.js} +1 -1
  268. package/dist/design-system/p-CxOCk_ge.js +1 -0
  269. package/dist/design-system/{p-DnCBBIoq.js → p-Dmf0PYdM.js} +1 -1
  270. package/dist/design-system/p-GBlVDmy4.js +1 -0
  271. package/dist/design-system/{p-455dccf5.entry.js → p-a7a0ca14.entry.js} +1 -1
  272. package/dist/design-system/{p-f44786a9.entry.js → p-a942dfbe.entry.js} +1 -1
  273. package/dist/design-system/p-b04b22c6.entry.js +1 -0
  274. package/dist/design-system/p-b1bb0d72.entry.js +1 -0
  275. package/dist/design-system/{p-ead3e688.entry.js → p-b6ca4461.entry.js} +1 -1
  276. package/dist/design-system/p-b96c694c.entry.js +1 -0
  277. package/dist/design-system/p-baed13e4.entry.js +1 -0
  278. package/dist/design-system/{p-045bc426.entry.js → p-bd45e65d.entry.js} +1 -1
  279. package/dist/design-system/p-bf4156d8.entry.js +1 -0
  280. package/dist/design-system/{p-e5cebccd.entry.js → p-c0f60b00.entry.js} +1 -1
  281. package/dist/design-system/p-c228c2c7.entry.js +1 -0
  282. package/dist/design-system/p-cbda9194.entry.js +1 -0
  283. package/dist/design-system/{p-fe9cef6a.entry.js → p-cd8e4dd6.entry.js} +1 -1
  284. package/dist/design-system/p-cf382479.entry.js +1 -0
  285. package/dist/design-system/p-d0de34fd.entry.js +1 -0
  286. package/dist/design-system/p-d78fbe16.entry.js +1 -0
  287. package/dist/design-system/p-e1c0a3c9.entry.js +1 -0
  288. package/dist/design-system/{p-797517b5.entry.js → p-f3cfff78.entry.js} +1 -1
  289. package/dist/design-system/{p-3f7bc660.entry.js → p-f5576a0d.entry.js} +1 -1
  290. package/dist/design-system/p-f60cc7be.entry.js +1 -0
  291. package/dist/design-system/{p-33bc3176.entry.js → p-feeb0cc5.entry.js} +1 -1
  292. package/dist/esm/component.table-BQ6at17Y.js +54 -0
  293. package/dist/esm/design-system.js +3 -3
  294. package/dist/esm/{index-Cnwbjz1F.js → index-CLCoul8o.js} +1 -1
  295. package/dist/esm/index.js +4 -4
  296. package/dist/esm/loader.js +3 -3
  297. package/dist/esm/{resolveColor-BxPyZJaz.js → resolveColor-Ce0cmS4R.js} +2 -2
  298. package/dist/esm/sd-action-modal.entry.js +3 -3
  299. package/dist/esm/sd-badge.entry.js +2 -3
  300. package/dist/esm/sd-barcode-input.entry.js +3 -3
  301. package/dist/esm/{sd-button-v2.config-CV4xelxV.js → sd-button.config-BDjErF_K.js} +88 -3
  302. package/dist/esm/{sd-button-v2_2.entry.js → sd-button_2.entry.js} +101 -85
  303. package/dist/esm/sd-calendar.entry.js +15 -15
  304. package/dist/esm/sd-card.entry.js +2 -2
  305. package/dist/esm/sd-checkbox.entry.js +4 -4
  306. package/dist/esm/sd-chip.entry.js +2 -2
  307. package/dist/esm/sd-circle-progress.entry.js +3 -3
  308. package/dist/esm/sd-confirm-modal_2.entry.js +19 -11
  309. package/dist/esm/sd-date-box.entry.js +4 -4
  310. package/dist/esm/{sd-date-picker-calendar.entry.js → sd-date-picker-calendar_2.entry.js} +51 -4
  311. package/dist/esm/{sd-date-picker.config-C2fDbE9d.js → sd-date-picker.config-B6cqMQaM.js} +1 -2
  312. package/dist/esm/sd-date-picker_7.entry.js +1222 -0
  313. package/dist/esm/sd-date-range-picker-calendar.entry.js +3 -3
  314. package/dist/esm/sd-dropdown-button.entry.js +15 -14
  315. package/dist/esm/{sd-button_4.entry.js → sd-field_3.entry.js} +27 -82
  316. package/dist/esm/sd-form.entry.js +2 -2
  317. package/dist/esm/sd-ghost-button.entry.js +12 -10
  318. package/dist/esm/sd-guide.entry.js +9 -9
  319. package/dist/esm/sd-key-value-table.entry.js +228 -0
  320. package/dist/esm/sd-linear-progress.entry.js +3 -3
  321. package/dist/esm/sd-loading-container.entry.js +3 -3
  322. package/dist/esm/sd-modal-container.entry.js +1 -1
  323. package/dist/esm/{sd-pagination_5.entry.js → sd-pagination_4.entry.js} +35 -296
  324. package/dist/esm/sd-popover.entry.js +17 -10
  325. package/dist/esm/sd-popup.entry.js +110 -0
  326. package/dist/esm/sd-portal.entry.js +2 -2
  327. package/dist/esm/sd-radio-button.entry.js +4 -4
  328. package/dist/esm/sd-radio.entry.js +2 -2
  329. package/dist/esm/sd-select-list-item_2.entry.js +152 -0
  330. package/dist/esm/sd-select.config-CxOCk_ge.js +165 -0
  331. package/dist/esm/{sd-select-list-item_4.entry.js → sd-select_3.entry.js} +271 -302
  332. package/dist/esm/sd-switch.entry.js +2 -2
  333. package/dist/esm/{sd-table.config-Bj-EEo7N.js → sd-table.config-0Te8GLCI.js} +4 -44
  334. package/dist/esm/sd-table.entry.js +40 -23
  335. package/dist/esm/sd-tabs.entry.js +2 -2
  336. package/dist/esm/sd-tag.entry.js +49 -14
  337. package/dist/esm/sd-td.entry.js +2 -2
  338. package/dist/esm/sd-text-link.entry.js +8 -5
  339. package/dist/esm/sd-toast-container.entry.js +5 -5
  340. package/dist/esm/sd-toast.entry.js +35 -5
  341. package/dist/esm/sd-toggle.entry.js +2 -2
  342. package/dist/esm/{system-CZ4ltUOw.js → system-GBlVDmy4.js} +4 -2
  343. package/dist/esm/{tooltipArrow-D8sr81Xw.js → tooltipArrow-Bc-yw2nt.js} +1 -1
  344. package/dist/types/components/assets/CheckboxCheck.d.ts +1 -0
  345. package/dist/types/components/assets/CheckboxIndeterminate.d.ts +1 -0
  346. package/dist/types/components/assets/index.d.ts +2 -0
  347. package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +2 -2
  348. package/dist/types/components/sd-badge/sd-badge.d.ts +0 -1
  349. package/dist/types/components/{sd-button-v2/sd-button-v2.config.d.ts → sd-button/sd-button.config.d.ts} +9 -15
  350. package/dist/types/components/sd-button/sd-button.d.ts +11 -13
  351. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.config.d.ts +3 -3
  352. package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +2 -1
  353. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +3 -3
  354. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +1 -0
  355. package/dist/types/components/sd-field/sd-field.d.ts +1 -0
  356. package/dist/types/components/sd-key-value-table/sd-key-value-table.config.d.ts +105 -0
  357. package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +38 -0
  358. package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +2 -2
  359. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
  360. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -1
  361. package/dist/types/components/sd-popover/sd-popover.d.ts +16 -10
  362. package/dist/types/components/sd-popup/sd-popup.config.d.ts +30 -0
  363. package/dist/types/components/sd-popup/sd-popup.d.ts +11 -0
  364. package/dist/types/components/sd-table/sd-table.d.ts +2 -0
  365. package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +2 -0
  366. package/dist/types/components/sd-tag/sd-tag.d.ts +1 -0
  367. package/dist/types/components/sd-toast/sd-toast.config.d.ts +5 -1
  368. package/dist/types/components/sd-toast/sd-toast.d.ts +2 -0
  369. package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +2 -0
  370. package/dist/types/components/sd-tooltip/sd-tooltip.config.d.ts +2 -13
  371. package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +6 -4
  372. package/dist/types/components.d.ts +237 -184
  373. package/dist/types/index.d.ts +1 -1
  374. package/dist/types/types/form.d.ts +1 -1
  375. package/dist/types/types/global.d.ts +14 -13
  376. package/dist/types/utils/toast.d.ts +1 -1
  377. package/hydrate/index.js +5182 -4738
  378. package/hydrate/index.mjs +5182 -4738
  379. package/package.json +111 -97
  380. package/readme.md +13 -7
  381. package/dist/cjs/component.button-cqV-iCG5.js +0 -90
  382. package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +0 -51
  383. package/dist/cjs/sd-date-picker.cjs.entry.js +0 -117
  384. package/dist/cjs/sd-date-range-picker.cjs.entry.js +0 -123
  385. package/dist/cjs/sd-file-picker.cjs.entry.js +0 -244
  386. package/dist/cjs/sd-input.cjs.entry.js +0 -175
  387. package/dist/cjs/sd-number-input.cjs.entry.js +0 -409
  388. package/dist/cjs/sd-radio-group.cjs.entry.js +0 -46
  389. package/dist/cjs/sd-table.config-Cb0Ot3C6.js +0 -105
  390. package/dist/cjs/sd-textarea.cjs.entry.js +0 -146
  391. package/dist/collection/components/sd-button-v2/sd-button-v2.css +0 -125
  392. package/dist/collection/components/sd-button-v2/sd-button-v2.js +0 -273
  393. package/dist/components/p-B1XBwjCW.js +0 -1
  394. package/dist/components/p-B8jXOXtJ.js +0 -1
  395. package/dist/components/p-BE6TxbtX.js +0 -1
  396. package/dist/components/p-BcMNA89i.js +0 -1
  397. package/dist/components/p-BheX6lAy.js +0 -1
  398. package/dist/components/p-BmYM7-4v.js +0 -1
  399. package/dist/components/p-BppjYHF6.js +0 -1
  400. package/dist/components/p-BwWDMpJc.js +0 -1
  401. package/dist/components/p-C-kw2p2a.js +0 -1
  402. package/dist/components/p-C5qZtNLl.js +0 -1
  403. package/dist/components/p-C7DajKYn.js +0 -1
  404. package/dist/components/p-CZ4ltUOw.js +0 -1
  405. package/dist/components/p-D3gjBBCU.js +0 -1
  406. package/dist/components/p-DC-6inj0.js +0 -1
  407. package/dist/components/p-DRF0He-x.js +0 -1
  408. package/dist/components/p-Dey-lS6x.js +0 -1
  409. package/dist/components/p-DfH_fO01.js +0 -1
  410. package/dist/components/p-DngV3MT1.js +0 -1
  411. package/dist/components/p-EbjZr2OA.js +0 -1
  412. package/dist/components/p-LwWOleLJ.js +0 -1
  413. package/dist/components/p-ZMpCZhXP.js +0 -1
  414. package/dist/components/p-dNJIFthT.js +0 -1
  415. package/dist/components/p-xnLvZ-xn.js +0 -1
  416. package/dist/components/sd-button-v2.js +0 -1
  417. package/dist/design-system/p-0356c195.entry.js +0 -1
  418. package/dist/design-system/p-12dfd239.entry.js +0 -1
  419. package/dist/design-system/p-16d3a485.entry.js +0 -1
  420. package/dist/design-system/p-1706ed6f.entry.js +0 -1
  421. package/dist/design-system/p-182548f7.entry.js +0 -1
  422. package/dist/design-system/p-1a79edce.entry.js +0 -1
  423. package/dist/design-system/p-2812b9ce.entry.js +0 -1
  424. package/dist/design-system/p-38f661ea.entry.js +0 -1
  425. package/dist/design-system/p-429dab5c.entry.js +0 -1
  426. package/dist/design-system/p-59313838.entry.js +0 -1
  427. package/dist/design-system/p-6af01ab0.entry.js +0 -1
  428. package/dist/design-system/p-70d4903f.entry.js +0 -1
  429. package/dist/design-system/p-767e99f9.entry.js +0 -1
  430. package/dist/design-system/p-7c370335.entry.js +0 -1
  431. package/dist/design-system/p-7fe8be6a.entry.js +0 -1
  432. package/dist/design-system/p-83b262dc.entry.js +0 -1
  433. package/dist/design-system/p-881adaa5.entry.js +0 -1
  434. package/dist/design-system/p-88d7303c.entry.js +0 -1
  435. package/dist/design-system/p-8a601e0f.entry.js +0 -1
  436. package/dist/design-system/p-B1XBwjCW.js +0 -1
  437. package/dist/design-system/p-BsrEibf7.js +0 -1
  438. package/dist/design-system/p-C5qZtNLl.js +0 -1
  439. package/dist/design-system/p-CZ4ltUOw.js +0 -1
  440. package/dist/design-system/p-Cnwbjz1F.js +0 -2
  441. package/dist/design-system/p-a82be987.entry.js +0 -1
  442. package/dist/design-system/p-b917c82a.entry.js +0 -1
  443. package/dist/design-system/p-b9f00eef.entry.js +0 -1
  444. package/dist/design-system/p-bcb53788.entry.js +0 -1
  445. package/dist/design-system/p-c24344ac.entry.js +0 -1
  446. package/dist/design-system/p-d76192bd.entry.js +0 -1
  447. package/dist/design-system/p-d9d8c51b.entry.js +0 -1
  448. package/dist/design-system/p-de67937d.entry.js +0 -1
  449. package/dist/design-system/p-ea5e6c2c.entry.js +0 -1
  450. package/dist/design-system/p-eeb1cac2.entry.js +0 -1
  451. package/dist/design-system/p-f1a74359.entry.js +0 -1
  452. package/dist/design-system/p-f69c7539.entry.js +0 -1
  453. package/dist/esm/component.button-B1XBwjCW.js +0 -88
  454. package/dist/esm/sd-date-picker-trigger.entry.js +0 -49
  455. package/dist/esm/sd-date-picker.entry.js +0 -115
  456. package/dist/esm/sd-date-range-picker.entry.js +0 -121
  457. package/dist/esm/sd-file-picker.entry.js +0 -242
  458. package/dist/esm/sd-input.entry.js +0 -173
  459. package/dist/esm/sd-number-input.entry.js +0 -407
  460. package/dist/esm/sd-radio-group.entry.js +0 -44
  461. package/dist/esm/sd-textarea.entry.js +0 -144
  462. package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +0 -19
  463. /package/dist/components/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
  464. /package/dist/design-system/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment } from './index-CLCoul8o.js';
2
2
  import { u as useDatePicker, t as today } from './useDatePicker-DTrMR0rx.js';
3
- import { d as datepickerTokens, W as WEEK_LABELS, C as CALENDAR_LAYOUT } from './sd-date-picker.config-C2fDbE9d.js';
3
+ import { d as datepickerTokens, W as WEEK_LABELS, C as CALENDAR_LAYOUT } from './sd-date-picker.config-B6cqMQaM.js';
4
4
 
5
5
  const addDays = (inputDate, days) => {
6
6
  const [year, month, day] = inputDate.split('-').map(Number);
@@ -265,7 +265,7 @@ const SdDateRangePickerCalendar = class {
265
265
  '--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
266
266
  '--range-divider': RANGE_LAYOUT.divider,
267
267
  };
268
- return (h(Fragment, { key: 'acc32d9c349c4cee32bb923ce66d17122527b524' }, h("div", { key: 'bd579429ae609c3ff21a542bf69c1dc9a907846a', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: '8a46d922fcaa09bd7f778d00e77324d1710b92c7', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: '8234838995f1e5d945f85169e702cb0b32018f36', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
268
+ return (h(Fragment, { key: '1c32908b35f51dd5a9fa2817ffb81cf60e721b40' }, h("div", { key: 'd5dea22d401dbcde38a7677a46a3003543499aaf', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: '678611077abc979433250e7d5013f14aa15e5090', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: '1c8a77eceedfdb52d7bab44fb9b9018bfe5ccd91', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
269
269
  }
270
270
  static get watchers() { return {
271
271
  "value": [{
@@ -1,13 +1,12 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h } from './index-Cnwbjz1F.js';
2
- import { B as BUTTON_CONFIG, g as getPresetName, c as PRESET_BORDER_COLORS$1, P as PRESET_CONTENT_COLORS$1, d as PRESET_HOVER_BACKGROUNDS$1, b as BUTTON_FOCUS_RING_COLOR } from './sd-button-v2.config-CV4xelxV.js';
3
- import { b as buttonTokens } from './component.button-B1XBwjCW.js';
4
- import { s as systemTokens } from './system-CZ4ltUOw.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-CLCoul8o.js';
2
+ import { B as BUTTON_CONFIG, g as getPresetName, c as PRESET_BORDER_COLORS$1, e as buttonTokens, P as PRESET_CONTENT_COLORS$1, d as PRESET_HOVER_BACKGROUNDS$1, b as BUTTON_FOCUS_RING_COLOR } from './sd-button.config-BDjErF_K.js';
3
+ import { s as systemTokens } from './system-GBlVDmy4.js';
5
4
 
6
5
  class DropdownManager {
7
6
  static instance;
8
7
  activeDropdowns = new Set();
9
8
  static getInstance() {
10
- if (!DropdownManager.instance) {
9
+ if (DropdownManager.instance === undefined) {
11
10
  DropdownManager.instance = new DropdownManager();
12
11
  }
13
12
  return DropdownManager.instance;
@@ -234,15 +233,17 @@ const SdDropdownButton = class extends BaseDropdownEvent {
234
233
  break;
235
234
  }
236
235
  }
237
- get resolvedConfig() {
236
+ get resolvedName() {
238
237
  if (!isDropdownButtonName(this.name)) {
239
- throw new Error(`Invalid sd-dropdown-button name: ${this.name}`);
238
+ throw new Error(`Invalid sd-dropdown-button name: "${this.name}"`);
240
239
  }
241
- const config = DROPDOWN_BUTTON_CONFIG[this.name];
242
- const preset = getDropdownButtonPreset(this.name);
240
+ return this.name;
241
+ }
242
+ get resolvedConfig() {
243
+ const name = this.resolvedName;
243
244
  return {
244
- config,
245
- preset,
245
+ config: DROPDOWN_BUTTON_CONFIG[name],
246
+ preset: getDropdownButtonPreset(name),
246
247
  };
247
248
  }
248
249
  getNextEnabledIndex(direction) {
@@ -331,7 +332,7 @@ const SdDropdownButton = class extends BaseDropdownEvent {
331
332
  }
332
333
  render() {
333
334
  const { config, preset } = this.resolvedConfig;
334
- return (h("div", { key: 'ce06d2b7e13cb234bb6e7393939d2ccd834801a5', class: "sd-dropdown-button" }, h("button", { key: '4bd3e86eec90698188a834eb35ff922dee7d1855', type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen), disabled: this.disabled, "aria-haspopup": "menu", "aria-expanded": String(this.isOpen), onClick: this.toggleDropdown, ref: el => (this.triggerRef = el), style: {
335
+ return (h("div", { key: 'bef9cb5da07e02dd2a2a69f17bb71114045adace', class: "sd-dropdown-button" }, h("button", { key: 'bfc671cd3d3cf8221886d7453674a2c07699440e', type: "button", class: this.getTriggerClasses(preset, config.size, this.disabled, this.isOpen), disabled: this.disabled, "aria-haspopup": "menu", "aria-expanded": String(this.isOpen), onClick: this.toggleDropdown, ref: el => (this.triggerRef = el), style: {
335
336
  '--sd-dropdown-button-bg': config.color,
336
337
  '--sd-dropdown-button-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
337
338
  '--sd-dropdown-button-border': PRESET_BORDER_COLORS[preset],
@@ -341,10 +342,10 @@ const SdDropdownButton = class extends BaseDropdownEvent {
341
342
  '--sd-dropdown-button-disabled-bg': DROPDOWN_DISABLED_BACKGROUND,
342
343
  '--sd-dropdown-button-disabled-content': DROPDOWN_DISABLED_TEXT,
343
344
  '--sd-dropdown-button-disabled-border': DROPDOWN_DISABLED_BORDER,
344
- } }, h("span", { key: '2baea4f0777ec766625d4ae1fb14739aa61ca114', class: "sd-dropdown-button__trigger-label" }, this.label), h("span", { key: 'b37a94dd23d26a1444ddccc192b2a5ab2388bc64', class: "sd-dropdown-button__trigger-divider", "aria-hidden": "true" }), h("span", { key: 'b903ff916c3ae1ab189cd08877a57940e45d8aeb', class: {
345
+ } }, h("span", { key: '17bf00861dd721cbd41de9c92db9e58e2eb7399e', class: "sd-dropdown-button__trigger-label" }, this.label), h("span", { key: '218fe7ed965155abbf13e39c907b0c4e1a40004a', class: "sd-dropdown-button__trigger-divider", "aria-hidden": "true" }), h("span", { key: '17014bf0654e35a1665e36a9a65fa3f067b9f1b8', class: {
345
346
  'sd-dropdown-button__trigger-icon': true,
346
347
  'sd-dropdown-button__trigger-icon--open': this.isOpen,
347
- }, "aria-hidden": "true" }, h("sd-icon", { key: '2eac1eabd2677decb0c1cfe4f518a7da9aca60ff', name: "chevronDown", size: DROPDOWN_CHEVRON_ICON_SIZE[config.size], color: "var(--sd-dropdown-button-current-content)" }))), this.renderDropdown(preset)));
348
+ }, "aria-hidden": "true" }, h("sd-icon", { key: '89a4c971bbb929a1ed39048f390dbf63c92a4408', name: "chevronDown", size: DROPDOWN_CHEVRON_ICON_SIZE[config.size], color: "var(--sd-dropdown-button-current-content)" }))), this.renderDropdown(preset)));
348
349
  }
349
350
  static get watchers() { return {
350
351
  "isOpen": [{
@@ -1,68 +1,5 @@
1
- import { r as registerInstance, c as createEvent, a as getElement, h, F as Fragment } from './index-Cnwbjz1F.js';
2
- import { b as buttonTokens } from './component.button-B1XBwjCW.js';
3
- import { r as resolveColor } from './resolveColor-BxPyZJaz.js';
4
- import { T as TooltipArrow } from './tooltipArrow-D8sr81Xw.js';
5
-
6
- const sdButtonCss = () => `sd-button{display:inline-flex;width:fit-content;height:fit-content}.sd-button{--sd-button-height:34px;--sd-button-padding-x:20px;--sd-button-gap:8px;--sd-button-font-family:inherit;--sd-button-font-size:16px;--sd-button-font-weight:500;--sd-button-text-decoration:none;--sd-button-label-min-width:auto;--sd-button-icon-only-size:var(--sd-button-height);text-decoration:none;cursor:pointer;border-radius:var(--sd-button-button-radius-sm, 4px);transition:all 0.2s ease-in-out;position:relative;overflow:hidden;white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:none;padding:0 var(--sd-button-padding-x);min-width:var(--sd-button-min-width, auto);min-height:var(--sd-button-height);font-family:var(--sd-button-font-family);font-size:var(--sd-button-font-size);font-weight:var(--sd-button-font-weight);text-decoration:var(--sd-button-text-decoration)}.sd-button--xs{--sd-button-height:var(--sd-button-button-xs-height, 24px);--sd-button-padding-x:var(--sd-button-button-xs-padding-x, 8px);--sd-button-gap:var(--sd-button-button-xs-gap, 4px);--sd-button-font-family:var(--sd-button-button-xs-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-xs-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-button-xs-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-xs-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-xs-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-xs-width, var(--sd-button-height));line-height:20px}.sd-button--sm{--sd-button-height:var(--sd-button-button-sm-height, 28px);--sd-button-padding-x:var(--sd-button-button-sm-padding-x, 12px);--sd-button-gap:var(--sd-button-button-sm-gap, 6px);--sd-button-font-family:var(--sd-button-button-sm-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-sm-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-button-sm-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-sm-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-sm-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-sm-width, var(--sd-button-height));line-height:20px}.sd-button--md{--sd-button-height:var(--sd-button-button-md-height, 34px);--sd-button-padding-x:var(--sd-button-button-md-padding-x, 20px);--sd-button-gap:var(--sd-button-button-md-gap, 8px);--sd-button-font-family:var(--sd-button-button-md-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-md-typography-font-size, 16px);--sd-button-font-weight:var(--sd-button-button-md-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-md-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-md-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-md-width, var(--sd-button-height));line-height:26px}.sd-button--lg{--sd-button-height:var(--sd-button-button-lg-height, 62px);--sd-button-padding-x:var(--sd-button-button-lg-padding-x, 28px);--sd-button-gap:var(--sd-button-button-lg-gap, 12px);--sd-button-font-family:var(--sd-button-button-lg-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-lg-typography-font-size, 18px);--sd-button-font-weight:var(--sd-button-button-lg-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-lg-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-lg-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-lg-width, var(--sd-button-height));line-height:30px}.sd-button--has-label{--sd-button-min-width:var(--sd-button-label-min-width, auto)}.sd-button--primary{background-color:var(--button-color);color:white;transition:filter 0.2s ease}.sd-button--primary::before{content:"";position:absolute;inset:0;background:#000000;opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--primary:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.25}.sd-button--outline{background:white;border:var(--sd-button-button-border-width-default, 1px) solid var(--button-color);color:var(--button-color)}.sd-button--outline::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--outline:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--outline .sd-button__content{position:relative;z-index:1}.sd-button--ghost{background-color:transparent;color:var(--button-color);border-color:transparent}.sd-button--ghost::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--ghost:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--ghost .sd-button__content{position:relative;z-index:1}.sd-button--disabled{border:var(--sd-button-button-border-width-default, 1px) solid var(--sd-button-button-border-disabled, #CCCCCC);background:var(--sd-button-button-bg-disabled, #E1E1E1);color:var(--sd-button-button-text-disabled, #888888);cursor:not-allowed !important}.sd-button--icon-only{padding:0;width:var(--sd-button-icon-only-size, var(--sd-button-height));min-width:var(--sd-button-icon-only-size, var(--sd-button-height));height:var(--sd-button-icon-only-size, var(--sd-button-height))}.sd-button--no-hover:hover::before{opacity:0 !important}.sd-button .sd-button__content{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-button-gap);z-index:1;font-weight:inherit}`;
7
-
8
- const ICON_SIZES = {
9
- xs: Number(buttonTokens.button.xs.icon),
10
- sm: Number(buttonTokens.button.sm.icon),
11
- md: Number(buttonTokens.button.md.icon),
12
- lg: Number(buttonTokens.button.lg.icon),
13
- };
14
- const SdButton = class {
15
- constructor(hostRef) {
16
- registerInstance(this, hostRef);
17
- this.click = createEvent(this, "sdClick", 7);
18
- }
19
- get el() { return getElement(this); }
20
- variant = 'primary';
21
- size = 'sm';
22
- color = '#025497';
23
- label = '';
24
- disabled = false;
25
- type = 'button';
26
- icon;
27
- iconColor;
28
- iconSize;
29
- iconRight;
30
- noHover = false;
31
- sdClass = '';
32
- click;
33
- handleClick = (event) => {
34
- if (this.disabled) {
35
- return;
36
- }
37
- this.click.emit(event);
38
- };
39
- getButtonClasses() {
40
- const classes = ['sd-button'];
41
- classes.push(`sd-button--${this.variant}`);
42
- classes.push(`sd-button--${this.size}`);
43
- classes.push(`sd-button--color-${this.color}`);
44
- if (this.disabled) {
45
- classes.push('sd-button--disabled');
46
- }
47
- if (this.label) {
48
- classes.push('sd-button--has-label');
49
- }
50
- if (!this.label && (this.icon || this.iconRight)) {
51
- classes.push('sd-button--icon-only');
52
- }
53
- if (this.noHover) {
54
- classes.push('sd-button--no-hover');
55
- }
56
- return classes.join(' ');
57
- }
58
- render() {
59
- const buttonClasses = this.getButtonClasses();
60
- // 유틸로 색상 키 -> HEX 매핑 (없으면 원본 그대로)
61
- const resolvedColor = resolveColor(this.color);
62
- return (h("button", { key: 'b18b0e46ec5a26e35fd0c782c975c1e3f94c7bea', class: `${buttonClasses} ${this.sdClass}`, type: this.type, disabled: this.disabled, style: { '--button-color': resolvedColor }, onClick: this.handleClick }, h("div", { key: '3364b81ca9323e88b56ccde7783417416ecec4a0', class: "sd-button__content" }, this.icon && (h("sd-icon", { key: 'dbe12d21483f50cab4e7284fc340e5b02ec6578d', class: "sd-button__icon sd-button__icon--left", name: this.icon, size: this.iconSize ?? ICON_SIZES[this.size], color: this.iconColor ?? (this.variant === 'primary' ? '#fff' : resolvedColor) })), this.label && h("div", { key: '793b3ef70ff8fbe7a043baf3b00097ab0c3bb59b', class: "sd-button__label" }, this.label), this.iconRight && (h("sd-icon", { key: '9b35739d4c18c38f9487c806d4becc312146bed4', class: "sd-button__icon sd-button__icon--right", name: this.iconRight, size: ICON_SIZES[this.size], color: this.variant === 'primary' ? '#fff' : resolvedColor })))));
63
- }
64
- };
65
- SdButton.style = sdButtonCss();
1
+ import { r as registerInstance, a as getElement, h, c as createEvent, F as Fragment } from './index-CLCoul8o.js';
2
+ import { T as TooltipArrow } from './tooltipArrow-Bc-yw2nt.js';
66
3
 
67
4
  const field = {
68
5
  label: {
@@ -133,7 +70,7 @@ const FIELD_LABEL_SIZE_MAP = {
133
70
  },
134
71
  };
135
72
 
136
- const sdFieldCss = () => `sd-field{display:inline-flex;flex-flow:column nowrap;height:fit-content;width:100%}sd-field .sd-field *:focus,sd-field .sd-field *:focus-visible,sd-field .sd-field *:focus-within{outline:none !important}sd-field .sd-field.sd-field--disabled{cursor:not-allowed}sd-field .sd-field.sd-field--disabled .sd-field__wrapper{cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__label-inside{border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__control{background-color:#E1E1E1;border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label{display:flex;align-items:center;flex-shrink:0;width:var(--sd-field-label-width, auto);height:var(--sd-field-label-height);margin-right:var(--sd-field-label-margin-right)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__icon{margin-right:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__text{font-size:var(--sd-field-label-font-size);line-height:var(--sd-field-label-line-height);font-weight:var(--sd-field-label-font-weight);color:var(--sd-system-color-field-text-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__tooltip{margin-left:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-addon .sd-field__control .sd-field__addon{display:flex;gap:var(--sd-field-addon-gap);align-items:center;justify-content:var(--sd-field-addon-justify, flex-start);white-space:nowrap;box-sizing:border-box;flex-shrink:0;width:var(--sd-field-addon-width, auto);padding:0 var(--sd-field-addon-padding-x);font-size:var(--sd-field-addon-font-size);line-height:var(--sd-field-addon-line-height);font-weight:var(--sd-field-addon-font-weight);background:var(--sd-field-addon-bg);border-right:var(--sd-field-addon-border-width) solid var(--sd-field-addon-border-color);border-radius:calc(var(--sd-field-control-radius) - 1px) 0 0 calc(var(--sd-field-control-radius) - 1px)}sd-field .sd-field__wrapper{width:100%;display:flex;align-items:flex-start;flex-flow:row nowrap;position:relative;color:var(--sd-system-color-field-text-default);-webkit-user-select:none;user-select:none}sd-field .sd-field__wrapper .sd-field__main{flex:1;min-width:0;display:flex;flex-direction:column}sd-field .sd-field__wrapper .sd-field__control{position:relative;height:var(--sd-field-wrapper-height);display:flex;min-width:0;border:1px solid var(--sd-system-color-field-border-default);border-radius:var(--sd-field-control-radius);background:var(--sd-system-color-field-bg-default)}sd-field .sd-field--error .sd-field__wrapper .sd-field__control:not(:hover){border:1px solid var(--sd-system-color-field-border-danger) !important}sd-field .sd-field.sd-field--pass .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-success) !important}sd-field .sd-field:not(.sd-field--disabled) .sd-field__wrapper .sd-field__control:hover{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--focus .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field .sd-field__error-message{color:var(--sd-textinput-textinput-text-error-message);font-size:var(--sd-textinput-textinput-error-message-typography-font-size);line-height:var(--sd-textinput-textinput-error-message-typography-line-height);margin-top:var(--sd-textinput-textinput-contents-gap)}sd-field .sd-field .sd-field__hint{color:var(--sd-textinput-textinput-text-hint);font-size:var(--sd-textinput-textinput-hint-typography-font-size);line-height:var(--sd-textinput-textinput-hint-typography-line-height);margin-top:var(--sd-textinput-textinput-contents-gap)}`;
73
+ const sdFieldCss = () => `sd-field{display:inline-flex;flex-flow:column nowrap;height:fit-content;width:100%}sd-field .sd-field *:focus,sd-field .sd-field *:focus-visible,sd-field .sd-field *:focus-within{outline:none !important}sd-field .sd-field.sd-field--disabled{cursor:not-allowed}sd-field .sd-field.sd-field--disabled .sd-field__wrapper{cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__label-inside{border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--disabled .sd-field__wrapper .sd-field__control{background-color:#E1E1E1;border-color:#CCCCCC;color:#888888;cursor:not-allowed !important}sd-field .sd-field.sd-field--readonly .sd-field__wrapper .sd-field__control{background-color:var(--sd-system-color-field-bg-read-only);color:var(--sd-system-color-field-text-read-only)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label{display:flex;align-items:center;flex-shrink:0;width:var(--sd-field-label-width, auto);height:var(--sd-field-label-height);margin-right:var(--sd-field-label-margin-right)}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__icon{margin-right:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__text{font-size:var(--sd-field-label-font-size);line-height:var(--sd-field-label-line-height);font-weight:var(--sd-field-label-font-weight);color:var(--sd-system-color-field-text-default);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}sd-field .sd-field--has-label .sd-field__wrapper .sd-field__label__tooltip{margin-left:var(--sd-field-label-gap);flex-shrink:0}sd-field .sd-field--has-addon .sd-field__control .sd-field__addon{display:flex;gap:var(--sd-field-addon-gap);align-items:center;justify-content:var(--sd-field-addon-justify, flex-start);white-space:nowrap;box-sizing:border-box;flex-shrink:0;width:var(--sd-field-addon-width, auto);padding:0 var(--sd-field-addon-padding-x);font-size:var(--sd-field-addon-font-size);line-height:var(--sd-field-addon-line-height);font-weight:var(--sd-field-addon-font-weight);background:var(--sd-field-addon-bg);border-right:var(--sd-field-addon-border-width) solid var(--sd-field-addon-border-color);border-radius:calc(var(--sd-field-control-radius) - 1px) 0 0 calc(var(--sd-field-control-radius) - 1px)}sd-field .sd-field__wrapper{width:100%;display:flex;align-items:flex-start;flex-flow:row nowrap;position:relative;color:var(--sd-system-color-field-text-default);-webkit-user-select:none;user-select:none}sd-field .sd-field__wrapper .sd-field__main{flex:1;min-width:0;display:flex;flex-direction:column}sd-field .sd-field__wrapper .sd-field__control{position:relative;height:var(--sd-field-wrapper-height);display:flex;min-width:0;border:1px solid var(--sd-system-color-field-border-default);border-radius:var(--sd-field-control-radius);background:var(--sd-system-color-field-bg-default)}sd-field .sd-field--error .sd-field__wrapper .sd-field__control:not(:hover){border:1px solid var(--sd-system-color-field-border-danger) !important}sd-field .sd-field.sd-field--pass .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-success) !important}sd-field .sd-field:not(.sd-field--disabled):not(.sd-field--readonly) .sd-field__wrapper .sd-field__control:hover{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field.sd-field--focus:not(.sd-field--readonly) .sd-field__wrapper .sd-field__control{border:1px solid var(--sd-system-color-field-border-focus) !important;box-shadow:0px 0px 4px 0px rgba(0, 113, 255, 0.4)}sd-field .sd-field .sd-field__error-message{color:var(--sd-textinput-textinput-text-error-message);font-size:var(--sd-textinput-textinput-error-message-typography-font-size);line-height:var(--sd-textinput-textinput-error-message-typography-line-height);margin-top:var(--sd-textinput-textinput-contents-gap)}sd-field .sd-field .sd-field__hint{color:var(--sd-textinput-textinput-text-hint);font-size:var(--sd-textinput-textinput-hint-typography-font-size);line-height:var(--sd-textinput-textinput-hint-typography-line-height);margin-top:var(--sd-textinput-textinput-contents-gap)}`;
137
74
 
138
75
  const FORM_PARENT_TAGS = [
139
76
  'sd-input',
@@ -154,6 +91,7 @@ const SdField = class {
154
91
  rules = [];
155
92
  error = false;
156
93
  disabled = false;
94
+ readonly = false;
157
95
  hovered = false;
158
96
  focused = false;
159
97
  status;
@@ -180,6 +118,10 @@ const SdField = class {
180
118
  status = 'disabled';
181
119
  return `sd-field--${status}`;
182
120
  }
121
+ if (!!this.readonly) {
122
+ status = 'readonly';
123
+ return `sd-field--${status}`;
124
+ }
183
125
  if (!!this.focused) {
184
126
  status = 'focus';
185
127
  return `sd-field--${status}`;
@@ -304,20 +246,20 @@ const SdField = class {
304
246
  : {}),
305
247
  }
306
248
  : {};
307
- return (h("div", { key: 'f7cec98818159adf5fd398bd15547ed1ec555092', class: {
249
+ return (h("div", { key: '9004022e1e81f58b0399d2066e4286d082d805fa', class: {
308
250
  'sd-field': true,
309
251
  'sd-field--has-label': !!this.label,
310
252
  'sd-field--has-addon': !!addon,
311
253
  [this.fieldStatus]: !!this.fieldStatus,
312
- }, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, h("div", { key: '2d6ffefc9211137dc215686874060b1d5067031d', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: '2163413b937af3c1874f41bc2581a0304b7d069a', class: "sd-field__main", style: this.width
254
+ }, style: { ...sizeCssVars, ...labelCssVars, ...addonCssVars } }, h("div", { key: '9f34dfdb968d6d2024e10870bc393a54f2e76139', class: "sd-field__wrapper" }, this.renderLabel(this.label), h("div", { key: '40a2c60d8fdba23e59685fa28312d664fed60a52', class: "sd-field__main", style: this.width
313
255
  ? {
314
256
  width: typeof this.width === 'number' ? `${this.width}px` : this.width,
315
257
  flex: 'none',
316
258
  }
317
- : {} }, h("div", { key: '0dbb6cbe768bac1c64d72d37d270805e16936e24', class: {
259
+ : {} }, h("div", { key: '911ee729fc171e0f7eb6ab7587e2bdf57a68fc71', class: {
318
260
  'sd-field__control': true,
319
261
  'sd-field__control--has-addon': !!addon,
320
- } }, addon && h("div", { key: '8b4bfbf6ad67084a0bc9c3ff6789936ad895e3c5', class: "sd-field__addon" }, addon), h("slot", { key: '40596847f9bac957a5992364997f0bcd8fd6a704' })), this.errorMsg || this.errorMessage ? (h("div", { class: "sd-field__error-message" }, this.errorMsg || this.errorMessage)) : (this.hint && h("div", { class: "sd-field__hint" }, this.hint))))));
262
+ } }, addon && h("div", { key: 'b04c595ea75598724186b171d6a63292dbe1beb3', class: "sd-field__addon" }, addon), h("slot", { key: '961f60e8e0df25ba0e7340df219807fbfd4f23ae' })), this.errorMsg || this.errorMessage ? (h("div", { class: "sd-field__error-message" }, this.errorMsg || this.errorMessage)) : (this.hint && h("div", { class: "sd-field__hint" }, this.hint))))));
321
263
  }
322
264
  renderLabel(label) {
323
265
  if (!label)
@@ -327,7 +269,7 @@ const SdField = class {
327
269
  };
328
270
  SdField.style = sdFieldCss();
329
271
 
330
- const sdFloatingPortalCss = () => `.sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);animation:sd-floating-fade-in 0.35s ease-out}.sd-floating-menu--top{animation-name:sd-floating-slide-top}.sd-floating-menu--bottom{animation-name:sd-floating-slide-bottom}.sd-floating-menu--left{animation-name:sd-floating-slide-left}.sd-floating-menu--right{animation-name:sd-floating-slide-right}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center}.sd-floating-menu__content .sd-floating-menu__buttons--1{justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--2{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu--closing{animation:sd-floating-fade-out 0.15s ease-in forwards}.sd-floating-menu--closing.sd-floating-menu--top{animation-name:sd-floating-slide-out-top}.sd-floating-menu--closing.sd-floating-menu--bottom{animation-name:sd-floating-slide-out-bottom}.sd-floating-menu--closing.sd-floating-menu--left{animation-name:sd-floating-slide-out-left}.sd-floating-menu--closing.sd-floating-menu--right{animation-name:sd-floating-slide-out-right}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px}@keyframes sd-floating-fade-out{from{opacity:1}to{opacity:0}}@keyframes sd-floating-slide-out-top{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}@keyframes sd-floating-slide-out-bottom{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes sd-floating-slide-out-left{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(4px)}}@keyframes sd-floating-slide-out-right{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-4px)}}@keyframes sd-floating-fade-in{from{opacity:0}to{opacity:1}}@keyframes sd-floating-slide-top{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-bottom{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-left{from{opacity:0;transform:translateX(4px)}to{opacity:1;transform:translateX(0)}}@keyframes sd-floating-slide-right{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}`;
272
+ const sdFloatingPortalCss = () => `.sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);animation:sd-floating-fade-in 0.35s ease-out}.sd-floating-menu--top{animation-name:sd-floating-slide-top}.sd-floating-menu--bottom{animation-name:sd-floating-slide-bottom}.sd-floating-menu--left{animation-name:sd-floating-slide-left}.sd-floating-menu--right{animation-name:sd-floating-slide-right}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center;justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--with-link{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu--closing{animation:sd-floating-fade-out 0.15s ease-in forwards}.sd-floating-menu--closing.sd-floating-menu--top{animation-name:sd-floating-slide-out-top}.sd-floating-menu--closing.sd-floating-menu--bottom{animation-name:sd-floating-slide-out-bottom}.sd-floating-menu--closing.sd-floating-menu--left{animation-name:sd-floating-slide-out-left}.sd-floating-menu--closing.sd-floating-menu--right{animation-name:sd-floating-slide-out-right}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px}@keyframes sd-floating-fade-out{from{opacity:1}to{opacity:0}}@keyframes sd-floating-slide-out-top{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}@keyframes sd-floating-slide-out-bottom{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes sd-floating-slide-out-left{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(4px)}}@keyframes sd-floating-slide-out-right{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-4px)}}@keyframes sd-floating-fade-in{from{opacity:0}to{opacity:1}}@keyframes sd-floating-slide-top{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-bottom{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-left{from{opacity:0;transform:translateX(4px)}to{opacity:1;transform:translateX(0)}}@keyframes sd-floating-slide-right{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}`;
331
273
 
332
274
  const SdFloatingPopover = class {
333
275
  constructor(hostRef) {
@@ -419,11 +361,11 @@ const SdFloatingPopover = class {
419
361
  const rect = this.parentRef.getBoundingClientRect();
420
362
  if (!rect.width && !rect.height)
421
363
  return; // 요소가 보이지 않는 경우
422
- const [offsetX, offsetY] = this.offset;
364
+ const [offsetX, offsetY] = this.offset ?? [0, 0];
423
365
  const ARROW_SIZE = SdFloatingPopover.ARROW_SIZE;
424
366
  let top = 0;
425
367
  let left = 0;
426
- switch (this.placement) {
368
+ switch (this.placement ?? 'bottom') {
427
369
  case 'top':
428
370
  top = rect.top + window.scrollY - this.wrapper.offsetHeight + offsetY - ARROW_SIZE;
429
371
  left =
@@ -487,7 +429,7 @@ const SdFloatingPopover = class {
487
429
  }
488
430
  }
489
431
  render() {
490
- return h("slot", { key: '2383aafb9b01881f06e4fc97c5903c19453b8b4c' });
432
+ return h("slot", { key: 'e41cc4519a12b3fc93ef57e7a00381f3a463fc62' });
491
433
  }
492
434
  };
493
435
  SdFloatingPopover.style = sdFloatingPortalCss();
@@ -531,9 +473,11 @@ const SdTooltip = class {
531
473
  icon = 'helpOutline';
532
474
  iconSize = 12;
533
475
  label = '';
534
- buttonSize = 'sm';
535
- buttonVariant = 'primary';
536
- noHover = true;
476
+ name = 'primary_sm';
477
+ rightIcon;
478
+ ariaLabel = '';
479
+ disabled = false;
480
+ type = 'button';
537
481
  sdClass = '';
538
482
  showTooltip = false;
539
483
  slotContentHTML = '';
@@ -600,18 +544,19 @@ const SdTooltip = class {
600
544
  onMouseLeave: () => this.startHideTimer(),
601
545
  };
602
546
  const toggleTooltip = () => (this.showTooltip = !this.showTooltip);
603
- const divTrigger = trigger === 'hover' ? hoverTrigger : this.label ? {} : { onClick: toggleTooltip };
604
- const buttonClickTrigger = trigger === 'click' && this.label ? { onSdClick: toggleTooltip } : {};
605
- return (h(Fragment, { key: '9e14a4013ea6d04a37529cf7afdb10fe4b3d98eb' }, h("div", { key: 'd98396d4440a795e59b0d2fede7381f8e0da7280', class: `sd-tooltip-trigger ${this.sdClass || ''}`, ...divTrigger }, this.label ? (h("sd-button", { ref: el => (this.buttonEl = el), label: this.label, icon: icon, size: this.buttonSize ?? 'sm', color: color, variant: this.buttonVariant ?? 'primary', class: "sd-tooltip", ...buttonClickTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (h("sd-floating-portal", { key: '59d42ad7aafd94fbe89fc5af3bddf5a305e13a4c', parentRef: this.buttonEl, onSdClose: this.handleClose.bind(this), placement: placement, offset: this.tooltipOffset }, h("div", { key: '88a927d2c3461c7c68865262e8565d0d1385e9af', ref: el => (this.menuEl = el), class: {
547
+ const hasLabel = this.label !== undefined && this.label !== '';
548
+ const divTrigger = trigger === 'hover' ? hoverTrigger : hasLabel ? {} : { onClick: toggleTooltip };
549
+ const buttonClickTrigger = trigger === 'click' && hasLabel ? { onSdClick: toggleTooltip } : {};
550
+ return (h(Fragment, { key: '09f5966903bddf016cf6c2b32d3514f312fd1c99' }, h("div", { key: 'eef176cc0df93e5aaa272ccf18f137c23db767fd', class: `sd-tooltip-trigger ${this.sdClass !== undefined && this.sdClass !== '' ? this.sdClass : ''}`, ...divTrigger }, hasLabel ? (h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-tooltip", ...buttonClickTrigger })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (h("sd-floating-portal", { key: '1d5d14826c26e843ed3ddedca9f1a9369009477c', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, h("div", { key: 'b9ebcdb8f0798cb6c9ad0997caca6d0d20c3ece5', ref: el => (this.menuEl = el), class: {
606
551
  'sd-floating-menu': true,
607
552
  [`sd-floating-menu--${tooltipType}`]: true,
608
553
  [`sd-floating-menu--${placement}`]: true,
609
554
  }, style: {
610
555
  '--sd-floating-bg': typeConfig.bg,
611
556
  '--sd-floating-content': typeConfig.content,
612
- }, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, h("i", { key: 'eb2bcb4e6faa2066e309b662f372fbf8bef42a3e', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'f13005f88ef3194d43de72a87ee78f2c0858682e' })), h("div", { key: '726aff3af3603593d0b994ee17ba88cec071868a', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
557
+ }, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, h("i", { key: 'd3b68903dd12cdfe330e5f27cd4f5261ef3b1121', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: '5228831f5660a1f4844550778fc98d707949a893' })), h("div", { key: 'dfb78d2189d6e4d1301e95c7ab6976e173f48cdc', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
613
558
  }
614
559
  };
615
560
  SdTooltip.style = sdTooltipCss();
616
561
 
617
- export { SdButton as sd_button, SdField as sd_field, SdFloatingPopover as sd_floating_portal, SdTooltip as sd_tooltip };
562
+ export { SdField as sd_field, SdFloatingPopover as sd_floating_portal, SdTooltip as sd_tooltip };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-CLCoul8o.js';
2
2
 
3
3
  const SdForm = class {
4
4
  constructor(hostRef) {
@@ -76,7 +76,7 @@ const SdForm = class {
76
76
  this.sdSubmit.emit();
77
77
  }
78
78
  render() {
79
- return (h("form", { key: 'c3fafb4169bddbd6911914ebc694a977fa11b511', onSubmit: e => this.onSubmit(e), class: this.formClass }, h("slot", { key: '5be1d23c35c052fdf5d8fb961fa931074eb59ee6' })));
79
+ return (h("form", { key: '0693ccf290eb691a5ac9210444a265e386f7c7c9', onSubmit: e => this.onSubmit(e), class: this.formClass }, h("slot", { key: 'c9dfff69c4000d645b7ed79a8ad771bc1cdd4e2c' })));
80
80
  }
81
81
  };
82
82
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-Cnwbjz1F.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-CLCoul8o.js';
2
2
 
3
3
  const ghostButton = {
4
4
  xxs: {
@@ -142,7 +142,7 @@ const SdGhostButton = class {
142
142
  this.warnIfMissingAriaLabel();
143
143
  }
144
144
  warnIfMissingAriaLabel() {
145
- const missing = !this.ariaLabel.trim();
145
+ const missing = !(this.ariaLabel ?? '').trim();
146
146
  if (!missing) {
147
147
  this.hasWarnedMissingAriaLabel = false;
148
148
  return;
@@ -153,21 +153,23 @@ const SdGhostButton = class {
153
153
  this.hasWarnedMissingAriaLabel = true;
154
154
  }
155
155
  render() {
156
- const sizeConfig = GHOST_BUTTON_SIZES[this.size];
156
+ const size = this.size ?? 'sm';
157
+ const intent = this.intent ?? 'default';
158
+ const sizeConfig = GHOST_BUTTON_SIZES[size] ?? GHOST_BUTTON_SIZES.sm;
157
159
  const contentColor = this.disabled
158
- ? GHOST_BUTTON_DISABLED_COLORS[this.intent]
159
- : GHOST_BUTTON_CONTENT_COLORS[this.intent];
160
- const accessibleName = this.ariaLabel.trim() || undefined;
161
- return (h("button", { key: '57793e0911fc49c62ab627bd7234caf9c0a04097', class: {
160
+ ? GHOST_BUTTON_DISABLED_COLORS[intent]
161
+ : GHOST_BUTTON_CONTENT_COLORS[intent];
162
+ const accessibleName = (this.ariaLabel ?? '').trim() || undefined;
163
+ return (h("button", { key: 'cae4bb612dcbe16f71a3a7c3469c214df5a877ce', class: {
162
164
  'sd-ghost-button': true,
163
165
  'sd-ghost-button--disabled': this.disabled,
164
166
  }, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
165
167
  '--sd-ghost-button-size': `${sizeConfig.size}px`,
166
- '--sd-ghost-button-radius': `${GHOST_BUTTON_RADIUS[this.size]}px`,
167
- '--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[this.intent],
168
+ '--sd-ghost-button-radius': `${GHOST_BUTTON_RADIUS[size]}px`,
169
+ '--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[intent],
168
170
  '--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
169
171
  '--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
170
- }, onClick: this.handleClick }, h("sd-icon", { key: 'cf81a34495eacad4052ad7bbd5cba837b905610b', name: this.icon, size: sizeConfig.icon, color: contentColor })));
172
+ }, onClick: this.handleClick }, h("sd-icon", { key: '58bedc712e0bec8d2cb526c42814dd201d8d04ba', name: this.icon, size: sizeConfig.icon, color: contentColor })));
171
173
  }
172
174
  };
173
175
  SdGhostButton.style = sdGhostButtonCss();
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, a as getElement, h } from './index-Cnwbjz1F.js';
2
- import { s as systemTokens } from './system-CZ4ltUOw.js';
1
+ import { r as registerInstance, a as getElement, h } from './index-CLCoul8o.js';
2
+ import { s as systemTokens } from './system-GBlVDmy4.js';
3
3
 
4
4
  const guide = {
5
5
  button: {
@@ -13,7 +13,6 @@ const guide = {
13
13
  lineHeight: "20"
14
14
  },
15
15
  icon: {
16
- size: "16",
17
16
  "default": "#00973C",
18
17
  active: "#FFFFFF"
19
18
  },
@@ -74,7 +73,6 @@ const GUIDE_CONFIG = {
74
73
  fontSize: `${button.typography.fontSize}px`,
75
74
  fontWeight: button.typography.fontWeight,
76
75
  lineHeight: `${button.typography.lineHeight}px`,
77
- iconSize: Number(button.icon.size),
78
76
  iconColorDefault: button.icon.default,
79
77
  iconColorActive: button.icon.active,
80
78
  iconColorNotion: NOTION_ICON_COLOR,
@@ -106,7 +104,7 @@ const GUIDE_CONFIG = {
106
104
  },
107
105
  };
108
106
 
109
- const sdGuideCss = () => `@charset "UTF-8";sd-button{display:inline-flex;width:fit-content;height:fit-content}.sd-button{--sd-button-height:34px;--sd-button-padding-x:20px;--sd-button-gap:8px;--sd-button-font-family:inherit;--sd-button-font-size:16px;--sd-button-font-weight:500;--sd-button-text-decoration:none;--sd-button-label-min-width:auto;--sd-button-icon-only-size:var(--sd-button-height);text-decoration:none;cursor:pointer;border-radius:var(--sd-button-button-radius-sm, 4px);transition:all 0.2s ease-in-out;position:relative;overflow:hidden;white-space:nowrap;-webkit-user-select:none;user-select:none;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;border:none;padding:0 var(--sd-button-padding-x);min-width:var(--sd-button-min-width, auto);min-height:var(--sd-button-height);font-family:var(--sd-button-font-family);font-size:var(--sd-button-font-size);font-weight:var(--sd-button-font-weight);text-decoration:var(--sd-button-text-decoration)}.sd-button--xs{--sd-button-height:var(--sd-button-button-xs-height, 24px);--sd-button-padding-x:var(--sd-button-button-xs-padding-x, 8px);--sd-button-gap:var(--sd-button-button-xs-gap, 4px);--sd-button-font-family:var(--sd-button-button-xs-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-xs-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-button-xs-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-xs-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-xs-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-xs-width, var(--sd-button-height));line-height:20px}.sd-button--sm{--sd-button-height:var(--sd-button-button-sm-height, 28px);--sd-button-padding-x:var(--sd-button-button-sm-padding-x, 12px);--sd-button-gap:var(--sd-button-button-sm-gap, 6px);--sd-button-font-family:var(--sd-button-button-sm-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-sm-typography-font-size, 12px);--sd-button-font-weight:var(--sd-button-button-sm-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-sm-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-sm-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-sm-width, var(--sd-button-height));line-height:20px}.sd-button--md{--sd-button-height:var(--sd-button-button-md-height, 34px);--sd-button-padding-x:var(--sd-button-button-md-padding-x, 20px);--sd-button-gap:var(--sd-button-button-md-gap, 8px);--sd-button-font-family:var(--sd-button-button-md-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-md-typography-font-size, 16px);--sd-button-font-weight:var(--sd-button-button-md-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-md-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-md-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-md-width, var(--sd-button-height));line-height:26px}.sd-button--lg{--sd-button-height:var(--sd-button-button-lg-height, 62px);--sd-button-padding-x:var(--sd-button-button-lg-padding-x, 28px);--sd-button-gap:var(--sd-button-button-lg-gap, 12px);--sd-button-font-family:var(--sd-button-button-lg-typography-font-family, inherit);--sd-button-font-size:var(--sd-button-button-lg-typography-font-size, 18px);--sd-button-font-weight:var(--sd-button-button-lg-typography-font-weight, 500);--sd-button-text-decoration:var(--sd-button-button-lg-typography-text-decoration, none);--sd-button-label-min-width:var(--sd-button-label-lg-min-width, auto);--sd-button-icon-only-size:var(--sd-button-button-icon-only-lg-width, var(--sd-button-height));line-height:30px}.sd-button--has-label{--sd-button-min-width:var(--sd-button-label-min-width, auto)}.sd-button--primary{background-color:var(--button-color);color:white;transition:filter 0.2s ease}.sd-button--primary::before{content:"";position:absolute;inset:0;background:#000000;opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--primary:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.25}.sd-button--outline{background:white;border:var(--sd-button-button-border-width-default, 1px) solid var(--button-color);color:var(--button-color)}.sd-button--outline::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--outline:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--outline .sd-button__content{position:relative;z-index:1}.sd-button--ghost{background-color:transparent;color:var(--button-color);border-color:transparent}.sd-button--ghost::before{content:"";position:absolute;inset:0;background:var(--button-color);opacity:0;transition:opacity 0.2s ease;z-index:0}.sd-button--ghost:hover:not(.sd-button--disabled):not(.sd-button--loading)::before{opacity:0.15}.sd-button--ghost .sd-button__content{position:relative;z-index:1}.sd-button--disabled{border:var(--sd-button-button-border-width-default, 1px) solid var(--sd-button-button-border-disabled, #CCCCCC);background:var(--sd-button-button-bg-disabled, #E1E1E1);color:var(--sd-button-button-text-disabled, #888888);cursor:not-allowed !important}.sd-button--icon-only{padding:0;width:var(--sd-button-icon-only-size, var(--sd-button-height));min-width:var(--sd-button-icon-only-size, var(--sd-button-height));height:var(--sd-button-icon-only-size, var(--sd-button-height))}.sd-button--no-hover:hover::before{opacity:0 !important}.sd-button .sd-button__content{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-button-gap);z-index:1;font-weight:inherit}sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide .sd-guide__button .sd-button{min-height:var(--sd-guide-button-height);padding:0 var(--sd-guide-button-padding-x);border-radius:var(--sd-guide-button-radius);border:var(--sd-guide-button-border-width) solid var(--sd-guide-button-border-color);background:var(--sd-guide-button-bg-default);color:var(--sd-guide-button-text-default) !important;transition:none;display:flex;align-items:center;gap:var(--sd-guide-button-gap)}.sd-guide .sd-guide__button .sd-button .sd-button__content{color:var(--sd-guide-button-text-default) !important;gap:var(--sd-guide-button-gap)}.sd-guide .sd-guide__button .sd-button .sd-button__content .sd-button__label{margin-left:0;color:var(--sd-guide-button-text-default) !important;font-size:var(--sd-guide-button-font-size);font-weight:var(--sd-guide-button-font-weight);line-height:var(--sd-guide-button-line-height)}.sd-guide .sd-guide__button--active .sd-button{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--active .sd-button .sd-button__content{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--active .sd-button .sd-button__content .sd-button__label{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--type-tip.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-tip);border-color:var(--sd-guide-button-bg-tip)}.sd-guide .sd-guide__button--type-notion.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-notion);border-color:var(--sd-guide-button-bg-notion)}.sd-guide__popup{position:relative;padding:var(--sd-guide-contents-padding-y) var(--sd-guide-contents-padding-x);border-radius:var(--sd-guide-contents-radius);box-shadow:4px 4px 24px 4px rgba(0, 0, 0, 0.1);background:white}.sd-guide__popup>.sd-guide__popup__close{position:absolute;top:12px;right:12px}.sd-guide__popup__header{display:flex;align-items:center;gap:var(--sd-guide-contents-title-gap);margin-bottom:var(--sd-guide-contents-gap)}.sd-guide__popup__header .sd-guide__popup__title{margin-top:0;margin-bottom:0;font-size:var(--sd-guide-contents-title-font-size);font-weight:var(--sd-guide-contents-title-font-weight);line-height:var(--sd-guide-contents-title-line-height);color:var(--sd-guide-contents-text-color)}.sd-guide__popup__list{width:100%;padding:0;margin:0}.sd-guide__popup__list__item{display:flex;width:100%;align-items:start;list-style:none;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height)}.sd-guide__popup__list__item p{width:100%;padding:0;margin:0;word-wrap:break-word;word-break:break-word;white-space:normal;overflow-wrap:break-word;min-width:0}.sd-guide__popup__list__item::before{display:block;content:"-";width:6px;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height);margin-left:10px;margin-right:12px;flex-shrink:0}.sd-guide__popup__list__item--depth-1:not(:first-child){margin-top:var(--sd-guide-contents-row-gap)}.sd-guide__popup__list__item--depth-2{margin-top:var(--sd-guide-contents-body-gap)}.sd-guide__popup__list__item--depth-2::before{content:"•"}.sd-guide__popup__list__item--depth-2{padding-left:26px}`;
107
+ const sdGuideCss = () => `@charset "UTF-8";sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide .sd-guide__button .sd-button{min-height:var(--sd-guide-button-height);padding:0 var(--sd-guide-button-padding-x);border-radius:var(--sd-guide-button-radius);border:var(--sd-guide-button-border-width) solid var(--sd-guide-button-border-color);background:var(--sd-guide-button-bg-default);color:var(--sd-guide-button-text-default) !important;transition:none;display:flex;align-items:center;gap:var(--sd-guide-button-gap);--sd-button-bg-hover:var(--sd-guide-button-bg-default);--sd-button-current-icon:var(--sd-guide-button-icon-color-default)}.sd-guide .sd-guide__button .sd-button .sd-button__content{color:var(--sd-guide-button-text-default) !important;gap:var(--sd-guide-button-gap)}.sd-guide .sd-guide__button .sd-button .sd-button__content .sd-button__label{margin-left:0;color:var(--sd-guide-button-text-default) !important;font-size:var(--sd-guide-button-font-size);font-weight:var(--sd-guide-button-font-weight);line-height:var(--sd-guide-button-line-height)}.sd-guide .sd-guide__button--type-notion .sd-button{--sd-button-current-icon:var(--sd-guide-button-icon-color-notion)}.sd-guide .sd-guide__button--active .sd-button{color:var(--sd-guide-button-text-active) !important;--sd-button-current-icon:var(--sd-guide-button-icon-color-active)}.sd-guide .sd-guide__button--active .sd-button .sd-button__content{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--active .sd-button .sd-button__content .sd-button__label{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--type-tip.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-tip);border-color:var(--sd-guide-button-bg-tip);--sd-button-bg-hover:var(--sd-guide-button-bg-tip)}.sd-guide .sd-guide__button--type-notion.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-notion);border-color:var(--sd-guide-button-bg-notion);--sd-button-bg-hover:var(--sd-guide-button-bg-notion)}.sd-guide__popup{position:relative;padding:var(--sd-guide-contents-padding-y) var(--sd-guide-contents-padding-x);border-radius:var(--sd-guide-contents-radius);box-shadow:4px 4px 24px 4px rgba(0, 0, 0, 0.1);background:white}.sd-guide__popup>.sd-guide__popup__close{position:absolute;top:12px;right:12px}.sd-guide__popup__header{display:flex;align-items:center;gap:var(--sd-guide-contents-title-gap);margin-bottom:var(--sd-guide-contents-gap)}.sd-guide__popup__header .sd-guide__popup__title{margin-top:0;margin-bottom:0;font-size:var(--sd-guide-contents-title-font-size);font-weight:var(--sd-guide-contents-title-font-weight);line-height:var(--sd-guide-contents-title-line-height);color:var(--sd-guide-contents-text-color)}.sd-guide__popup__list{width:100%;padding:0;margin:0}.sd-guide__popup__list__item{display:flex;width:100%;align-items:start;list-style:none;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height)}.sd-guide__popup__list__item p{width:100%;padding:0;margin:0;word-wrap:break-word;word-break:break-word;white-space:normal;overflow-wrap:break-word;min-width:0}.sd-guide__popup__list__item::before{display:block;content:"-";width:6px;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height);margin-left:10px;margin-right:12px;flex-shrink:0}.sd-guide__popup__list__item--depth-1:not(:first-child){margin-top:var(--sd-guide-contents-row-gap)}.sd-guide__popup__list__item--depth-2{margin-top:var(--sd-guide-contents-body-gap)}.sd-guide__popup__list__item--depth-2::before{content:"•"}.sd-guide__popup__list__item--depth-2{padding-left:26px}`;
110
108
 
111
109
  const DEFAULT_LABEL_BY_TYPE = {
112
110
  tip: '활용 TIP',
@@ -158,6 +156,9 @@ const SdGuide = class {
158
156
  '--sd-guide-button-bg-notion': button.bgNotion,
159
157
  '--sd-guide-button-text-default': button.textDefault,
160
158
  '--sd-guide-button-text-active': button.textActive,
159
+ '--sd-guide-button-icon-color-default': button.iconColorDefault,
160
+ '--sd-guide-button-icon-color-active': button.iconColorActive,
161
+ '--sd-guide-button-icon-color-notion': button.iconColorNotion,
161
162
  '--sd-guide-contents-padding-x': contents.paddingX,
162
163
  '--sd-guide-contents-padding-y': contents.paddingY,
163
164
  '--sd-guide-contents-gap': contents.gap,
@@ -175,20 +176,19 @@ const SdGuide = class {
175
176
  };
176
177
  }
177
178
  render() {
178
- const { button, contents } = GUIDE_CONFIG;
179
+ const { contents } = GUIDE_CONFIG;
179
180
  const isActive = this.popupShow;
180
181
  const isNotion = (this.type ?? 'tip') === 'notion';
181
182
  const defaultLabel = DEFAULT_LABEL_BY_TYPE[this.type ?? 'tip'];
182
183
  const iconName = ICON_BY_TYPE[this.type ?? 'tip'];
183
- const buttonIconDefault = isNotion ? button.iconColorNotion : button.iconColorDefault;
184
184
  const popupIconColor = isNotion ? contents.iconColorNotion : contents.iconColor;
185
185
  const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
186
186
  if (isActive)
187
187
  buttonClasses.push('sd-guide__button--active');
188
- return (h("div", { key: '4b9aa8bafd13828a4ec29d726f7276fab3042f2d', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: 'e3a17c594d111e95d0cb42dd8315174ccf4dd908', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), variant: isActive ? 'primary' : 'outline', label: this.label || defaultLabel, size: "sm", icon: iconName, iconColor: isActive ? button.iconColorActive : buttonIconDefault, iconSize: button.iconSize, noHover: isActive, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: 'b57b09779ec23220eb466f710d55e678c913fe24', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: 'e62ca3a49a4976861a3e485166c8376a71286aba', style: { position: 'absolute', width: '0px', height: '0px' } }, h("div", { key: '837625b5ab61bd9383cf5329bea66ceb97ef3bac', class: "sd-guide__popup", style: {
188
+ return (h("div", { key: '8672dad264f91b125f84e0c8312561818964cecf', class: "sd-guide", style: this.guideStyle }, h("sd-button", { key: '4f2a1b4cbb19460dadfec6dca094b289ff405bfb', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (h("sd-portal", { key: 'f6c4fe897426d506f73bf8bbb18b53665181c803', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, h("div", { key: 'a3c77a42905e4b25ecbf1c98f7e0514b41c5100e', style: { position: 'absolute', width: '0px', height: '0px' } }, h("div", { key: '41411e0a1645f709234573dc1c2f3d60a4c90f36', class: "sd-guide__popup", style: {
189
189
  ...this.guideStyle,
190
190
  width: this.popupWidth ? this.popupWidth + 'px' : '426px',
191
- } }, h("sd-ghost-button", { key: '0e3057af64b47e20234269c0e2bf07664b8b3b13', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: '544e3508d232229b4d1edd82fdefa58457cc595a', class: "sd-guide__popup__header" }, h("sd-icon", { key: '234fb04df972a50fa8deb1cacc6e34fab678d27b', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: '454d5ee4cdfc2a343d64e79dc642a2aee07ed448', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '875d5f5587808e5189e77ca02e55e8d7be1125da', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
191
+ } }, h("sd-ghost-button", { key: '01c68abc21ce99aa2e1ba3a55a5e78b98dd8aa47', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), h("div", { key: '04d9f4d51cd05755aa6a18fcb4ba0a177fb62ad5', class: "sd-guide__popup__header" }, h("sd-icon", { key: 'b02adf9e9e4ca2239e3b46e7cf8c5ba0cfc008a0', name: iconName, size: 24, color: popupIconColor }), h("h3", { key: '3f4324aa1959dc8abb10e84b1103106548053679', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), h("ul", { key: '64937c15f19ae2f91c6c9d1f430ad579b42c5592', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
192
192
  }
193
193
  // 현재 2depth까지만 스타일 적용
194
194
  renderListItem(message, depth = 0) {