@sellmate/design-system 1.0.66 → 1.0.68

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 (408) hide show
  1. package/dist/cjs/{component.textinput-C4SsDjA1.js → component.textinput-BpXDeZPD.js} +3 -2
  2. package/dist/cjs/design-system.cjs.js +2 -2
  3. package/dist/cjs/{index-nsQP24mV.js → index-B2QvhbC3.js} +1 -1
  4. package/dist/cjs/index.cjs.js +36 -41
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/modal-stack-DucFLON7.js +112 -0
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +2 -2
  8. package/dist/cjs/sd-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/sd-barcode-input.cjs.entry.js +3 -3
  10. package/dist/cjs/sd-button-v2_2.cjs.entry.js +3 -3
  11. package/dist/cjs/sd-button_4.cjs.entry.js +22 -17
  12. package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
  15. package/dist/cjs/sd-chip.cjs.entry.js +312 -0
  16. package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
  17. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +5 -4
  18. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  19. package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +2 -2
  20. package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +3 -3
  21. package/dist/cjs/sd-date-picker.cjs.entry.js +3 -3
  22. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
  23. package/dist/cjs/sd-date-range-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/sd-dropdown-button.cjs.entry.js +8 -19
  25. package/dist/cjs/sd-file-picker.cjs.entry.js +3 -3
  26. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  27. package/dist/cjs/sd-ghost-button.cjs.entry.js +6 -6
  28. package/dist/cjs/sd-guide.cjs.entry.js +167 -34
  29. package/dist/cjs/sd-input_2.cjs.entry.js +7 -7
  30. package/dist/cjs/sd-loading-container.cjs.entry.js +4 -4
  31. package/dist/cjs/sd-modal-container.cjs.entry.js +130 -151
  32. package/dist/cjs/sd-number-input.cjs.entry.js +4 -4
  33. package/dist/cjs/sd-pagination_2.cjs.entry.js +116 -42
  34. package/dist/cjs/sd-popover.cjs.entry.js +4 -4
  35. package/dist/cjs/sd-portal.cjs.entry.js +4 -4
  36. package/dist/cjs/sd-progress.cjs.entry.js +3 -3
  37. package/dist/cjs/sd-radio-button.cjs.entry.js +2 -2
  38. package/dist/cjs/sd-radio-group.cjs.entry.js +3 -3
  39. package/dist/cjs/sd-radio.cjs.entry.js +18 -27
  40. package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +4 -4
  41. package/dist/cjs/sd-select-group.cjs.entry.js +2 -2
  42. package/dist/cjs/sd-select-multiple-group.cjs.entry.js +2 -2
  43. package/dist/cjs/sd-select-multiple.cjs.entry.js +2 -2
  44. package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
  45. package/dist/cjs/sd-select-v2-list-item_4.cjs.entry.js +29 -24
  46. package/dist/cjs/sd-select.cjs.entry.js +2 -2
  47. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  48. package/dist/cjs/sd-table.cjs.entry.js +6 -6
  49. package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
  50. package/dist/cjs/sd-tag.cjs.entry.js +3 -3
  51. package/dist/cjs/sd-tbody.cjs.entry.js +2 -2
  52. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  53. package/dist/cjs/sd-text-link.cjs.entry.js +4 -4
  54. package/dist/cjs/sd-textarea.cjs.entry.js +3 -3
  55. package/dist/cjs/sd-thead.cjs.entry.js +4 -4
  56. package/dist/cjs/sd-toast-container.cjs.entry.js +3 -3
  57. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  58. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  59. package/dist/cjs/sd-tr.cjs.entry.js +3 -3
  60. package/dist/cjs/system-C89o3A9Z.js +16 -0
  61. package/dist/cjs/table-test.cjs.entry.js +2 -2
  62. package/dist/cjs/{tooltipArrow-DhevfDPX.js → tooltipArrow-Xkv-p1bY.js} +1 -1
  63. package/dist/collection/collection-manifest.json +2 -1
  64. package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
  65. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  66. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
  67. package/dist/collection/components/sd-button-v2/sd-button-v2.js +2 -2
  68. package/dist/collection/components/sd-card/sd-card.js +1 -1
  69. package/dist/collection/components/sd-chip/sd-chip.config.js +37 -0
  70. package/dist/collection/components/sd-chip/sd-chip.css +56 -0
  71. package/dist/collection/components/sd-chip/sd-chip.js +544 -0
  72. package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
  73. package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
  74. package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
  75. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  76. package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
  77. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  78. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +3 -3
  79. package/dist/collection/components/sd-field/sd-field.js +4 -4
  80. package/dist/collection/components/sd-file-picker/sd-file-picker.css +1 -1
  81. package/dist/collection/components/sd-file-picker/sd-file-picker.js +1 -1
  82. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +12 -8
  83. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +5 -5
  84. package/dist/collection/components/sd-guide/sd-guide.config.js +48 -0
  85. package/dist/collection/components/sd-guide/sd-guide.css +58 -29
  86. package/dist/collection/components/sd-guide/sd-guide.js +69 -40
  87. package/dist/collection/components/sd-input/sd-input.js +2 -2
  88. package/dist/collection/components/sd-loading-container/sd-loading-container.config.js +1 -1
  89. package/dist/collection/components/sd-loading-container/sd-loading-container.css +1 -1
  90. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  91. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +22 -1
  92. package/dist/collection/components/sd-modal-container/sd-modal-container.css +11 -10
  93. package/dist/collection/components/sd-modal-container/sd-modal-container.js +154 -160
  94. package/dist/collection/components/sd-number-input/sd-number-input.js +3 -3
  95. package/dist/collection/components/sd-pagination/sd-pagination.config.js +25 -0
  96. package/dist/collection/components/sd-pagination/sd-pagination.css +69 -53
  97. package/dist/collection/components/sd-pagination/sd-pagination.js +53 -37
  98. package/dist/collection/components/sd-popover/sd-popover.js +2 -2
  99. package/dist/collection/components/sd-portal/sd-portal.js +4 -4
  100. package/dist/collection/components/sd-progress/sd-progress.js +2 -2
  101. package/dist/collection/components/sd-radio/sd-radio.config.js +6 -5
  102. package/dist/collection/components/sd-radio/sd-radio.css +2 -2
  103. package/dist/collection/components/sd-radio/sd-radio.js +2 -1
  104. package/dist/collection/components/sd-radio-button/sd-radio-button.js +1 -1
  105. package/dist/collection/components/sd-radio-group/sd-radio-group.css +2 -2
  106. package/dist/collection/components/sd-radio-group/sd-radio-group.js +1 -1
  107. package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
  108. package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
  109. package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
  110. package/dist/collection/components/sd-select/sd-select.js +1 -1
  111. package/dist/collection/components/sd-select-group/sd-select-group.js +1 -1
  112. package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +1 -1
  113. package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +1 -1
  114. package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
  115. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.css +2 -2
  116. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +4 -2
  117. package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +4 -4
  118. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +5 -5
  119. package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +2 -2
  120. package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
  121. package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +5 -4
  122. package/dist/collection/components/sd-select-v2/sd-select-v2.js +3 -3
  123. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  124. package/dist/collection/components/sd-table/sd-table.js +5 -5
  125. package/dist/collection/components/sd-table/sd-table.stories.helpers.js +146 -0
  126. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +1 -1
  127. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  128. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  129. package/dist/collection/components/sd-table/sd-tr/sd-tr.js +2 -2
  130. package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
  131. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  132. package/dist/collection/components/sd-text-link/sd-text-link.js +3 -3
  133. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  134. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  135. package/dist/collection/components/sd-toast-container/sd-toast-container.config.js +1 -1
  136. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  137. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  138. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  139. package/dist/collection/components/table-test/table-test.js +1 -1
  140. package/dist/collection/utils/modal-stack.js +109 -0
  141. package/dist/collection/utils/modal.js +17 -23
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/p-B1j9ZWLJ.js +1 -0
  144. package/dist/components/p-BBluw-CU.js +1 -0
  145. package/dist/components/{p-D9FDutsj.js → p-BFd54Imz.js} +1 -1
  146. package/dist/components/{p-BH3z_vB9.js → p-BPXQ6DXz.js} +1 -1
  147. package/dist/components/p-BaHpEtbz.js +1 -0
  148. package/dist/components/{p-B6RvTdqt.js → p-BlqLear7.js} +1 -1
  149. package/dist/components/{p-CJwbBrt5.js → p-ByhWX2NK.js} +1 -1
  150. package/dist/components/{p-puZ1xlrr.js → p-BylHC3lv.js} +1 -1
  151. package/dist/components/p-C-txBx-h.js +1 -0
  152. package/dist/components/p-C0VkfKIA.js +1 -0
  153. package/dist/components/p-C4uWhzoG.js +1 -0
  154. package/dist/components/{p-CAeSM6Ov.js → p-CEeNVTzW.js} +1 -1
  155. package/dist/components/{p-6cueWz-l.js → p-CLZ8NObl.js} +1 -1
  156. package/dist/components/{p-DRY8HJ-T.js → p-COM91Bya.js} +1 -1
  157. package/dist/components/p-CS62OEXf.js +1 -0
  158. package/dist/components/{p-CGXwtYAv.js → p-CX0V7awA.js} +1 -1
  159. package/dist/components/{p-C2r48NLP.js → p-Cb1M05mf.js} +1 -1
  160. package/dist/components/{p-Cpu_hXwN.js → p-Cj4NAUzE.js} +1 -1
  161. package/dist/components/{p-B6OgnOKC.js → p-CsPyZohK.js} +1 -1
  162. package/dist/components/{p-Bh548Ckv.js → p-CsVPC3FD.js} +1 -1
  163. package/dist/components/{p-BLC3AWW8.js → p-Csfk-CtX.js} +1 -1
  164. package/dist/components/{p-CRl8Anfr.js → p-CtrDZYN5.js} +1 -1
  165. package/dist/components/p-D21iKAp7.js +1 -0
  166. package/dist/components/{p-TMuoVuhE.js → p-D6C4-apu.js} +1 -1
  167. package/dist/components/{p-Cr_74QR7.js → p-DGPGMB_Z.js} +1 -1
  168. package/dist/components/{p-h6zSUtA2.js → p-DIro-Wat.js} +1 -1
  169. package/dist/components/{p-AKpbKrkW.js → p-DPCj-bFr.js} +1 -1
  170. package/dist/components/{p-fcZvjHk_.js → p-DQLyH3dr.js} +1 -1
  171. package/dist/components/p-DRVnqiWc.js +1 -0
  172. package/dist/components/{p-HsTw_qYU.js → p-DWW5xr6r.js} +1 -1
  173. package/dist/components/p-D_lyw4rN.js +1 -0
  174. package/dist/components/{p-DXtyg5eK.js → p-Diis5oCN.js} +1 -1
  175. package/dist/components/{p-BdsI1E5l.js → p-DlkxQ9Jn.js} +1 -1
  176. package/dist/components/{p-Cpg2hVm3.js → p-N_EbEY8s.js} +1 -1
  177. package/dist/components/{p-CpclstHV.js → p-T5BGXHZg.js} +1 -1
  178. package/dist/components/{p-CGssy8eb.js → p-YgnF5oje.js} +1 -1
  179. package/dist/components/{p-Cc7ZBscb.js → p-z9MoRjYX.js} +1 -1
  180. package/dist/components/sd-action-modal.js +1 -1
  181. package/dist/components/sd-badge.js +1 -1
  182. package/dist/components/sd-barcode-input.js +1 -1
  183. package/dist/components/sd-button-v2.js +1 -1
  184. package/dist/components/sd-button.js +1 -1
  185. package/dist/components/sd-calendar.js +1 -1
  186. package/dist/components/sd-card.js +1 -1
  187. package/dist/components/sd-checkbox.js +1 -1
  188. package/dist/components/sd-chip.d.ts +11 -0
  189. package/dist/components/sd-chip.js +1 -0
  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-loading-container.js +1 -1
  208. package/dist/components/sd-loading-modal.js +1 -1
  209. package/dist/components/sd-modal-container.js +1 -1
  210. package/dist/components/sd-number-input.js +1 -1
  211. package/dist/components/sd-pagination.js +1 -1
  212. package/dist/components/sd-popover.js +1 -1
  213. package/dist/components/sd-portal.js +1 -1
  214. package/dist/components/sd-progress.js +1 -1
  215. package/dist/components/sd-radio-button.js +1 -1
  216. package/dist/components/sd-radio-group.js +1 -1
  217. package/dist/components/sd-radio.js +1 -1
  218. package/dist/components/sd-select-dropdown.js +1 -1
  219. package/dist/components/sd-select-group.js +1 -1
  220. package/dist/components/sd-select-multiple-group.js +1 -1
  221. package/dist/components/sd-select-multiple.js +1 -1
  222. package/dist/components/sd-select-option-group.js +1 -1
  223. package/dist/components/sd-select-option.js +1 -1
  224. package/dist/components/sd-select-search-input.js +1 -1
  225. package/dist/components/sd-select-v2-list-item-search.js +1 -1
  226. package/dist/components/sd-select-v2-list-item.js +1 -1
  227. package/dist/components/sd-select-v2-listbox.js +1 -1
  228. package/dist/components/sd-select-v2-trigger.js +1 -1
  229. package/dist/components/sd-select-v2.js +1 -1
  230. package/dist/components/sd-select.js +1 -1
  231. package/dist/components/sd-switch.js +1 -1
  232. package/dist/components/sd-table.js +1 -1
  233. package/dist/components/sd-tabs.js +1 -1
  234. package/dist/components/sd-tag.js +1 -1
  235. package/dist/components/sd-tbody.js +1 -1
  236. package/dist/components/sd-td.js +1 -1
  237. package/dist/components/sd-text-link.js +1 -1
  238. package/dist/components/sd-textarea.js +1 -1
  239. package/dist/components/sd-thead.js +1 -1
  240. package/dist/components/sd-toast-container.js +1 -1
  241. package/dist/components/sd-toast.js +1 -1
  242. package/dist/components/sd-toggle.js +1 -1
  243. package/dist/components/sd-tooltip.js +1 -1
  244. package/dist/components/sd-tr.js +1 -1
  245. package/dist/components/table-test.js +1 -1
  246. package/dist/design-system/design-system.css +1 -1
  247. package/dist/design-system/design-system.esm.js +1 -1
  248. package/dist/design-system/index.esm.js +1 -1
  249. package/dist/design-system/{p-e5f71ec0.entry.js → p-002e10ac.entry.js} +1 -1
  250. package/dist/design-system/p-01ac7743.entry.js +1 -0
  251. package/dist/design-system/{p-f3d082c8.entry.js → p-07736d67.entry.js} +1 -1
  252. package/dist/design-system/p-0929f910.entry.js +1 -0
  253. package/dist/design-system/{p-867ec4ee.entry.js → p-0b216b11.entry.js} +1 -1
  254. package/dist/design-system/{p-4dcadde3.entry.js → p-0bffdbf4.entry.js} +1 -1
  255. package/dist/design-system/{p-05ce3449.entry.js → p-0c98676e.entry.js} +1 -1
  256. package/dist/design-system/{p-9dd3c6a7.entry.js → p-0d485537.entry.js} +1 -1
  257. package/dist/design-system/{p-ed61fe19.entry.js → p-16eae7ae.entry.js} +1 -1
  258. package/dist/design-system/{p-03099a57.entry.js → p-1a455448.entry.js} +1 -1
  259. package/dist/design-system/{p-3d341993.entry.js → p-1b8e63a6.entry.js} +1 -1
  260. package/dist/design-system/p-23c31074.entry.js +1 -0
  261. package/dist/design-system/{p-96b14db1.entry.js → p-23ff6bee.entry.js} +1 -1
  262. package/dist/design-system/{p-8d2328ae.entry.js → p-2a4b6bc7.entry.js} +1 -1
  263. package/dist/design-system/{p-b81e0493.entry.js → p-2a663b3b.entry.js} +1 -1
  264. package/dist/design-system/{p-53bc77f8.entry.js → p-308c2a72.entry.js} +1 -1
  265. package/dist/design-system/{p-010e4f47.entry.js → p-33713805.entry.js} +1 -1
  266. package/dist/design-system/p-35b29182.entry.js +1 -0
  267. package/dist/design-system/{p-2ae97b1c.entry.js → p-449e58ee.entry.js} +1 -1
  268. package/dist/design-system/{p-5a63febd.entry.js → p-48f1f9ff.entry.js} +1 -1
  269. package/dist/design-system/{p-a27718c1.entry.js → p-4d434794.entry.js} +1 -1
  270. package/dist/design-system/p-4de3b6b1.entry.js +1 -0
  271. package/dist/design-system/p-4f9f25a1.entry.js +1 -0
  272. package/dist/design-system/{p-84a329fb.entry.js → p-59aa62ff.entry.js} +1 -1
  273. package/dist/design-system/{p-363da5ff.entry.js → p-5a0b0a1b.entry.js} +1 -1
  274. package/dist/design-system/p-60ece09d.entry.js +1 -0
  275. package/dist/design-system/{p-b1fe12f8.entry.js → p-641c2f3d.entry.js} +1 -1
  276. package/dist/design-system/{p-04be87a4.entry.js → p-64a56a4e.entry.js} +1 -1
  277. package/dist/design-system/{p-b60ae063.entry.js → p-6b2f6efb.entry.js} +1 -1
  278. package/dist/design-system/{p-fd296c73.entry.js → p-6b478f5c.entry.js} +1 -1
  279. package/dist/design-system/{p-d8eb17a8.entry.js → p-6ca6dfaf.entry.js} +1 -1
  280. package/dist/design-system/{p-d04551be.entry.js → p-6ef2d08f.entry.js} +1 -1
  281. package/dist/design-system/{p-c4e68815.entry.js → p-703eee55.entry.js} +1 -1
  282. package/dist/design-system/p-75c5e31b.entry.js +1 -0
  283. package/dist/design-system/p-7dd8beba.entry.js +1 -0
  284. package/dist/design-system/{p-73acee07.entry.js → p-7ef0c428.entry.js} +1 -1
  285. package/dist/design-system/{p-6644c4a0.entry.js → p-8281dc36.entry.js} +1 -1
  286. package/dist/design-system/p-87222184.entry.js +1 -0
  287. package/dist/design-system/{p-a129711d.entry.js → p-8cd1b533.entry.js} +1 -1
  288. package/dist/design-system/{p-40495e05.entry.js → p-92a52f89.entry.js} +1 -1
  289. package/dist/design-system/{p-4a53d7b0.entry.js → p-95d96917.entry.js} +1 -1
  290. package/dist/design-system/{p-e33389b8.entry.js → p-9ecde011.entry.js} +1 -1
  291. package/dist/design-system/{p-e78faea6.entry.js → p-9f0fe1f6.entry.js} +1 -1
  292. package/dist/design-system/p-BGyJgVXm.js +2 -0
  293. package/dist/design-system/{p-CJwbBrt5.js → p-ByhWX2NK.js} +1 -1
  294. package/dist/design-system/p-C-txBx-h.js +1 -0
  295. package/dist/design-system/{p-COK6PVLC.js → p-C4tHYnB4.js} +1 -1
  296. package/dist/design-system/p-DRVnqiWc.js +1 -0
  297. package/dist/design-system/{p-3f79f1d1.entry.js → p-ade9319d.entry.js} +1 -1
  298. package/dist/design-system/{p-4128c17f.entry.js → p-aeadfb9c.entry.js} +1 -1
  299. package/dist/design-system/{p-b3279f07.entry.js → p-ca6b4d4a.entry.js} +1 -1
  300. package/dist/design-system/{p-0fbb6d92.entry.js → p-cdedac3c.entry.js} +1 -1
  301. package/dist/design-system/{p-09ba9dbc.entry.js → p-d43772c0.entry.js} +1 -1
  302. package/dist/design-system/{p-e0f9e5b5.entry.js → p-dfa716e0.entry.js} +1 -1
  303. package/dist/design-system/{p-d040ec6f.entry.js → p-e1288299.entry.js} +1 -1
  304. package/dist/design-system/{p-a983560d.entry.js → p-e1b307ee.entry.js} +1 -1
  305. package/dist/design-system/p-e3a1e677.entry.js +1 -0
  306. package/dist/design-system/p-ebc72b3f.entry.js +1 -0
  307. package/dist/design-system/{p-6c71d7b7.entry.js → p-fa888a37.entry.js} +1 -1
  308. package/dist/esm/{component.textinput-CJwbBrt5.js → component.textinput-ByhWX2NK.js} +3 -2
  309. package/dist/esm/design-system.js +3 -3
  310. package/dist/esm/{index-BqHL8W3c.js → index-BGyJgVXm.js} +1 -1
  311. package/dist/esm/index.js +36 -41
  312. package/dist/esm/loader.js +3 -3
  313. package/dist/esm/modal-stack-DRVnqiWc.js +105 -0
  314. package/dist/esm/sd-action-modal.entry.js +2 -2
  315. package/dist/esm/sd-badge.entry.js +2 -2
  316. package/dist/esm/sd-barcode-input.entry.js +3 -3
  317. package/dist/esm/sd-button-v2_2.entry.js +3 -3
  318. package/dist/esm/sd-button_4.entry.js +22 -17
  319. package/dist/esm/sd-calendar.entry.js +1 -1
  320. package/dist/esm/sd-card.entry.js +2 -2
  321. package/dist/esm/sd-checkbox.entry.js +1 -1
  322. package/dist/esm/sd-chip.entry.js +310 -0
  323. package/dist/esm/sd-circle-progress.entry.js +2 -2
  324. package/dist/esm/sd-confirm-modal_2.entry.js +5 -4
  325. package/dist/esm/sd-date-box.entry.js +1 -1
  326. package/dist/esm/sd-date-picker-calendar.entry.js +2 -2
  327. package/dist/esm/sd-date-picker-trigger.entry.js +3 -3
  328. package/dist/esm/sd-date-picker.entry.js +3 -3
  329. package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
  330. package/dist/esm/sd-date-range-picker.entry.js +1 -1
  331. package/dist/esm/sd-dropdown-button.entry.js +5 -16
  332. package/dist/esm/sd-file-picker.entry.js +3 -3
  333. package/dist/esm/sd-form.entry.js +1 -1
  334. package/dist/esm/sd-ghost-button.entry.js +6 -6
  335. package/dist/esm/sd-guide.entry.js +167 -34
  336. package/dist/esm/sd-input_2.entry.js +7 -7
  337. package/dist/esm/sd-loading-container.entry.js +4 -4
  338. package/dist/esm/sd-modal-container.entry.js +130 -151
  339. package/dist/esm/sd-number-input.entry.js +4 -4
  340. package/dist/esm/sd-pagination_2.entry.js +116 -42
  341. package/dist/esm/sd-popover.entry.js +4 -4
  342. package/dist/esm/sd-portal.entry.js +4 -4
  343. package/dist/esm/sd-progress.entry.js +3 -3
  344. package/dist/esm/sd-radio-button.entry.js +2 -2
  345. package/dist/esm/sd-radio-group.entry.js +3 -3
  346. package/dist/esm/sd-radio.entry.js +18 -27
  347. package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
  348. package/dist/esm/sd-select-group.entry.js +2 -2
  349. package/dist/esm/sd-select-multiple-group.entry.js +2 -2
  350. package/dist/esm/sd-select-multiple.entry.js +2 -2
  351. package/dist/esm/sd-select-option-group.entry.js +4 -4
  352. package/dist/esm/sd-select-v2-list-item_4.entry.js +29 -24
  353. package/dist/esm/sd-select.entry.js +2 -2
  354. package/dist/esm/sd-switch.entry.js +2 -2
  355. package/dist/esm/sd-table.entry.js +6 -6
  356. package/dist/esm/sd-tabs.entry.js +2 -2
  357. package/dist/esm/sd-tag.entry.js +3 -3
  358. package/dist/esm/sd-tbody.entry.js +2 -2
  359. package/dist/esm/sd-td.entry.js +2 -2
  360. package/dist/esm/sd-text-link.entry.js +4 -4
  361. package/dist/esm/sd-textarea.entry.js +3 -3
  362. package/dist/esm/sd-thead.entry.js +4 -4
  363. package/dist/esm/sd-toast-container.entry.js +3 -3
  364. package/dist/esm/sd-toast.entry.js +3 -3
  365. package/dist/esm/sd-toggle.entry.js +2 -2
  366. package/dist/esm/sd-tr.entry.js +3 -3
  367. package/dist/esm/system-C-txBx-h.js +14 -0
  368. package/dist/esm/table-test.entry.js +2 -2
  369. package/dist/esm/{tooltipArrow-BcsrQx1U.js → tooltipArrow-BAjP9_Hx.js} +1 -1
  370. package/dist/types/components/sd-chip/sd-chip.config.d.ts +36 -0
  371. package/dist/types/components/sd-chip/sd-chip.d.ts +47 -0
  372. package/dist/types/components/sd-guide/sd-guide.config.d.ts +44 -0
  373. package/dist/types/components/sd-guide/sd-guide.d.ts +3 -4
  374. package/dist/types/components/sd-loading-container/sd-loading-container.config.d.ts +1 -1
  375. package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
  376. package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -0
  377. package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +12 -16
  378. package/dist/types/components/sd-pagination/sd-pagination.config.d.ts +23 -0
  379. package/dist/types/components/sd-pagination/sd-pagination.d.ts +3 -3
  380. package/dist/types/components/sd-radio/sd-radio.config.d.ts +1 -0
  381. package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +2 -1
  382. package/dist/types/components/sd-table/sd-table.stories.helpers.d.ts +29 -0
  383. package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +1 -1
  384. package/dist/types/components.d.ts +134 -16
  385. package/dist/types/utils/modal-stack.d.ts +17 -0
  386. package/hydrate/index.js +1004 -385
  387. package/hydrate/index.mjs +1004 -385
  388. package/package.json +1 -1
  389. package/dist/components/p-6LkBUj0w.js +0 -1
  390. package/dist/components/p-B1S4ybd6.js +0 -1
  391. package/dist/components/p-CU095QAR.js +0 -1
  392. package/dist/components/p-DBnszF5F.js +0 -1
  393. package/dist/components/p-DpsDTjcN.js +0 -1
  394. package/dist/components/p-DuYi4aqj.js +0 -1
  395. package/dist/components/p-VXLJLI30.js +0 -1
  396. package/dist/components/p-kZ5N_lFC.js +0 -1
  397. package/dist/design-system/p-12a03c88.entry.js +0 -1
  398. package/dist/design-system/p-15cda79c.entry.js +0 -1
  399. package/dist/design-system/p-2f64dd95.entry.js +0 -1
  400. package/dist/design-system/p-33e4ce64.entry.js +0 -1
  401. package/dist/design-system/p-7e09fdd5.entry.js +0 -1
  402. package/dist/design-system/p-8acf3b67.entry.js +0 -1
  403. package/dist/design-system/p-BqHL8W3c.js +0 -2
  404. package/dist/design-system/p-ae1800c0.entry.js +0 -1
  405. package/dist/design-system/p-b6e02544.entry.js +0 -1
  406. package/dist/design-system/p-cf1156cb.entry.js +0 -1
  407. package/dist/design-system/p-e1fdd540.entry.js +0 -1
  408. package/dist/design-system/p-f9b9204d.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
  var useDatePicker = require('./useDatePicker-cK_XK_P6.js');
5
5
  var sdDatePicker_config = require('./sd-date-picker.config-D8xSALVj.js');
6
6
 
@@ -267,7 +267,7 @@ const SdDateRangePickerCalendar = class {
267
267
  '--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
268
268
  '--range-divider': RANGE_LAYOUT.divider,
269
269
  };
270
- return (index.h(index.Fragment, { key: '99b9de5fce7e4d039b40ed95b3451c28e7799dc8' }, index.h("div", { key: 'b55374e977f79e6dd7cd5d4af9df30bf41e40fba', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), index.h("div", { key: '6bd94cde83d82efc270148434dfb6410dc5f9634', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), index.h("span", { key: '9e179166ebad4cf295e831ef2e63fc9677f65b82', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
270
+ return (index.h(index.Fragment, { key: '595c17bc338f96117d87c5ac3c2b26895b9e5283' }, index.h("div", { key: '39ce76545cc612422ab5024a2838fbc9faabb9a8', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), index.h("div", { key: '21764e31a3fbcfa8de22d1f243f5739fc02c38fd', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), index.h("span", { key: '402ea75f3bf8b58d30c34238285eef7099118e28', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
271
271
  }
272
272
  static get watchers() { return {
273
273
  "value": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
  var index$1 = require('./index-BUvXpPc3.js');
5
5
  var sdDatePicker_config = require('./sd-date-picker.config-D8xSALVj.js');
6
6
 
@@ -1,21 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
  var baseDropdownEvent = require('./base-dropdown-event-BTPlZ1KF.js');
5
5
  var sdButtonV2_config = require('./sd-button-v2.config-CnqCQQMi.js');
6
6
  var component_button = require('./component.button-cqV-iCG5.js');
7
-
8
- const color = {
9
- bg: {
10
- accent: {
11
- "default": "#0075FF"}},
12
- content: {
13
- secondary: "#555555",
14
- inverse: "#FFFFFF"
15
- }};
16
- var systemTokens = {
17
- color: color
18
- };
7
+ var system = require('./system-C89o3A9Z.js');
19
8
 
20
9
  const DROPDOWN_BUTTON_NAMES = Object.keys(sdButtonV2_config.BUTTON_CONFIG).filter((name) => !name.endsWith('_lg'));
21
10
  const DROPDOWN_BUTTON_CONFIG = Object.fromEntries(DROPDOWN_BUTTON_NAMES.map(name => [name, sdButtonV2_config.BUTTON_CONFIG[name]]));
@@ -30,9 +19,9 @@ const PRESET_DIVIDER_COLORS = {
30
19
  danger: component_button.buttonTokens.button.danger.strong.dropdown.divider,
31
20
  danger_outline: PRESET_BORDER_COLORS.danger_outline,
32
21
  };
33
- const MENU_ITEM_COLOR = systemTokens.color.content.secondary;
34
- const MENU_ITEM_ACTIVE_BACKGROUND = systemTokens.color.bg.accent.default;
35
- const MENU_ITEM_ACTIVE_COLOR = systemTokens.color.content.inverse;
22
+ const MENU_ITEM_COLOR = system.systemTokens.color.content.secondary;
23
+ const MENU_ITEM_ACTIVE_BACKGROUND = system.systemTokens.color.bg.accent.default;
24
+ const MENU_ITEM_ACTIVE_COLOR = system.systemTokens.color.content.inverse;
36
25
  const PRESET_MENU_ITEM_COLORS = {
37
26
  primary: MENU_ITEM_COLOR,
38
27
  secondary: MENU_ITEM_COLOR,
@@ -257,7 +246,7 @@ const SdDropdownButton = class extends baseDropdownEvent.BaseDropdownEvent {
257
246
  }
258
247
  render() {
259
248
  const { config, preset } = this.resolvedConfig;
260
- return (index.h("div", { key: '1a6fa00329392de05526a50de55dcd620a43a2db', class: "sd-dropdown-button" }, index.h("button", { key: 'd73139863c8decca29079a8111e26ea5a2d21614', 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: {
249
+ return (index.h("div", { key: '5493b94262ecdd20a5fbb7ad2993dd473b1ae9e3', class: "sd-dropdown-button" }, index.h("button", { key: 'a64187dec0d84dce3532f8b3d7112ed6d6ae8e0d', 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: {
261
250
  '--sd-dropdown-button-bg': config.color,
262
251
  '--sd-dropdown-button-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
263
252
  '--sd-dropdown-button-border': PRESET_BORDER_COLORS[preset],
@@ -267,10 +256,10 @@ const SdDropdownButton = class extends baseDropdownEvent.BaseDropdownEvent {
267
256
  '--sd-dropdown-button-disabled-bg': DROPDOWN_DISABLED_BACKGROUND,
268
257
  '--sd-dropdown-button-disabled-content': DROPDOWN_DISABLED_TEXT,
269
258
  '--sd-dropdown-button-disabled-border': DROPDOWN_DISABLED_BORDER,
270
- } }, index.h("span", { key: '52e30c7d5f55b2ed974944b23880a42fdf941e31', class: "sd-dropdown-button__trigger-label" }, this.label), index.h("span", { key: '8d693a472783e552613b0c0503b85dc9b5ce0343', class: "sd-dropdown-button__trigger-divider", "aria-hidden": "true" }), index.h("span", { key: 'e9f0fc3980400150c8808e569904bee6c4629dc7', class: {
259
+ } }, index.h("span", { key: '71ed27650dcb1beb1cfa4864a6449ab190f04829', class: "sd-dropdown-button__trigger-label" }, this.label), index.h("span", { key: '6c34575c0587fb288165cf0e15db52ed6b3f50db', class: "sd-dropdown-button__trigger-divider", "aria-hidden": "true" }), index.h("span", { key: '0544b9d36657a80b5f51b9c1849d55ab7a7dbdc2', class: {
271
260
  'sd-dropdown-button__trigger-icon': true,
272
261
  'sd-dropdown-button__trigger-icon--open': this.isOpen,
273
- }, "aria-hidden": "true" }, index.h("sd-icon", { key: '13fda88989885a9096ed6ecf211b3aadad3f128a', name: "chevronDown", size: DROPDOWN_CHEVRON_ICON_SIZE[config.size], color: "var(--sd-dropdown-button-current-content)" }))), this.renderDropdown(preset)));
262
+ }, "aria-hidden": "true" }, index.h("sd-icon", { key: 'cd73a4dffbe1fc31c76fea221cd080b455bb3131', name: "chevronDown", size: DROPDOWN_CHEVRON_ICON_SIZE[config.size], color: "var(--sd-dropdown-button-current-content)" }))), this.renderDropdown(preset)));
274
263
  }
275
264
  static get watchers() { return {
276
265
  "isOpen": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
 
5
5
  const filepicker = {
6
6
  height: "28",
@@ -45,7 +45,7 @@ const FILE_PICKER_COLORS = {
45
45
  },
46
46
  };
47
47
 
48
- const sdFilePickerCss = () => `sd-file-picker{display:inline-flex;width:100%}.sd-file-picker__content{width:100%;height:100%;display:flex;align-items:center;padding:0 var(--sd-file-picker-padding-x);gap:var(--sd-file-picker-gap);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;vertical-align:middle}.sd-file-picker__text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--sd-file-picker-font-weight);font-size:var(--sd-file-picker-font-size);line-height:var(--sd-file-picker-line-height);color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker__text--placeholder{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__icon{flex-shrink:0}.sd-file-picker__clear-icon{flex-shrink:0;cursor:pointer;transition:opacity 0.2s ease}.sd-file-picker__clear-icon:hover{opacity:0.7}.sd-file-picker__input{display:none}.sd-file-picker__tooltip{position:absolute;top:calc(100% - 4px);left:50%;transform:translate(-50%);z-index:1000;white-space:nowrap;padding:8px 12px;background:rgba(0, 0, 0, 0.8);color:white;font-size:12px;line-height:18px;border-radius:4px;pointer-events:none}.sd-field--disabled .sd-file-picker__content{cursor:not-allowed}.sd-field--disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}.sd-file-picker--inline .sd-file-picker__content{border:none;background-color:transparent;padding:0;height:auto}.sd-file-picker--inline .sd-file-picker__text{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker--inline:hover:not(.sd-file-picker--inline-disabled) .sd-file-picker__text{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline .sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__content{cursor:not-allowed}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}`;
48
+ const sdFilePickerCss = () => `sd-file-picker{display:inline-flex;width:100%}.sd-file-picker__content{width:100%;height:100%;display:flex;align-items:center;padding:0 var(--sd-file-picker-padding-x);gap:var(--sd-file-picker-gap);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;vertical-align:middle}.sd-file-picker__text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--sd-file-picker-font-weight);font-size:var(--sd-file-picker-font-size);line-height:var(--sd-file-picker-line-height);color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker__text--placeholder{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__icon{flex-shrink:0}.sd-file-picker__clear-icon{flex-shrink:0;cursor:pointer;transition:opacity 0.2s ease}.sd-file-picker__clear-icon:hover{opacity:0.7}.sd-file-picker__input{display:none}.sd-file-picker__tooltip{position:absolute;top:calc(100% - 4px);left:50%;transform:translate(-50%);z-index:998;white-space:nowrap;padding:8px 12px;background:rgba(0, 0, 0, 0.8);color:white;font-size:12px;line-height:18px;border-radius:4px;pointer-events:none}.sd-field--disabled .sd-file-picker__content{cursor:not-allowed}.sd-field--disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}.sd-file-picker--inline .sd-file-picker__content{border:none;background-color:transparent;padding:0;height:auto}.sd-file-picker--inline .sd-file-picker__text{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker--inline:hover:not(.sd-file-picker--inline-disabled) .sd-file-picker__text{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline .sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__content{cursor:not-allowed}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}`;
49
49
 
50
50
  const SdFilePicker = class {
51
51
  constructor(hostRef) {
@@ -222,7 +222,7 @@ const SdFilePicker = class {
222
222
  'sd-file-picker__text': true,
223
223
  'sd-file-picker__text--placeholder': !hasFiles,
224
224
  'sd-file-picker__text--active': hasFiles,
225
- } }, displayText), !this.disabled && hasFiles && (index.h("sd-ghost-button", { icon: "close", size: "xxs", disabled: this.disabled, class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (index.h("div", { class: "sd-file-picker__tooltip" }, displayText))));
225
+ } }, displayText), !this.disabled && hasFiles && (index.h("sd-ghost-button", { icon: "close", size: "xxs", ariaLabel: "clear", disabled: this.disabled, class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (index.h("div", { class: "sd-file-picker__tooltip" }, displayText))));
226
226
  if (this.inline) {
227
227
  return (index.h("div", { class: {
228
228
  'sd-file-picker--inline': true,
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
 
5
5
  const SdForm = class {
6
6
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
 
5
5
  const ghostButton = {
6
6
  xxs: {
@@ -152,19 +152,19 @@ const SdGhostButton = class {
152
152
  render() {
153
153
  const sizeConfig = GHOST_BUTTON_SIZES[this.size];
154
154
  const contentColor = this.disabled
155
- ? GHOST_BUTTON_DISABLED_COLORS[this.intent]
156
- : GHOST_BUTTON_CONTENT_COLORS[this.intent];
155
+ ? GHOST_BUTTON_DISABLED_COLORS[this.intent ?? 'default']
156
+ : GHOST_BUTTON_CONTENT_COLORS[this.intent ?? 'default'];
157
157
  const accessibleName = this.ariaLabel.trim() || undefined;
158
- return (index.h("button", { key: 'eccb34969779d75bcd77dd6ae12cb99a419af121', class: {
158
+ return (index.h("button", { key: '690151271d15b4a3e07b47021f368647cc9daf62', class: {
159
159
  'sd-ghost-button': true,
160
160
  'sd-ghost-button--disabled': this.disabled,
161
161
  }, type: "button", disabled: this.disabled, "aria-label": accessibleName, style: {
162
162
  '--sd-ghost-button-size': `${sizeConfig.size}px`,
163
163
  '--sd-ghost-button-radius': `${GHOST_BUTTON_RADIUS[this.size]}px`,
164
- '--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[this.intent],
164
+ '--sd-ghost-button-hover-bg': GHOST_BUTTON_HOVER_BG_COLORS[this.intent ?? 'default'],
165
165
  '--sd-ghost-button-hover-opacity': GHOST_BUTTON_HOVER_OPACITY,
166
166
  '--sd-ghost-button-accent': GHOST_BUTTON_FOCUS_RING_COLOR,
167
- }, onClick: this.handleClick }, index.h("sd-icon", { key: '4ae160e73b72b0b4aa40947c126419b1016c81d3', name: this.icon, size: sizeConfig.icon, color: contentColor })));
167
+ }, onClick: this.handleClick }, index.h("sd-icon", { key: '9769fff9f694e7d1fa2cba94fa8e80498d0afe2e', name: this.icon, size: sizeConfig.icon, color: contentColor })));
168
168
  }
169
169
  };
170
170
  SdGhostButton.style = sdGhostButtonCss();
@@ -1,63 +1,196 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
+ var system = require('./system-C89o3A9Z.js');
4
5
 
5
- 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 .sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}sd-guide .sd-guide .sd-button{padding:0 16px 0 12px;border-radius:16px;color:#333333 !important;display:flex;align-items:center;transition:none}sd-guide .sd-guide .sd-button .sd-button__content{color:#333333 !important}sd-guide .sd-guide .sd-button .sd-button__content .sd-button__label{color:#333333 !important;margin-left:4px}sd-guide .sd-guide--active .sd-button{border:1px solid #00973C}sd-guide .sd-guide--active .sd-button .sd-button__content .sd-button__label{color:white !important}.sd-guide__popup{position:relative;padding:20px 32px;border-radius:8px;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:8px;margin-bottom:12px}.sd-guide__popup__header .sd-guide__popup__title{margin-top:0;font-size:16px;font-weight:700;line-height:26px;color:#333333}.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:#333333;font-size:12px;font-weight:400}.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:#333333;font-size:12px;font-weight:400;margin-left:10px;margin-right:12px;flex-shrink:0}.sd-guide__popup__list__item--depth-2::before{content:"•"}.sd-guide__popup__list__item--depth-2{padding-left:26px}`;
6
+ const guide = {
7
+ button: {
8
+ height: "28",
9
+ paddingX: "12",
10
+ radius: "9999",
11
+ gap: "6",
12
+ typography: {
13
+ fontSize: "12",
14
+ fontWeight: "500",
15
+ lineHeight: "20"
16
+ },
17
+ icon: {
18
+ size: "16",
19
+ "default": "#00973C",
20
+ active: "#FFFFFF"
21
+ },
22
+ border: {
23
+ width: "1",
24
+ "default": "#E1E1E1"
25
+ },
26
+ bg: {
27
+ "default": "#FFFFFF",
28
+ tip: "#00973C",
29
+ notion: "#1F8AE1"
30
+ },
31
+ text: {
32
+ "default": "#222222",
33
+ active: "#FFFFFF"
34
+ }
35
+ },
36
+ contents: {
37
+ paddingX: "24",
38
+ paddingY: "20",
39
+ gap: "12",
40
+ title: {
41
+ gap: "8"
42
+ },
43
+ row: {
44
+ gap: "8"
45
+ },
46
+ body: {
47
+ gap: "2"
48
+ },
49
+ typography: {
50
+ title: {
51
+ fontWeight: "700",
52
+ fontSize: "16",
53
+ lineHeight: "26"
54
+ },
55
+ body: {
56
+ fontWeight: "400",
57
+ fontSize: "12",
58
+ lineHeight: "20"},
59
+ color: "#222222"
60
+ },
61
+ icon: "#00973C",
62
+ radius: "8"}
63
+ };
64
+ var guideTokens = {
65
+ guide: guide
66
+ };
67
+
68
+ const { button, contents} = guideTokens.guide;
69
+ const NOTION_ICON_COLOR = system.systemTokens.color.content.primary;
70
+ const GUIDE_CONFIG = {
71
+ button: {
72
+ height: `${button.height}px`,
73
+ paddingX: `${button.paddingX}px`,
74
+ radius: `${button.radius}px`,
75
+ gap: `${button.gap}px`,
76
+ fontSize: `${button.typography.fontSize}px`,
77
+ fontWeight: button.typography.fontWeight,
78
+ lineHeight: `${button.typography.lineHeight}px`,
79
+ iconSize: Number(button.icon.size),
80
+ iconColorDefault: button.icon.default,
81
+ iconColorActive: button.icon.active,
82
+ iconColorNotion: NOTION_ICON_COLOR,
83
+ borderWidth: `${button.border.width}px`,
84
+ borderColor: button.border.default,
85
+ bgDefault: button.bg.default,
86
+ bgTip: button.bg.tip,
87
+ bgNotion: button.bg.notion,
88
+ textDefault: button.text.default,
89
+ textActive: button.text.active,
90
+ },
91
+ contents: {
92
+ paddingX: `${contents.paddingX}px`,
93
+ paddingY: `${contents.paddingY}px`,
94
+ gap: `${contents.gap}px`,
95
+ rowGap: `${contents.row.gap}px`,
96
+ bodyGap: `${contents.body.gap}px`,
97
+ titleGap: `${contents.title.gap}px`,
98
+ radius: `${contents.radius}px`,
99
+ iconColor: contents.icon,
100
+ iconColorNotion: NOTION_ICON_COLOR,
101
+ titleFontSize: `${contents.typography.title.fontSize}px`,
102
+ titleFontWeight: contents.typography.title.fontWeight,
103
+ titleLineHeight: `${contents.typography.title.lineHeight}px`,
104
+ bodyFontSize: `${contents.typography.body.fontSize}px`,
105
+ bodyFontWeight: contents.typography.body.fontWeight,
106
+ bodyLineHeight: `${contents.typography.body.lineHeight}px`,
107
+ textColor: contents.typography.color,
108
+ },
109
+ };
6
110
 
7
- const GUIDE_LABEL = {
8
- help: '활용 TIP',
9
- pdf: 'PDF Guide',
10
- youtube: 'Video Guide',
111
+ 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}`;
112
+
113
+ const DEFAULT_LABEL_BY_TYPE = {
114
+ tip: '활용 TIP',
11
115
  notion: '사용법 안내',
12
- event: 'Event Button',
13
116
  };
14
- const GUIDE_ICON = {
15
- help: {
16
- name: 'helpOutline',
17
- size: 20,
18
- color: 'green_75',
19
- },
20
- pdf: { name: 'pdf', size: 20, color: 'red_75' },
21
- youtube: { name: 'youtube', size: 20, color: 'red_75' },
22
- notion: { name: 'notion', size: 16, color: 'black' },
23
- event: { name: 'event', size: 16, color: 'brilliantblue_70' },
117
+ const ICON_BY_TYPE = {
118
+ tip: 'helpOutline',
119
+ notion: 'notion',
24
120
  };
25
121
  const SdGuide = class {
26
122
  constructor(hostRef) {
27
123
  index.registerInstance(this, hostRef);
28
124
  }
29
125
  get el() { return index.getElement(this); }
30
- type = 'help';
126
+ type = 'tip';
31
127
  label = '';
32
128
  message = '';
33
- guideUrl = '';
129
+ url = '';
34
130
  popupTitle = '';
35
131
  popupWidth;
36
132
  popupShow = false;
37
133
  guideRef;
38
134
  handleClickGuide = () => {
39
- if (this.type === 'help') {
40
- this.popupShow = !this.popupShow;
135
+ if (this.type === 'notion') {
136
+ if (this.url) {
137
+ window.open(this.url, '_blank', 'noopener,noreferrer');
138
+ }
41
139
  return;
42
140
  }
43
- if (this.guideUrl) {
44
- window.open(this.guideUrl, '_blank');
45
- }
141
+ this.popupShow = !this.popupShow;
46
142
  };
47
- get guideClass() {
48
- const classes = ['sd-guide', `sd-guide--${this.type}`];
49
- if (this.popupShow)
50
- classes.push('sd-guide--active');
51
- return classes.join(' ');
52
- }
53
143
  closeDropdown = () => {
54
144
  this.popupShow = false;
55
145
  };
146
+ get guideStyle() {
147
+ const { button, contents } = GUIDE_CONFIG;
148
+ return {
149
+ '--sd-guide-button-height': button.height,
150
+ '--sd-guide-button-padding-x': button.paddingX,
151
+ '--sd-guide-button-radius': button.radius,
152
+ '--sd-guide-button-gap': button.gap,
153
+ '--sd-guide-button-font-size': button.fontSize,
154
+ '--sd-guide-button-font-weight': button.fontWeight,
155
+ '--sd-guide-button-line-height': button.lineHeight,
156
+ '--sd-guide-button-border-width': button.borderWidth,
157
+ '--sd-guide-button-border-color': button.borderColor,
158
+ '--sd-guide-button-bg-default': button.bgDefault,
159
+ '--sd-guide-button-bg-tip': button.bgTip,
160
+ '--sd-guide-button-bg-notion': button.bgNotion,
161
+ '--sd-guide-button-text-default': button.textDefault,
162
+ '--sd-guide-button-text-active': button.textActive,
163
+ '--sd-guide-contents-padding-x': contents.paddingX,
164
+ '--sd-guide-contents-padding-y': contents.paddingY,
165
+ '--sd-guide-contents-gap': contents.gap,
166
+ '--sd-guide-contents-row-gap': contents.rowGap,
167
+ '--sd-guide-contents-body-gap': contents.bodyGap,
168
+ '--sd-guide-contents-title-gap': contents.titleGap,
169
+ '--sd-guide-contents-radius': contents.radius,
170
+ '--sd-guide-contents-title-font-size': contents.titleFontSize,
171
+ '--sd-guide-contents-title-font-weight': contents.titleFontWeight,
172
+ '--sd-guide-contents-title-line-height': contents.titleLineHeight,
173
+ '--sd-guide-contents-body-font-size': contents.bodyFontSize,
174
+ '--sd-guide-contents-body-font-weight': contents.bodyFontWeight,
175
+ '--sd-guide-contents-body-line-height': contents.bodyLineHeight,
176
+ '--sd-guide-contents-text-color': contents.textColor,
177
+ };
178
+ }
56
179
  render() {
57
- const { name: iconName, size: iconSize, color: iconColor } = GUIDE_ICON[this.type];
58
- return (index.h("div", { key: '0f70d3686c37c029635c93a8ad8f937fb2ca73c2', class: "sd-guide", style: {
59
- '--sd-guide-color': GUIDE_ICON[this.type].color,
60
- } }, index.h("sd-button", { key: 'f07235cc53a908237af2f13a98f325340c83fd0e', ref: el => (this.guideRef = el), class: this.guideClass, variant: this.popupShow ? 'primary' : 'outline', label: this.label || GUIDE_LABEL[this.type], size: "sm", color: this.popupShow ? GUIDE_ICON[this.type].color : 'grey_45', icon: iconName, iconColor: this.popupShow ? 'white' : iconColor, iconSize: iconSize, noHover: this.popupShow, onSdClick: this.handleClickGuide }), this.type === 'help' && this.popupShow && (index.h("sd-portal", { key: '9c5ade0db41a02a343bb77bc1dcb44d12dba6c04', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, index.h("div", { key: 'd59caf4107b678ce132accfe9f392c3cfa6b35f4', style: { position: 'absolute', width: '0px', height: '0px' } }, index.h("div", { key: '22aa97a939e27454dec067effc6911aea6ace2a4', class: "sd-guide__popup", style: { width: this.popupWidth ? this.popupWidth + 'px' : '426px' } }, index.h("sd-button", { key: '6bf404b6718bbd036acff51101538d967a2cd642', class: "sd-guide__popup__close", icon: "close", color: "grey_65", size: "md", variant: "ghost", noHover: true, onSdClick: this.closeDropdown }), index.h("div", { key: 'a63aa9263715f57f2e8bf977c4849f868803a704', class: "sd-guide__popup__header" }, index.h("sd-icon", { key: '8ba1969ada651d3226058bb9095ae8b794be1759', name: "helpOutline", size: 24, color: "green_65" }), index.h("h3", { key: '41dd2533e146eae12ee7367a243e819362597761', class: "sd-guide__popup__title" }, this.popupTitle || GUIDE_LABEL[this.type])), index.h("ul", { key: 'b45bfd9ff793f0c0860789d16c1c17fef2ad01d5', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
180
+ const { button, contents } = GUIDE_CONFIG;
181
+ const isActive = this.popupShow;
182
+ const isNotion = (this.type ?? 'tip') === 'notion';
183
+ const defaultLabel = DEFAULT_LABEL_BY_TYPE[this.type ?? 'tip'];
184
+ const iconName = ICON_BY_TYPE[this.type ?? 'tip'];
185
+ const buttonIconDefault = isNotion ? button.iconColorNotion : button.iconColorDefault;
186
+ const popupIconColor = isNotion ? contents.iconColorNotion : contents.iconColor;
187
+ const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
188
+ if (isActive)
189
+ buttonClasses.push('sd-guide__button--active');
190
+ return (index.h("div", { key: '4b9aa8bafd13828a4ec29d726f7276fab3042f2d', class: "sd-guide", style: this.guideStyle }, index.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 && (index.h("sd-portal", { key: 'b57b09779ec23220eb466f710d55e678c913fe24', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, index.h("div", { key: 'e62ca3a49a4976861a3e485166c8376a71286aba', style: { position: 'absolute', width: '0px', height: '0px' } }, index.h("div", { key: '837625b5ab61bd9383cf5329bea66ceb97ef3bac', class: "sd-guide__popup", style: {
191
+ ...this.guideStyle,
192
+ width: this.popupWidth ? this.popupWidth + 'px' : '426px',
193
+ } }, index.h("sd-ghost-button", { key: '0e3057af64b47e20234269c0e2bf07664b8b3b13', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), index.h("div", { key: '544e3508d232229b4d1edd82fdefa58457cc595a', class: "sd-guide__popup__header" }, index.h("sd-icon", { key: '234fb04df972a50fa8deb1cacc6e34fab678d27b', name: iconName, size: 24, color: popupIconColor }), index.h("h3", { key: '454d5ee4cdfc2a343d64e79dc642a2aee07ed448', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), index.h("ul", { key: '875d5f5587808e5189e77ca02e55e8d7be1125da', class: "sd-guide__popup__list" }, this.renderListItem(this.message))))))));
61
194
  }
62
195
  // 현재 2depth까지만 스타일 적용
63
196
  renderListItem(message, depth = 0) {
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
  var index$1 = require('./index-BUvXpPc3.js');
5
- var component_textinput = require('./component.textinput-C4SsDjA1.js');
5
+ var component_textinput = require('./component.textinput-BpXDeZPD.js');
6
6
 
7
7
  const sm = component_textinput.inputTokens.textinput.sm;
8
8
  const md = component_textinput.inputTokens.textinput.md;
@@ -149,12 +149,12 @@ const SdInput = class {
149
149
  '--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
150
150
  '--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
151
151
  };
152
- return (index.h("sd-field", { key: 'a72ce8674fb761de7cd188e99cc19d5f3731a899', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, index.h("label", { key: 'e5cbdbc2b233bda57488ead19401d277891301ae', class: "sd-input__content" }, index.h("slot", { key: 'a327005770df94ef61f2e08071e77407a24b7b5c', name: "prefix" }), index.h("input", { key: '36301cd586151b8c607e14715b26fca467f68c13', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), index.h("slot", { key: '532e201860db0709572502aa4275fc9251e1aeb1', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (index.h("sd-ghost-button", { key: 'cc6132852c65f0597cbe25751c7246b1cdad3096', icon: "close", ariaLabel: "close", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
152
+ return (index.h("sd-field", { key: 'ed32da716dabccac9c67061086a3eb821f49afd5', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, index.h("label", { key: 'c8297e261baee31b8508e0912004edd7fe85f115', class: "sd-input__content" }, index.h("slot", { key: '615b28bb1f239a1ead1cad888edde9b59358837b', name: "prefix" }), index.h("input", { key: 'd1231386b264dbb8b38bf920c48c59474417a492', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : this.type, value: this.internalValue || '', placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), index.h("slot", { key: '97f7c084a17674d52c43255b334ddeb61cf743ad', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && (index.h("sd-ghost-button", { key: 'f35a0872ac6f44e41716b0bf9f93f7a000445bf6', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
153
153
  if (this.disabled)
154
154
  return;
155
155
  this.internalValue = '';
156
156
  await this.formField?.sdValidate();
157
- } })), this.type === 'password' && (index.h("sd-ghost-button", { key: 'fd3d567346cf5771ec28c73f15cdf0db15835766', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
157
+ } })), this.type === 'password' && (index.h("sd-ghost-button", { key: '0fdf74595057997c7d2f5f0f3ba6b75c340c2965', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled, class: "sd-input__password-icon", onClick: () => {
158
158
  if (this.disabled)
159
159
  return;
160
160
  this.passwordVisible = !this.passwordVisible;
@@ -195,17 +195,17 @@ const SdSelectSearchInput = class {
195
195
  input?.focus({ preventScroll: true });
196
196
  }
197
197
  render() {
198
- return (index.h("div", { key: '36003b7e0e7d8a3df224b18257d4d6b1712d47da', class: {
198
+ return (index.h("div", { key: '2629fd8c13f67bc89c3b66f5f8aa14f2fb2e5fcd', class: {
199
199
  'sd-select-search-input': true,
200
200
  'sd-select-search-input--scrolled': !!this.isScrolled,
201
- }, onClick: event => event.stopPropagation() }, index.h("sd-input", { key: '3b6f80d033a7903cb8e3692a2eebe0ab991e8d68', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
201
+ }, onClick: event => event.stopPropagation() }, index.h("sd-input", { key: 'f49cccdb49d0b2b861b0836dd654b7ab353b48ce', ref: el => (this.searchRef = el), value: this.searchText, placeholder: "\uAC80\uC0C9", clearable: true, inputStyle: { 'padding-left': '8px' }, autofocus: true, onSdUpdate: event => {
202
202
  this.searchInput.emit(String(event?.detail));
203
203
  }, onSdFocus: () => {
204
204
  this.searchFocus.emit();
205
205
  }, onKeyDown: event => {
206
206
  if (event.code === 'Enter')
207
207
  event.stopPropagation();
208
- } }, index.h("sd-icon", { key: '7c453e87ba6b384c5be7bb142697ba43c0d1a20b', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
208
+ } }, index.h("sd-icon", { key: '773f5638821c73c20435f747c3dea5b6684b89eb', name: "search", size: 16, color: "#737373", style: { marginRight: '4px' }, slot: "prefix" }))));
209
209
  }
210
210
  };
211
211
  SdSelectSearchInput.style = sdSelectSearchInputCss();
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-nsQP24mV.js');
3
+ var index = require('./index-B2QvhbC3.js');
4
4
 
5
- const sdLoadingContainerCss = () => `sd-loading-container .sd-loading-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--sd-loading-container-z-index, 10000);opacity:0;visibility:hidden;transition:opacity 0.2s ease, visibility 0s linear 0.2s;pointer-events:none}sd-loading-container .sd-loading-container--visible{opacity:1;visibility:visible;transition:opacity 0.2s ease, visibility 0s linear 0s;pointer-events:auto}sd-loading-container .sd-loading-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4)}sd-loading-container .sd-loading-container__content{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px}sd-loading-container .sd-loading-container__message{margin:0;color:#ffffff;font-size:14px;font-weight:500;line-height:22px;text-align:center;max-width:400px;word-break:keep-all}`;
5
+ const sdLoadingContainerCss = () => `sd-loading-container .sd-loading-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--sd-loading-container-z-index, 999);opacity:0;visibility:hidden;transition:opacity 0.2s ease, visibility 0s linear 0.2s;pointer-events:none}sd-loading-container .sd-loading-container--visible{opacity:1;visibility:visible;transition:opacity 0.2s ease, visibility 0s linear 0s;pointer-events:auto}sd-loading-container .sd-loading-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4)}sd-loading-container .sd-loading-container__content{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px}sd-loading-container .sd-loading-container__message{margin:0;color:#ffffff;font-size:14px;font-weight:500;line-height:22px;text-align:center;max-width:400px;word-break:keep-all}`;
6
6
 
7
7
  const SdLoadingContainer = class {
8
8
  constructor(hostRef) {
@@ -18,10 +18,10 @@ const SdLoadingContainer = class {
18
18
  this.visible = false;
19
19
  }
20
20
  render() {
21
- return (index.h("div", { key: 'e4578e196ebd4ee69d424fe85c9bf651bc3382f7', class: {
21
+ return (index.h("div", { key: '8236579ed01f703fb105576c2fd575b157b3aa76', class: {
22
22
  'sd-loading-container': true,
23
23
  'sd-loading-container--visible': this.visible,
24
- }, "aria-hidden": this.visible ? 'false' : 'true' }, index.h("div", { key: 'ae9fae9408f9b69591554ca105abb2ece362db00', class: "sd-loading-container__backdrop" }), index.h("div", { key: '27d0c6518dacbb664cebb2fc76c9ceb14b2b3aac', class: "sd-loading-container__content" }, index.h("sd-circle-progress", { key: 'ace74d2550a2ddb579c61e6f8daaaf64915e8666', indeterminate: true, type: "inverse" }), this.message && (index.h("p", { key: 'af059ecdadf7b3b3c0a0437cbc4264ff550fa3c6', class: "sd-loading-container__message" }, this.message)))));
24
+ }, "aria-hidden": this.visible ? 'false' : 'true' }, index.h("div", { key: '176473a839add91a86d207544e9cc5862b13d04f', class: "sd-loading-container__backdrop" }), index.h("div", { key: '2776ed326caa6870a79b94079ff6e778ee560b02', class: "sd-loading-container__content" }, index.h("sd-circle-progress", { key: '6977bfd46e06e9c13492a15b5081c98446770de5', indeterminate: true, type: "inverse" }), this.message && (index.h("p", { key: '7cea458c498a4682b1d4d5f07e059ed8e4905df0', class: "sd-loading-container__message" }, this.message)))));
25
25
  }
26
26
  };
27
27
  SdLoadingContainer.style = sdLoadingContainerCss();