@sellmate/design-system 1.8.0 → 1.10.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 (388) hide show
  1. package/dist/cjs/{component.datepicker-Cw_-oidk.js → component.datepicker-CUQbDSku.js} +0 -1
  2. package/dist/cjs/component.field-YIQ9TAhV.js +61 -0
  3. package/dist/cjs/{component.textinput-BpXDeZPD.js → component.textinput-Bb-nU5xI.js} +3 -2
  4. package/dist/cjs/design-system.cjs.js +2 -2
  5. package/dist/cjs/{index-BGwB03Tk.js → index-C63F8C0_.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
  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.config-BSHkfgdC.js → sd-button.config-eTAJM2iW.js} +17 -4
  11. package/dist/cjs/sd-button_2.cjs.entry.js +7 -6
  12. package/dist/cjs/sd-calendar_2.cjs.entry.js +10 -9
  13. package/dist/cjs/sd-callout.cjs.entry.js +2 -2
  14. package/dist/cjs/sd-card.cjs.entry.js +2 -2
  15. package/dist/cjs/sd-checkbox.cjs.entry.js +1 -1
  16. package/dist/cjs/sd-chip-input.cjs.entry.js +274 -0
  17. package/dist/cjs/sd-chip.cjs.entry.js +15 -87
  18. package/dist/cjs/sd-chip.config-DiLoRpct.js +71 -0
  19. package/dist/cjs/sd-circle-progress.cjs.entry.js +2 -2
  20. package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +4 -4
  21. package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
  22. package/dist/cjs/{sd-date-picker.config-D3lTpa6W.js → sd-date-picker.config-CtXmufyj.js} +6 -2
  23. package/dist/cjs/sd-date-picker_7.cjs.entry.js +34 -48
  24. package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +4 -4
  25. package/dist/cjs/sd-divider.cjs.entry.js +2 -2
  26. package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -6
  27. package/dist/cjs/sd-field_3.cjs.entry.js +15 -56
  28. package/dist/cjs/sd-form.cjs.entry.js +1 -1
  29. package/dist/cjs/sd-ghost-button_2.cjs.entry.js +407 -0
  30. package/dist/cjs/sd-guide.cjs.entry.js +1 -1
  31. package/dist/cjs/sd-key-value-table.cjs.entry.js +1 -1
  32. package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
  33. package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
  34. package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
  35. package/dist/cjs/sd-pagination_4.cjs.entry.js +9 -9
  36. package/dist/cjs/sd-popover.cjs.entry.js +8 -7
  37. package/dist/cjs/sd-popup.cjs.entry.js +2 -2
  38. package/dist/cjs/sd-portal.cjs.entry.js +2 -2
  39. package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
  40. package/dist/cjs/sd-radio.cjs.entry.js +1 -1
  41. package/dist/cjs/sd-select-list-item_2.cjs.entry.js +9 -8
  42. package/dist/cjs/{sd-select.config-B19ptCT2.js → sd-select.config-DrJ4LNVz.js} +24 -13
  43. package/dist/cjs/sd-select_3.cjs.entry.js +16 -13
  44. package/dist/cjs/sd-switch.cjs.entry.js +2 -2
  45. package/dist/cjs/sd-table.cjs.entry.js +7 -7
  46. package/dist/cjs/sd-tabs.cjs.entry.js +6 -3
  47. package/dist/cjs/sd-td.cjs.entry.js +2 -2
  48. package/dist/cjs/sd-text-link.cjs.entry.js +20 -20
  49. package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
  50. package/dist/cjs/sd-toast.cjs.entry.js +3 -3
  51. package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
  52. package/dist/cjs/{tooltipArrow-COD-SNZL.js → tooltipArrow-DONQ8MML.js} +1 -1
  53. package/dist/cjs/{useDatePicker-dCuEgvjX.js → useDatePicker-iMd6WToc.js} +1 -1
  54. package/dist/collection/collection-manifest.json +1 -0
  55. package/dist/collection/components/sd-badge/sd-badge.js +1 -1
  56. package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +1 -1
  57. package/dist/collection/components/sd-button/sd-button.config.js +10 -2
  58. package/dist/collection/components/sd-button/sd-button.css +6 -5
  59. package/dist/collection/components/sd-button/sd-button.js +5 -4
  60. package/dist/collection/components/sd-calendar/sd-calendar.js +3 -3
  61. package/dist/collection/components/sd-callout/sd-callout.js +1 -1
  62. package/dist/collection/components/sd-card/sd-card.js +1 -1
  63. package/dist/collection/components/sd-chip/sd-chip.config.js +0 -1
  64. package/dist/collection/components/sd-chip/sd-chip.css +5 -0
  65. package/dist/collection/components/sd-chip/sd-chip.js +7 -5
  66. package/dist/collection/components/sd-chip-input/sd-chip-input.config.js +48 -0
  67. package/dist/collection/components/sd-chip-input/sd-chip-input.css +92 -0
  68. package/dist/collection/components/sd-chip-input/sd-chip-input.js +709 -0
  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 +2 -2
  71. package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
  72. package/dist/collection/components/sd-date-picker/sd-date-picker.config.js +5 -1
  73. package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
  74. package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
  75. package/dist/collection/components/sd-divider/sd-divider.js +1 -1
  76. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -2
  77. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +4 -0
  78. package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +5 -3
  79. package/dist/collection/components/sd-field/sd-field.js +6 -5
  80. package/dist/collection/components/sd-file-picker/sd-file-picker.config.js +11 -10
  81. package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
  82. package/dist/collection/components/sd-ghost-button/sd-ghost-button.css +21 -0
  83. package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +27 -2
  84. package/dist/collection/components/sd-input/sd-input.js +2 -2
  85. package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
  86. package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
  87. package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
  88. package/dist/collection/components/sd-number-input/sd-number-input.config.js +4 -3
  89. package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
  90. package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
  91. package/dist/collection/components/sd-popover/sd-popover.js +5 -5
  92. package/dist/collection/components/sd-popup/sd-popup.js +1 -1
  93. package/dist/collection/components/sd-portal/sd-portal.js +1 -1
  94. package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +4 -3
  95. package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
  96. package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +7 -4
  97. package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +4 -3
  98. package/dist/collection/components/sd-select/sd-select.config.js +17 -10
  99. package/dist/collection/components/sd-select/sd-select.js +5 -6
  100. package/dist/collection/components/sd-switch/sd-switch.js +1 -1
  101. package/dist/collection/components/sd-table/sd-table.js +6 -6
  102. package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
  103. package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
  104. package/dist/collection/components/sd-table/sd-thead/sd-thead.js +3 -3
  105. package/dist/collection/components/sd-tabs/sd-tabs.css +27 -0
  106. package/dist/collection/components/sd-tabs/sd-tabs.js +24 -1
  107. package/dist/collection/components/sd-tag/sd-tag.js +2 -2
  108. package/dist/collection/components/sd-text-link/sd-text-link.config.js +4 -4
  109. package/dist/collection/components/sd-text-link/sd-text-link.js +11 -11
  110. package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
  111. package/dist/collection/components/sd-toast/sd-toast.js +2 -2
  112. package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
  113. package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
  114. package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
  115. package/dist/components/index.js +1 -1
  116. package/dist/components/p-0KaFFbD8.js +1 -0
  117. package/dist/components/{p-p4bNikji.js → p-4XivETkt.js} +1 -1
  118. package/dist/components/p-AmkZCF9y.js +1 -0
  119. package/dist/components/p-BA8i1i5_.js +1 -0
  120. package/dist/components/{p-DQj-S8AC.js → p-BNkExhYB.js} +1 -1
  121. package/dist/components/p-BOJJ_sQS.js +1 -0
  122. package/dist/components/p-B_FQcRtk.js +1 -0
  123. package/dist/components/{p-lOVBaLB7.js → p-BcsFHQH8.js} +1 -1
  124. package/dist/components/p-BnaD56dI.js +1 -0
  125. package/dist/components/p-Bq9q5LoZ.js +1 -0
  126. package/dist/components/p-BwUUaGFU.js +1 -0
  127. package/dist/components/{p-DnW8EAqd.js → p-BysikR_g.js} +1 -1
  128. package/dist/components/p-C5wgHjtx.js +1 -0
  129. package/dist/components/{p-gqfJ-KUj.js → p-C79Cowjq.js} +1 -1
  130. package/dist/components/{p-Cye8r1MG.js → p-CFL9Rfh8.js} +1 -1
  131. package/dist/components/{p-uVZjhyvS.js → p-CJdrq8cV.js} +1 -1
  132. package/dist/components/{p-DCFqtVBm.js → p-CJr5BdNN.js} +1 -1
  133. package/dist/components/p-CWlwx4xx.js +1 -0
  134. package/dist/components/p-CWz_dfBG.js +1 -0
  135. package/dist/components/{p-D6cUtm8p.js → p-CjVOfLam.js} +1 -1
  136. package/dist/components/{p-wLoP3KMv.js → p-Ck9bJZTm.js} +1 -1
  137. package/dist/components/{p-CwQTEZWO.js → p-CkQzw2e0.js} +1 -1
  138. package/dist/components/p-CqvS2J1B.js +1 -0
  139. package/dist/components/p-CyGi6aGo.js +1 -0
  140. package/dist/components/p-Cz9ralVS.js +1 -0
  141. package/dist/components/{p-y_6iWhDy.js → p-D4TisqIF.js} +1 -1
  142. package/dist/components/p-D5O7fZYw.js +1 -0
  143. package/dist/components/p-DApxX0af.js +1 -0
  144. package/dist/components/p-DR0N8_Vt.js +1 -0
  145. package/dist/components/p-DUhqd8c7.js +1 -0
  146. package/dist/components/{p-BasCjDiE.js → p-DjS-dtF5.js} +1 -1
  147. package/dist/components/p-DmbwfZF7.js +1 -0
  148. package/dist/components/p-Dp6NByuZ.js +1 -0
  149. package/dist/components/{p-Bx9dlLbs.js → p-Dt9-l05k.js} +1 -1
  150. package/dist/components/{p-DhmsCQrB.js → p-DwU-e9i1.js} +1 -1
  151. package/dist/components/{p-BWJtQGYo.js → p-Dwl1u73P.js} +1 -1
  152. package/dist/components/{p-EcuI_UmK.js → p-NaAHdFVI.js} +1 -1
  153. package/dist/components/{p-ByhWX2NK.js → p-e0ABNkP6.js} +1 -1
  154. package/dist/components/{p-B45aOf4I.js → p-ipduET5U.js} +1 -1
  155. package/dist/components/{p-DKwnEkHE.js → p-jtJFHONo.js} +1 -1
  156. package/dist/components/p-laVsm9VM.js +1 -0
  157. package/dist/components/{p-CTuKWVTh.js → p-pfGv13eX.js} +1 -1
  158. package/dist/components/p-siTDlOb6.js +1 -0
  159. package/dist/components/sd-action-modal.js +1 -1
  160. package/dist/components/sd-badge.js +1 -1
  161. package/dist/components/sd-barcode-input.js +1 -1
  162. package/dist/components/sd-button.js +1 -1
  163. package/dist/components/sd-calendar.js +1 -1
  164. package/dist/components/sd-callout.js +1 -1
  165. package/dist/components/sd-card.js +1 -1
  166. package/dist/components/sd-checkbox.js +1 -1
  167. package/dist/components/sd-chip-input.d.ts +11 -0
  168. package/dist/components/sd-chip-input.js +1 -0
  169. package/dist/components/sd-chip.js +1 -1
  170. package/dist/components/sd-circle-progress.js +1 -1
  171. package/dist/components/sd-confirm-modal.js +1 -1
  172. package/dist/components/sd-date-box.js +1 -1
  173. package/dist/components/sd-date-picker-trigger.js +1 -1
  174. package/dist/components/sd-date-picker.js +1 -1
  175. package/dist/components/sd-date-range-picker-calendar.js +1 -1
  176. package/dist/components/sd-date-range-picker.js +1 -1
  177. package/dist/components/sd-divider.js +1 -1
  178. package/dist/components/sd-dropdown-button.js +1 -1
  179. package/dist/components/sd-field.js +1 -1
  180. package/dist/components/sd-file-picker.js +1 -1
  181. package/dist/components/sd-floating-portal.js +1 -1
  182. package/dist/components/sd-form.js +1 -1
  183. package/dist/components/sd-ghost-button.js +1 -1
  184. package/dist/components/sd-guide.js +1 -1
  185. package/dist/components/sd-icon.js +1 -1
  186. package/dist/components/sd-input.js +1 -1
  187. package/dist/components/sd-key-value-table.js +1 -1
  188. package/dist/components/sd-linear-progress.js +1 -1
  189. package/dist/components/sd-loading-container.js +1 -1
  190. package/dist/components/sd-loading-modal.js +1 -1
  191. package/dist/components/sd-modal-container.js +1 -1
  192. package/dist/components/sd-number-input.js +1 -1
  193. package/dist/components/sd-pagination.js +1 -1
  194. package/dist/components/sd-popover.js +1 -1
  195. package/dist/components/sd-popup.js +1 -1
  196. package/dist/components/sd-portal.js +1 -1
  197. package/dist/components/sd-radio-button.js +1 -1
  198. package/dist/components/sd-radio-group.js +1 -1
  199. package/dist/components/sd-radio.js +1 -1
  200. package/dist/components/sd-select-list-item-search.js +1 -1
  201. package/dist/components/sd-select-list-item.js +1 -1
  202. package/dist/components/sd-select-listbox.js +1 -1
  203. package/dist/components/sd-select-trigger.js +1 -1
  204. package/dist/components/sd-select.js +1 -1
  205. package/dist/components/sd-switch.js +1 -1
  206. package/dist/components/sd-table.js +1 -1
  207. package/dist/components/sd-tabs.js +1 -1
  208. package/dist/components/sd-tag.js +1 -1
  209. package/dist/components/sd-tbody.js +1 -1
  210. package/dist/components/sd-td.js +1 -1
  211. package/dist/components/sd-text-link.js +1 -1
  212. package/dist/components/sd-textarea.js +1 -1
  213. package/dist/components/sd-thead.js +1 -1
  214. package/dist/components/sd-toast-container.js +1 -1
  215. package/dist/components/sd-toast.js +1 -1
  216. package/dist/components/sd-toggle.js +1 -1
  217. package/dist/components/sd-tooltip.js +1 -1
  218. package/dist/components/sd-tr.js +1 -1
  219. package/dist/design-system/design-system.css +1 -1
  220. package/dist/design-system/design-system.esm.js +1 -1
  221. package/dist/design-system/{p-e81cb8c9.entry.js → p-0ac4d17b.entry.js} +1 -1
  222. package/dist/design-system/p-12c1ddfc.entry.js +1 -0
  223. package/dist/design-system/{p-5d5d8220.entry.js → p-15518cf5.entry.js} +1 -1
  224. package/dist/design-system/{p-07b0d118.entry.js → p-20ebfd9e.entry.js} +1 -1
  225. package/dist/design-system/{p-ff33d019.entry.js → p-24cb3aef.entry.js} +1 -1
  226. package/dist/design-system/{p-ea586c5e.entry.js → p-27f61c1f.entry.js} +1 -1
  227. package/dist/design-system/{p-db826b91.entry.js → p-2ef3cd00.entry.js} +1 -1
  228. package/dist/design-system/p-2f53e2f9.entry.js +1 -0
  229. package/dist/design-system/{p-78b0b759.entry.js → p-36b8f224.entry.js} +1 -1
  230. package/dist/design-system/{p-eb18d812.entry.js → p-3bd59260.entry.js} +1 -1
  231. package/dist/design-system/p-4fd59127.entry.js +1 -0
  232. package/dist/design-system/p-5b2dd552.entry.js +1 -0
  233. package/dist/design-system/{p-0de5a53b.entry.js → p-5deefcbc.entry.js} +1 -1
  234. package/dist/design-system/{p-a5930cbd.entry.js → p-6ebd85ae.entry.js} +1 -1
  235. package/dist/design-system/{p-f14962bd.entry.js → p-7440fbe7.entry.js} +1 -1
  236. package/dist/design-system/p-798c0f9b.entry.js +1 -0
  237. package/dist/design-system/{p-cce38339.entry.js → p-7b01d78b.entry.js} +1 -1
  238. package/dist/design-system/p-7ca9a6c9.entry.js +1 -0
  239. package/dist/design-system/p-90cc9785.entry.js +1 -0
  240. package/dist/design-system/p-9f899376.entry.js +1 -0
  241. package/dist/design-system/p-9ff473b2.entry.js +1 -0
  242. package/dist/design-system/p-BOJJ_sQS.js +1 -0
  243. package/dist/design-system/p-BpO2YWvq.js +2 -0
  244. package/dist/design-system/{p-BGtUaScP.js → p-BqWuC4-J.js} +1 -1
  245. package/dist/design-system/{p-LIf7YMBN.js → p-CcVraVK0.js} +1 -1
  246. package/dist/design-system/p-DDj5KTBF.js +1 -0
  247. package/dist/design-system/p-DjcjlPt7.js +1 -0
  248. package/dist/design-system/p-DtrsLG0Z.js +1 -0
  249. package/dist/design-system/p-a1f248ed.entry.js +1 -0
  250. package/dist/design-system/{p-9e75a5dc.entry.js → p-a4fff652.entry.js} +1 -1
  251. package/dist/design-system/{p-cffa6da7.entry.js → p-a9892cbe.entry.js} +1 -1
  252. package/dist/design-system/{p-1219699a.entry.js → p-acaaf137.entry.js} +1 -1
  253. package/dist/design-system/{p-18d3ae55.entry.js → p-b1d1f1d3.entry.js} +1 -1
  254. package/dist/design-system/{p-d8292621.entry.js → p-b456b9ac.entry.js} +1 -1
  255. package/dist/design-system/{p-1632a28d.entry.js → p-b495f26c.entry.js} +1 -1
  256. package/dist/design-system/p-b63c672a.entry.js +1 -0
  257. package/dist/design-system/{p-8528ba1e.entry.js → p-bbae006c.entry.js} +1 -1
  258. package/dist/design-system/p-bbb51afa.entry.js +1 -0
  259. package/dist/design-system/{p-8fc49d2d.entry.js → p-cad22f63.entry.js} +1 -1
  260. package/dist/design-system/p-d24F7UcR.js +1 -0
  261. package/dist/design-system/p-d40ffa84.entry.js +1 -0
  262. package/dist/design-system/{p-ByhWX2NK.js → p-e0ABNkP6.js} +1 -1
  263. package/dist/design-system/{p-aa28712a.entry.js → p-e4944ae6.entry.js} +1 -1
  264. package/dist/design-system/{p-2c0a8333.entry.js → p-e5f1156c.entry.js} +1 -1
  265. package/dist/design-system/p-f4597b6e.entry.js +1 -0
  266. package/dist/design-system/p-f462bc54.entry.js +1 -0
  267. package/dist/design-system/{p-4b43648c.entry.js → p-f5eb4e2f.entry.js} +1 -1
  268. package/dist/design-system/{p-e6bd8ab1.entry.js → p-f8b6b169.entry.js} +1 -1
  269. package/dist/design-system/{p-1aafbc7b.entry.js → p-fcd3961f.entry.js} +1 -1
  270. package/dist/design-system/{p-25fad267.entry.js → p-ff24fcb2.entry.js} +1 -1
  271. package/dist/design-system/p-laVsm9VM.js +1 -0
  272. package/dist/esm/{component.datepicker-BQn6le_Y.js → component.datepicker-laVsm9VM.js} +0 -1
  273. package/dist/esm/component.field-BOJJ_sQS.js +59 -0
  274. package/dist/esm/{component.textinput-ByhWX2NK.js → component.textinput-e0ABNkP6.js} +3 -2
  275. package/dist/esm/design-system.js +3 -3
  276. package/dist/esm/{index-DNWwGHho.js → index-BpO2YWvq.js} +1 -1
  277. package/dist/esm/loader.js +3 -3
  278. package/dist/esm/sd-action-modal.entry.js +1 -1
  279. package/dist/esm/sd-badge.entry.js +2 -2
  280. package/dist/esm/sd-barcode-input.entry.js +3 -3
  281. package/dist/esm/{sd-button.config-C7p6g_sM.js → sd-button.config-DjcjlPt7.js} +16 -4
  282. package/dist/esm/sd-button_2.entry.js +7 -6
  283. package/dist/esm/sd-calendar_2.entry.js +10 -9
  284. package/dist/esm/sd-callout.entry.js +2 -2
  285. package/dist/esm/sd-card.entry.js +2 -2
  286. package/dist/esm/sd-checkbox.entry.js +1 -1
  287. package/dist/esm/sd-chip-input.entry.js +272 -0
  288. package/dist/esm/sd-chip.config-DDj5KTBF.js +67 -0
  289. package/dist/esm/sd-chip.entry.js +10 -82
  290. package/dist/esm/sd-circle-progress.entry.js +2 -2
  291. package/dist/esm/sd-confirm-modal_2.entry.js +4 -4
  292. package/dist/esm/sd-date-box.entry.js +1 -1
  293. package/dist/esm/{sd-date-picker.config-CGEE3DkI.js → sd-date-picker.config-6dvDZPGx.js} +6 -2
  294. package/dist/esm/sd-date-picker_7.entry.js +34 -48
  295. package/dist/esm/sd-date-range-picker-calendar.entry.js +4 -4
  296. package/dist/esm/sd-divider.entry.js +2 -2
  297. package/dist/esm/sd-dropdown-button.entry.js +10 -6
  298. package/dist/esm/sd-field_3.entry.js +12 -53
  299. package/dist/esm/sd-form.entry.js +1 -1
  300. package/dist/esm/sd-ghost-button_2.entry.js +404 -0
  301. package/dist/esm/sd-guide.entry.js +1 -1
  302. package/dist/esm/sd-key-value-table.entry.js +1 -1
  303. package/dist/esm/sd-linear-progress.entry.js +2 -2
  304. package/dist/esm/sd-loading-container.entry.js +3 -3
  305. package/dist/esm/sd-modal-container.entry.js +1 -1
  306. package/dist/esm/sd-pagination_4.entry.js +9 -9
  307. package/dist/esm/sd-popover.entry.js +8 -7
  308. package/dist/esm/sd-popup.entry.js +2 -2
  309. package/dist/esm/sd-portal.entry.js +2 -2
  310. package/dist/esm/sd-radio-button.entry.js +1 -1
  311. package/dist/esm/sd-radio.entry.js +1 -1
  312. package/dist/esm/sd-select-list-item_2.entry.js +9 -8
  313. package/dist/esm/{sd-select.config-CxOCk_ge.js → sd-select.config-DtrsLG0Z.js} +23 -14
  314. package/dist/esm/sd-select_3.entry.js +16 -13
  315. package/dist/esm/sd-switch.entry.js +2 -2
  316. package/dist/esm/sd-table.entry.js +7 -7
  317. package/dist/esm/sd-tabs.entry.js +6 -3
  318. package/dist/esm/sd-td.entry.js +2 -2
  319. package/dist/esm/sd-text-link.entry.js +20 -20
  320. package/dist/esm/sd-toast-container.entry.js +2 -2
  321. package/dist/esm/sd-toast.entry.js +3 -3
  322. package/dist/esm/sd-toggle.entry.js +2 -2
  323. package/dist/esm/{tooltipArrow-Cj3AqWK0.js → tooltipArrow-DrrY_fPj.js} +1 -1
  324. package/dist/esm/{useDatePicker-D5RmWGOp.js → useDatePicker-DoUg--aq.js} +1 -1
  325. package/dist/types/components/sd-barcode-input/sd-barcode-input.config.d.ts +0 -2
  326. package/dist/types/components/sd-button/sd-button.config.d.ts +10 -2
  327. package/dist/types/components/sd-chip/sd-chip.config.d.ts +0 -1
  328. package/dist/types/components/sd-chip-input/sd-chip-input.config.d.ts +34 -0
  329. package/dist/types/components/sd-chip-input/sd-chip-input.d.ts +53 -0
  330. package/dist/types/components/sd-date-picker/sd-date-picker.config.d.ts +1 -1
  331. package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +9 -1
  332. package/dist/types/components/sd-ghost-button/sd-ghost-button.d.ts +1 -0
  333. package/dist/types/components/sd-input/sd-input.config.d.ts +0 -2
  334. package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +2 -2
  335. package/dist/types/components/sd-popover/sd-popover.d.ts +1 -1
  336. package/dist/types/components/sd-select/sd-select.config.d.ts +2 -0
  337. package/dist/types/components/sd-tabs/sd-tabs.d.ts +1 -0
  338. package/dist/types/components/sd-text-link/sd-text-link.d.ts +1 -1
  339. package/dist/types/components/sd-textarea/sd-textarea.config.d.ts +0 -2
  340. package/dist/types/components.d.ts +217 -7
  341. package/hydrate/index.js +591 -251
  342. package/hydrate/index.mjs +591 -251
  343. package/package.json +1 -1
  344. package/dist/cjs/sd-ghost-button.cjs.entry.js +0 -179
  345. package/dist/cjs/sd-tag.cjs.entry.js +0 -227
  346. package/dist/components/p-2z2c2umH.js +0 -1
  347. package/dist/components/p-B6G64i5a.js +0 -1
  348. package/dist/components/p-B6JOxZKP.js +0 -1
  349. package/dist/components/p-B6L3bPm2.js +0 -1
  350. package/dist/components/p-BQn6le_Y.js +0 -1
  351. package/dist/components/p-Bhh7ig9Q.js +0 -1
  352. package/dist/components/p-C4uWhzoG.js +0 -1
  353. package/dist/components/p-C8c6MuKQ.js +0 -1
  354. package/dist/components/p-CkR5oiLy.js +0 -1
  355. package/dist/components/p-CvfW21oo.js +0 -1
  356. package/dist/components/p-D7g33VZR.js +0 -1
  357. package/dist/components/p-DISZkQqT.js +0 -1
  358. package/dist/components/p-DMrXwfmf.js +0 -1
  359. package/dist/components/p-DP0Dp12H.js +0 -1
  360. package/dist/components/p-DhtKHJ7-.js +0 -1
  361. package/dist/components/p-DmDGMDzt.js +0 -1
  362. package/dist/components/p-DoREs-rv.js +0 -1
  363. package/dist/components/p-I9SoAcVO.js +0 -1
  364. package/dist/components/p-cX2DD74L.js +0 -1
  365. package/dist/components/p-f10Mw7qM.js +0 -1
  366. package/dist/components/p-pwNG5WaX.js +0 -1
  367. package/dist/design-system/p-18057222.entry.js +0 -1
  368. package/dist/design-system/p-25204798.entry.js +0 -1
  369. package/dist/design-system/p-3e2b5e01.entry.js +0 -1
  370. package/dist/design-system/p-46faa7ed.entry.js +0 -1
  371. package/dist/design-system/p-4c3ead1b.entry.js +0 -1
  372. package/dist/design-system/p-5c4fd9c1.entry.js +0 -1
  373. package/dist/design-system/p-60b80bf3.entry.js +0 -1
  374. package/dist/design-system/p-74b3e95b.entry.js +0 -1
  375. package/dist/design-system/p-8674d868.entry.js +0 -1
  376. package/dist/design-system/p-95bbba4f.entry.js +0 -1
  377. package/dist/design-system/p-9d34518e.entry.js +0 -1
  378. package/dist/design-system/p-BQn6le_Y.js +0 -1
  379. package/dist/design-system/p-C7p6g_sM.js +0 -1
  380. package/dist/design-system/p-CxOCk_ge.js +0 -1
  381. package/dist/design-system/p-DNWwGHho.js +0 -2
  382. package/dist/design-system/p-TF8_Lyhq.js +0 -1
  383. package/dist/design-system/p-c1bac61e.entry.js +0 -1
  384. package/dist/design-system/p-cf685d90.entry.js +0 -1
  385. package/dist/design-system/p-deec1ef0.entry.js +0 -1
  386. package/dist/design-system/p-f3dff8b8.entry.js +0 -1
  387. package/dist/esm/sd-ghost-button.entry.js +0 -177
  388. package/dist/esm/sd-tag.entry.js +0 -225
@@ -0,0 +1,274 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-C63F8C0_.js');
4
+ var index$1 = require('./index-BUvXpPc3.js');
5
+ var sdChip_config = require('./sd-chip.config-DiLoRpct.js');
6
+
7
+ const chipInput = {
8
+ sm: {
9
+ minHeight: "36",
10
+ paddingX: "12",
11
+ paddingY: "6",
12
+ radius: "4",
13
+ typography: {
14
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
15
+ fontWeight: "400",
16
+ fontSize: "12",
17
+ lineHeight: "20"}
18
+ },
19
+ md: {
20
+ minHeight: "40",
21
+ paddingX: "16",
22
+ paddingY: "8",
23
+ radius: "6",
24
+ typography: {
25
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
26
+ fontWeight: "400",
27
+ fontSize: "14",
28
+ lineHeight: "24"
29
+ }
30
+ },
31
+ chip: {
32
+ gap: "8"
33
+ },
34
+ text: {
35
+ placeholder: "#AAAAAA"
36
+ }
37
+ };
38
+ var chipInputTokens = {
39
+ chipInput: chipInput
40
+ };
41
+
42
+ const sm = chipInputTokens.chipInput.sm;
43
+ const md = chipInputTokens.chipInput.md;
44
+ const CHIP_INPUT_SIZE_MAP = {
45
+ sm: {
46
+ minHeight: sm.minHeight,
47
+ paddingX: sm.paddingX,
48
+ paddingY: sm.paddingY,
49
+ radius: sm.radius,
50
+ fontSize: sm.typography.fontSize,
51
+ lineHeight: sm.typography.lineHeight,
52
+ fontWeight: sm.typography.fontWeight,
53
+ fontFamily: sm.typography.fontFamily,
54
+ },
55
+ md: {
56
+ minHeight: md.minHeight,
57
+ paddingX: md.paddingX,
58
+ paddingY: md.paddingY,
59
+ radius: md.radius,
60
+ fontSize: md.typography.fontSize,
61
+ lineHeight: md.typography.lineHeight,
62
+ fontWeight: md.typography.fontWeight,
63
+ fontFamily: md.typography.fontFamily,
64
+ },
65
+ };
66
+ const CHIP_INPUT_COLORS = {
67
+ text: {
68
+ placeholder: chipInputTokens.chipInput.text.placeholder,
69
+ },
70
+ };
71
+ const CHIP_INPUT_LAYOUT = {
72
+ chipGap: `${chipInputTokens.chipInput.chip.gap}px`,
73
+ };
74
+ const CHIP_INPUT_RESET = {
75
+ dividerColor: '#E1E1E1', // TODO: 토큰 반영 후 교체
76
+ iconColor: '#888888', // TODO: 토큰 반영 후 교체 (grey_65)
77
+ labelColor: '#555555', // TODO: 토큰 반영 후 교체 (grey_70)
78
+ };
79
+
80
+ const sdChipInputCss = () => `sd-chip-input{display:inline-flex}sd-chip-input .sd-chip-input{position:relative;width:100%;min-height:var(--sd-chip-input-min-height);display:flex;flex-flow:row wrap;align-items:center;gap:var(--sd-chip-input-chip-gap);padding:var(--sd-chip-input-padding-y) var(--sd-chip-input-padding-x);cursor:text}sd-chip-input .sd-chip-input__reset{display:inline-flex;align-items:center;gap:var(--sd-chip-input-reset-gap);flex-shrink:0}sd-chip-input .sd-chip-input__divider{display:inline-block;width:1px;height:12px;background-color:var(--sd-chip-input-divider-color);flex-shrink:0}sd-chip-input .sd-chip-input__field{flex:0 0 auto;display:inline-grid;grid-template-columns:minmax(0, max-content);align-items:center;min-width:1ch;max-width:100%;height:var(--sd-chip-input-field-height);box-sizing:border-box;padding:0;border:none;border-radius:0;background:transparent;overflow:hidden}sd-chip-input .sd-chip-input__field::after{content:attr(data-value);grid-area:1/1;visibility:hidden;white-space:pre;font-size:var(--sd-chip-input-field-font-size);line-height:var(--sd-chip-input-field-line-height);font-weight:var(--sd-chip-input-field-font-weight);font-family:var(--sd-chip-input-field-font-family)}sd-chip-input .sd-chip-input__field--filled{padding:0 var(--sd-chip-input-field-padding-x);border:var(--sd-chip-input-field-border-width) solid var(--sd-chip-input-field-border-color);border-radius:var(--sd-chip-input-field-radius);background:var(--sd-chip-input-field-bg)}sd-chip-input .sd-chip-input__field--empty{position:absolute;top:0;left:0;width:0;height:0;min-width:0;overflow:hidden}sd-chip-input .sd-chip-input__input{grid-area:1/1;width:100%;min-width:1ch;height:var(--sd-chip-input-field-height);margin:0;padding:0;border:none;outline:none;overflow:hidden;text-overflow:ellipsis;background:transparent;font-size:var(--sd-chip-input-field-font-size);line-height:var(--sd-chip-input-field-line-height);font-weight:var(--sd-chip-input-field-font-weight);font-family:var(--sd-chip-input-field-font-family);color:var(--sd-chip-input-field-content)}sd-chip-input .sd-chip-input__input[disabled]{cursor:not-allowed;pointer-events:none}sd-chip-input .sd-chip-input__input::placeholder{color:var(--sd-chip-input-placeholder-color)}`;
81
+
82
+ const SdChipInput = class {
83
+ constructor(hostRef) {
84
+ index.registerInstance(this, hostRef);
85
+ this.update = index.createEvent(this, "sdUpdate", 7);
86
+ this.focusEvent = index.createEvent(this, "sdFocus", 7);
87
+ this.blurEvent = index.createEvent(this, "sdBlur", 7);
88
+ }
89
+ get host() { return index.getElement(this); }
90
+ values = [];
91
+ errors = [];
92
+ size = 'sm';
93
+ disabled = false;
94
+ placeholder = '입력해 주세요.';
95
+ name = index$1.nanoid();
96
+ rules = [];
97
+ error = false;
98
+ useReset = false;
99
+ // sd-field props
100
+ label = '';
101
+ labelWidth = '';
102
+ hint = '';
103
+ errorMessage = '';
104
+ width = '';
105
+ status;
106
+ icon = undefined;
107
+ labelTooltip = '';
108
+ labelTooltipProps = null;
109
+ internalValues = [];
110
+ internalErrors = [];
111
+ focused = false;
112
+ hovered = false;
113
+ inputValue = '';
114
+ inputEl;
115
+ formField;
116
+ get value() {
117
+ return this.internalValues;
118
+ }
119
+ valuesChanged(newValues) {
120
+ this.internalValues = [...(newValues ?? [])];
121
+ }
122
+ errorsChanged(newErrors) {
123
+ if (Array.isArray(newErrors)) {
124
+ this.internalErrors = [...newErrors];
125
+ }
126
+ }
127
+ componentWillLoad() {
128
+ this.internalValues = [...(this.values ?? [])];
129
+ if (Array.isArray(this.errors)) {
130
+ this.internalErrors = [...this.errors];
131
+ }
132
+ }
133
+ getChipError(index) {
134
+ if (typeof this.errors === 'function') {
135
+ return this.errors(this.internalValues[index] ?? '');
136
+ }
137
+ return this.internalErrors[index] ?? false;
138
+ }
139
+ update;
140
+ focusEvent;
141
+ blurEvent;
142
+ async sdValidate() {
143
+ return this.formField?.sdValidate();
144
+ }
145
+ async sdReset() {
146
+ return this.formField?.sdReset();
147
+ }
148
+ async sdResetValidate() {
149
+ return this.formField?.sdResetValidation();
150
+ }
151
+ async sdFocus() {
152
+ return this.formField?.sdFocus();
153
+ }
154
+ handleChipUpdate = (index, newValue) => {
155
+ if (newValue.trim() === '') {
156
+ this.handleChipRemove(index);
157
+ return;
158
+ }
159
+ const next = [...this.internalValues];
160
+ next[index] = newValue;
161
+ this.internalValues = next;
162
+ this.values = next;
163
+ this.update.emit(next);
164
+ };
165
+ handleChipRemove = (index) => {
166
+ const next = this.internalValues.filter((_, i) => i !== index);
167
+ this.internalValues = next;
168
+ this.values = next;
169
+ if (Array.isArray(this.errors)) {
170
+ const nextErrors = this.internalErrors.filter((_, i) => i !== index);
171
+ this.internalErrors = nextErrors;
172
+ this.errors = nextErrors;
173
+ }
174
+ this.update.emit(next);
175
+ this.inputEl?.focus();
176
+ };
177
+ handleKeyDown = (event) => {
178
+ const input = event.target;
179
+ if (event.key === 'Enter' && !event.isComposing && input.value.trim() !== '') {
180
+ event.preventDefault();
181
+ const next = [...this.internalValues, input.value.trim()];
182
+ this.internalValues = next;
183
+ this.values = next;
184
+ input.value = '';
185
+ this.inputValue = '';
186
+ this.update.emit(next);
187
+ }
188
+ else if (event.key === 'Backspace' && input.value === '' && this.internalValues.length > 0) {
189
+ event.preventDefault();
190
+ const next = this.internalValues.slice(0, -1);
191
+ const nextErrors = this.internalErrors.slice(0, -1);
192
+ this.internalValues = next;
193
+ this.internalErrors = nextErrors;
194
+ this.values = next;
195
+ this.errors = nextErrors;
196
+ this.update.emit(next);
197
+ }
198
+ };
199
+ handleInput = (event) => {
200
+ this.inputValue = event.target.value;
201
+ };
202
+ handleFocus = () => {
203
+ this.focused = true;
204
+ this.focusEvent.emit();
205
+ };
206
+ handleBlur = () => {
207
+ this.focused = false;
208
+ this.blurEvent.emit();
209
+ };
210
+ handleContainerClick = () => {
211
+ if (!this.disabled) {
212
+ this.inputEl?.focus();
213
+ }
214
+ };
215
+ handleResetInput = () => {
216
+ this.internalValues = [];
217
+ this.internalErrors = [];
218
+ this.values = [];
219
+ if (Array.isArray(this.errors)) {
220
+ this.errors = [];
221
+ }
222
+ this.update.emit([]);
223
+ this.inputEl?.focus();
224
+ };
225
+ render() {
226
+ const sizeTokens = CHIP_INPUT_SIZE_MAP[this.size] ?? CHIP_INPUT_SIZE_MAP.sm;
227
+ const cssVars = {
228
+ [`--sd-system-size-field-${this.size}-height`]: 'auto',
229
+ [`--sd-system-radius-field-${this.size}`]: `${sizeTokens.radius}px`,
230
+ '--sd-chip-input-min-height': `${sizeTokens.minHeight}px`,
231
+ '--sd-chip-input-padding-x': `${sizeTokens.paddingX}px`,
232
+ '--sd-chip-input-padding-y': `${sizeTokens.paddingY}px`,
233
+ '--sd-chip-input-font-size': `${sizeTokens.fontSize}px`,
234
+ '--sd-chip-input-line-height': `${sizeTokens.lineHeight}px`,
235
+ '--sd-chip-input-font-weight': sizeTokens.fontWeight,
236
+ '--sd-chip-input-font-family': sizeTokens.fontFamily,
237
+ '--sd-chip-input-chip-gap': CHIP_INPUT_LAYOUT.chipGap,
238
+ '--sd-chip-input-placeholder-color': CHIP_INPUT_COLORS.text.placeholder,
239
+ '--sd-chip-input-reset-gap': CHIP_INPUT_LAYOUT.chipGap,
240
+ '--sd-chip-input-divider-color': CHIP_INPUT_RESET.dividerColor,
241
+ '--sd-chip-input-field-height': sdChip_config.CHIP_LAYOUT.height,
242
+ '--sd-chip-input-field-padding-x': sdChip_config.CHIP_LAYOUT.paddingX,
243
+ '--sd-chip-input-field-radius': sdChip_config.CHIP_LAYOUT.radius,
244
+ '--sd-chip-input-field-border-width': sdChip_config.CHIP_LAYOUT.borderWidth,
245
+ '--sd-chip-input-field-bg': sdChip_config.CHIP_COLORS.bg.default,
246
+ '--sd-chip-input-field-border-color': 'transparent',
247
+ '--sd-chip-input-field-content': sdChip_config.CHIP_COLORS.content.focus,
248
+ '--sd-chip-input-field-font-size': sdChip_config.CHIP_TYPOGRAPHY.focus.fontSize,
249
+ '--sd-chip-input-field-font-weight': sdChip_config.CHIP_TYPOGRAPHY.focus.fontWeight,
250
+ '--sd-chip-input-field-line-height': sdChip_config.CHIP_TYPOGRAPHY.focus.lineHeight,
251
+ '--sd-chip-input-field-font-family': sdChip_config.CHIP_TYPOGRAPHY.focus.fontFamily,
252
+ };
253
+ return (index.h("sd-field", { key: 'cfff85a1732e23052fb2c736512f48f5653c4e1a', name: this.name, label: this.label, labelWidth: this.labelWidth, hint: this.hint, errorMessage: this.errorMessage, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, status: this.status, size: this.size, width: this.width, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), style: cssVars, onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, index.h("div", { key: '872d73f015e8aa79a9afcf1592372b3ba3bbb9a5', class: "sd-chip-input", onClick: this.handleContainerClick }, this.internalValues.map((value, i) => (index.h("sd-chip", { key: i, value: value, error: this.getChipError(i), disabled: this.disabled, onSdUpdate: (e) => this.handleChipUpdate(i, e.detail), onSdRemove: () => this.handleChipRemove(i), onSdFocus: () => {
254
+ this.focused = true;
255
+ }, onSdBlur: () => {
256
+ this.focused = false;
257
+ } }))), index.h("div", { key: '33746a3ce014b5d28329c193d93d8bf1fc4957a6', class: {
258
+ 'sd-chip-input__field': true,
259
+ 'sd-chip-input__field--filled': this.inputValue !== '',
260
+ 'sd-chip-input__field--empty': this.inputValue === '' && this.internalValues.length > 0 && !this.focused,
261
+ }, "data-value": this.inputValue !== '' ? this.inputValue : this.internalValues.length === 0 ? this.placeholder : '' }, index.h("input", { key: '74b1e76b3123c371fffe344d922ff42801f028e7', ref: el => (this.inputEl = el), class: "sd-chip-input__input", placeholder: this.internalValues.length === 0 ? this.placeholder : '', disabled: this.disabled, size: 1, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur })), this.useReset && this.internalValues.length > 0 && (index.h("div", { key: '3343b3d3fed05856739675d802115f7e5b2ea110', class: "sd-chip-input__reset" }, this.inputValue === '' && index.h("span", { key: 'c0398e9c476309964c132b3647dd95cd2a65d948', class: "sd-chip-input__divider" }), index.h("sd-text-link", { key: 'e00af312380d40e8b6a3c9a463cea796146632a1', icon: "reset", iconColor: CHIP_INPUT_RESET.iconColor, label: "\uC785\uB825 \uCD08\uAE30\uD654", underline: true, disabled: this.disabled, style: { '--sd-text-link-color': CHIP_INPUT_RESET.labelColor }, onSdClick: this.handleResetInput }))))));
262
+ }
263
+ static get watchers() { return {
264
+ "values": [{
265
+ "valuesChanged": 0
266
+ }],
267
+ "errors": [{
268
+ "errorsChanged": 0
269
+ }]
270
+ }; }
271
+ };
272
+ SdChipInput.style = sdChipInputCss();
273
+
274
+ exports.sd_chip_input = SdChipInput;
@@ -1,83 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BGwB03Tk.js');
3
+ var index = require('./index-C63F8C0_.js');
4
+ var sdChip_config = require('./sd-chip.config-DiLoRpct.js');
4
5
 
5
- const chip = {
6
- height: "24",
7
- paddingX: "8",
8
- gap: "4",
9
- radius: "9999",
10
- typography: {
11
- "default": {
12
- fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
13
- fontSize: "12",
14
- fontWeight: "500",
15
- lineHeight: "20"
16
- },
17
- focus: {
18
- fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
19
- fontSize: "12",
20
- fontWeight: "400",
21
- lineHeight: "20"
22
- }
23
- },
24
- bg: {
25
- "default": "#F6F6F6",
26
- error: "#FCEFEF",
27
- focus: "#FFFFFF"
28
- },
29
- content: {
30
- "default": "#888888",
31
- error: "#E30000",
32
- focus: "#555555"
33
- },
34
- border: {
35
- focus: "#E1E1E1",
36
- width: "1"
37
- }
38
- };
39
- var chipTokens = {
40
- chip: chip
41
- };
42
-
43
- const CHIP_LAYOUT = {
44
- height: `${chipTokens.chip.height}px`,
45
- paddingX: `${chipTokens.chip.paddingX}px`,
46
- gap: `${chipTokens.chip.gap}px`,
47
- radius: `${chipTokens.chip.radius}px`,
48
- borderWidth: `${chipTokens.chip.border.width}px`,
49
- };
50
- const CHIP_COLORS = {
51
- bg: {
52
- default: chipTokens.chip.bg.default,
53
- error: chipTokens.chip.bg.error,
54
- focus: chipTokens.chip.bg.focus,
55
- },
56
- content: {
57
- default: chipTokens.chip.content.default,
58
- error: chipTokens.chip.content.error,
59
- focus: chipTokens.chip.content.focus,
60
- },
61
- border: {
62
- focus: chipTokens.chip.border.focus,
63
- },
64
- };
65
- const CHIP_TYPOGRAPHY = {
66
- default: {
67
- fontFamily: chipTokens.chip.typography.default.fontFamily,
68
- fontSize: `${chipTokens.chip.typography.default.fontSize}px`,
69
- fontWeight: chipTokens.chip.typography.default.fontWeight,
70
- lineHeight: `${chipTokens.chip.typography.default.lineHeight}px`,
71
- },
72
- focus: {
73
- fontFamily: chipTokens.chip.typography.focus.fontFamily,
74
- fontSize: `${chipTokens.chip.typography.focus.fontSize}px`,
75
- fontWeight: chipTokens.chip.typography.focus.fontWeight,
76
- lineHeight: `${chipTokens.chip.typography.focus.lineHeight}px`,
77
- },
78
- };
79
-
80
- const sdChipCss = () => `sd-chip{display:inline-flex;width:fit-content;height:fit-content}sd-chip .sd-chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-chip-gap);height:var(--sd-chip-height);padding:0 var(--sd-chip-padding-x);border-radius:var(--sd-chip-radius);background:var(--sd-chip-bg);color:var(--sd-chip-content);border:var(--sd-chip-border-width) solid var(--sd-chip-border-color);font-family:var(--sd-chip-font-family);font-size:var(--sd-chip-font-size);font-weight:var(--sd-chip-font-weight);line-height:var(--sd-chip-line-height);box-sizing:border-box;white-space:nowrap;-webkit-user-select:none;user-select:none}sd-chip .sd-chip--editable:not(.sd-chip--focus){cursor:text}sd-chip .sd-chip--disabled{cursor:not-allowed;opacity:0.6}sd-chip .sd-chip__label{display:inline-flex;align-items:center;min-width:0}sd-chip .sd-chip__input{display:inline-block;min-width:1ch;outline:none;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:text}sd-chip .sd-chip__input:empty::before{content:attr(data-placeholder);color:inherit;opacity:0.6;pointer-events:none}sd-chip .sd-chip__remove{flex-shrink:0}`;
6
+ const sdChipCss = () => `sd-chip{display:inline-flex;width:fit-content;max-width:100%;height:fit-content}sd-chip .sd-chip{display:inline-flex;align-items:center;justify-content:center;gap:var(--sd-chip-gap);max-width:100%;height:var(--sd-chip-height);padding:0 var(--sd-chip-padding-x);border-radius:var(--sd-chip-radius);background:var(--sd-chip-bg);color:var(--sd-chip-content);border:var(--sd-chip-border-width) solid var(--sd-chip-border-color);font-family:var(--sd-chip-font-family);font-size:var(--sd-chip-font-size);font-weight:var(--sd-chip-font-weight);line-height:var(--sd-chip-line-height);box-sizing:border-box;white-space:nowrap;overflow:hidden;-webkit-user-select:none;user-select:none}sd-chip .sd-chip--editable:not(.sd-chip--focus){cursor:text}sd-chip .sd-chip--disabled{cursor:not-allowed;opacity:0.6}sd-chip .sd-chip__label{display:inline-flex;align-items:center;min-width:0;overflow:hidden;text-overflow:ellipsis}sd-chip .sd-chip__input{display:inline-block;min-width:1ch;outline:none;background:transparent;color:inherit;font:inherit;white-space:nowrap;cursor:text}sd-chip .sd-chip__input:empty::before{content:attr(data-placeholder);color:inherit;opacity:0.6;pointer-events:none}sd-chip .sd-chip__remove{flex-shrink:0}`;
81
7
 
82
8
  const SdChip = class {
83
9
  constructor(hostRef) {
@@ -212,10 +138,12 @@ const SdChip = class {
212
138
  handleInputKeyDown = (event) => {
213
139
  if (event.key === 'Enter') {
214
140
  event.preventDefault();
141
+ event.stopPropagation();
215
142
  this.commitEdit();
216
143
  }
217
144
  else if (event.key === 'Escape') {
218
145
  event.preventDefault();
146
+ event.stopPropagation();
219
147
  this.cancelEdit();
220
148
  }
221
149
  };
@@ -276,22 +204,22 @@ const SdChip = class {
276
204
  }
277
205
  render() {
278
206
  const state = this.resolveState();
279
- const typography = state === 'focus' ? CHIP_TYPOGRAPHY.focus : CHIP_TYPOGRAPHY.default;
207
+ const typography = sdChip_config.CHIP_TYPOGRAPHY.default;
280
208
  const cssVars = {
281
- '--sd-chip-height': CHIP_LAYOUT.height,
282
- '--sd-chip-padding-x': CHIP_LAYOUT.paddingX,
283
- '--sd-chip-gap': CHIP_LAYOUT.gap,
284
- '--sd-chip-radius': CHIP_LAYOUT.radius,
285
- '--sd-chip-border-width': CHIP_LAYOUT.borderWidth,
286
- '--sd-chip-bg': CHIP_COLORS.bg[state],
287
- '--sd-chip-content': CHIP_COLORS.content[state],
288
- '--sd-chip-border-color': state === 'focus' ? CHIP_COLORS.border.focus : 'transparent',
209
+ '--sd-chip-height': sdChip_config.CHIP_LAYOUT.height,
210
+ '--sd-chip-padding-x': sdChip_config.CHIP_LAYOUT.paddingX,
211
+ '--sd-chip-gap': sdChip_config.CHIP_LAYOUT.gap,
212
+ '--sd-chip-radius': sdChip_config.CHIP_LAYOUT.radius,
213
+ '--sd-chip-border-width': sdChip_config.CHIP_LAYOUT.borderWidth,
214
+ '--sd-chip-bg': state === 'error' ? sdChip_config.CHIP_COLORS.bg.error : sdChip_config.CHIP_COLORS.bg.default,
215
+ '--sd-chip-content': state === 'error' ? sdChip_config.CHIP_COLORS.content.error : sdChip_config.CHIP_COLORS.content.default,
216
+ '--sd-chip-border-color': 'transparent',
289
217
  '--sd-chip-font-family': typography.fontFamily,
290
218
  '--sd-chip-font-size': typography.fontSize,
291
219
  '--sd-chip-font-weight': typography.fontWeight,
292
220
  '--sd-chip-line-height': typography.lineHeight,
293
221
  };
294
- return (index.h("span", { key: '6503611c9cb03be2de4fc09398e2ce1b34b8ab10', class: {
222
+ return (index.h("span", { key: 'e1c1386f3143f4830256784853c1d931706a6beb', class: {
295
223
  'sd-chip': true,
296
224
  [`sd-chip--${state}`]: true,
297
225
  'sd-chip--disabled': this.disabled,
@@ -0,0 +1,71 @@
1
+ 'use strict';
2
+
3
+ const chip = {
4
+ height: "24",
5
+ paddingX: "8",
6
+ gap: "4",
7
+ radius: "9999",
8
+ typography: {
9
+ "default": {
10
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
11
+ fontSize: "12",
12
+ fontWeight: "500",
13
+ lineHeight: "20"
14
+ },
15
+ focus: {
16
+ fontFamily: "Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Segoe UI, Apple SD Gothic Neo, Noto Sans KR, Malgun Gothic, Apple Color Emoji, Segoe UI Emoji, sans-serif",
17
+ fontSize: "12",
18
+ fontWeight: "400",
19
+ lineHeight: "20"
20
+ }
21
+ },
22
+ bg: {
23
+ "default": "#F6F6F6",
24
+ error: "#FCEFEF"},
25
+ content: {
26
+ "default": "#555555",
27
+ error: "#E30000",
28
+ focus: "#222222"},
29
+ border: {
30
+ width: "1"
31
+ }
32
+ };
33
+ var chipTokens = {
34
+ chip: chip
35
+ };
36
+
37
+ const CHIP_LAYOUT = {
38
+ height: `${chipTokens.chip.height}px`,
39
+ paddingX: `${chipTokens.chip.paddingX}px`,
40
+ gap: `${chipTokens.chip.gap}px`,
41
+ radius: `${chipTokens.chip.radius}px`,
42
+ borderWidth: `${chipTokens.chip.border.width}px`,
43
+ };
44
+ const CHIP_COLORS = {
45
+ bg: {
46
+ default: chipTokens.chip.bg.default,
47
+ error: chipTokens.chip.bg.error,
48
+ },
49
+ content: {
50
+ default: chipTokens.chip.content.default,
51
+ error: chipTokens.chip.content.error,
52
+ focus: chipTokens.chip.content.focus,
53
+ }};
54
+ const CHIP_TYPOGRAPHY = {
55
+ default: {
56
+ fontFamily: chipTokens.chip.typography.default.fontFamily,
57
+ fontSize: `${chipTokens.chip.typography.default.fontSize}px`,
58
+ fontWeight: chipTokens.chip.typography.default.fontWeight,
59
+ lineHeight: `${chipTokens.chip.typography.default.lineHeight}px`,
60
+ },
61
+ focus: {
62
+ fontFamily: chipTokens.chip.typography.focus.fontFamily,
63
+ fontSize: `${chipTokens.chip.typography.focus.fontSize}px`,
64
+ fontWeight: chipTokens.chip.typography.focus.fontWeight,
65
+ lineHeight: `${chipTokens.chip.typography.focus.lineHeight}px`,
66
+ },
67
+ };
68
+
69
+ exports.CHIP_COLORS = CHIP_COLORS;
70
+ exports.CHIP_LAYOUT = CHIP_LAYOUT;
71
+ exports.CHIP_TYPOGRAPHY = CHIP_TYPOGRAPHY;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BGwB03Tk.js');
3
+ var index = require('./index-C63F8C0_.js');
4
4
  var component_progress = require('./component.progress-Bmg3vAAy.js');
5
5
  var system = require('./system-CdAyz3ej.js');
6
6
 
@@ -72,7 +72,7 @@ const SdCircleProgress = class {
72
72
  }
73
73
  const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
74
74
  const showPercent = !this.indeterminate;
75
- return (index.h(index.Host, { key: '9a4424e79b095c240b2dd53c8655b9a4cccaf581', style: hostStyle }, index.h("svg", { key: '37ca87d4c4aa6ab6b84a4301225d775f1998c0c1', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { key: '372f7031310dddba431323b0527c273311a498e3', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), index.h("circle", { key: 'def6ff7573e4c4a08648f35f7cb545d6b8064f6d', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (index.h("span", { key: '13d6345672fdafaf6a1e1eef9f5987179a99c3ae', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && index.h("span", { key: 'c42e2fa2826284017e530e967975e45277ae9ee3', class: "sd-circle-progress__label" }, this.label)));
75
+ return (index.h(index.Host, { key: '46d74c0edb5a5e8cd0472c83efc45a0efaf353b4', style: hostStyle }, index.h("svg", { key: '34117c89eb180370a215807e614ad08f4f72b517', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, index.h("circle", { key: '08ac6f011b6a4b6744ddcf437b1e0a5b96abfc6e', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), index.h("circle", { key: '5ae0a53ce10bd5a8b2f316ebd00d3ee28c4336d6', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (index.h("span", { key: 'fd52ee1947d41b2117c9ea6e4cc9a448799342e3', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && index.h("span", { key: 'a58776c4ef67eb900eba97ff4fed138c8f5e8452', class: "sd-circle-progress__label" }, this.label)));
76
76
  }
77
77
  };
78
78
  SdCircleProgress.style = sdCircleProgressCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BGwB03Tk.js');
3
+ var index = require('./index-C63F8C0_.js');
4
4
  var sanitizeInlineHtml = require('./sanitize-inline-html-CRCAeQ46.js');
5
5
  var component_modal = require('./component.modal-BFelrSMx.js');
6
6
 
@@ -102,9 +102,9 @@ const SdConfirmModal = class {
102
102
  const type = this.resolvedType;
103
103
  const iconName = CONFIRM_MODAL_ICON_MAP[type];
104
104
  const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
105
- return (index.h("div", { key: 'c41a58f13b95da7f1f0aea3620abf239dcb116b6', class: "sd-confirm-modal" }, index.h("sd-ghost-button", { key: 'bdc1bc374934c2f9745f567b4e6ffd55ec3675ce', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (index.h("sd-icon", { key: 'ff16ebde448157e657eb74e1b0c5f4a331cf396a', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), index.h("h2", { key: 'd718b2ae6f6e92f8c77ec821b78924ffbe267d12', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), index.h("div", { key: 'a3909abde84c4d6987c9036a705cba4aa7d01ea6', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (index.h("div", { key: '29a4bf80ab75d973544c0a29c87133c9ef8a5aab', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (index.h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml.sanitizeInlineHtml(msg) }))))), this.showContentBox && (index.h("div", { key: '93eb2c75728cf26969a229a876f9217b4e00c63a', class: "sd-confirm-modal__content-box" }, this.tagContents ? (index.h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
105
+ return (index.h("div", { key: '4d3ce0662b2d860a4ed6ae3c8177ae75dae4fb92', class: "sd-confirm-modal" }, index.h("sd-ghost-button", { key: '7c406d59c2470b610a187bf45aa5cd4ab5c6b26b', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (index.h("sd-icon", { key: '10e3d2c8a87a728df4e3f3be7dfab96475738e2b', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), index.h("h2", { key: '9cc844c8cefb2fd0dc96871b55fc1c7c6e41c526', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), index.h("div", { key: 'bbaa81a02c067d66c4cc19cf805b7a6939231311', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (index.h("div", { key: '31734f096eee6e6a9be770eafa43066c8e763608', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (index.h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml.sanitizeInlineHtml(msg) }))))), this.showContentBox && (index.h("div", { key: 'a10838fb7c7081fdaa85cdaa33f92ef30c00a888', class: "sd-confirm-modal__content-box" }, this.tagContents ? (index.h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
106
106
  this.customContentRef = el;
107
- } })) : (index.h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (index.h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (index.h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (index.h("div", { key: '730fd073ade9b8788de77d36fc4aeddd0b304c07', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (index.h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml.sanitizeInlineHtml(msg) })))))), index.h("div", { key: '059fd87fb39b8e2976fcb671c7dd78310324119f', class: "sd-confirm-modal__button" }, this.subButtonLabel && (index.h("sd-button", { key: '6b320645505c099783a4a6704e96e9261054c7dc', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), index.h("sd-button", { key: 'd6a4554a7db861ae7afc610a629591224946d990', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
107
+ } })) : (index.h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (index.h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (index.h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (index.h("div", { key: '540f3bb73aa61a1a2a041eba9a22a198c7772914', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (index.h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml.sanitizeInlineHtml(msg) })))))), index.h("div", { key: '1944aeb4d140c779d0af1304160a86c5056335a8', class: "sd-confirm-modal__button" }, this.subButtonLabel && (index.h("sd-button", { key: 'efd463686d98e9d2edc3e1cd7b4f54d8da4fef56', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), index.h("sd-button", { key: 'b9033fb98acf3de36b7fb3e1969ccf5a7becef39', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
108
108
  }
109
109
  };
110
110
  SdConfirmModal.style = sdConfirmModalCss();
@@ -188,7 +188,7 @@ const SdLoadingModal = class {
188
188
  '--sd-loading-modal-width': this.toCssSize(this.width) ?? `${LOADING_MODAL_LAYOUT.minWidth}px`,
189
189
  '--sd-loading-modal-height': this.toCssSize(this.height) ?? `${LOADING_MODAL_LAYOUT.minHeight}px`,
190
190
  };
191
- return (index.h(index.Host, { key: 'e1161a16a56cddedc8e4bb76370bdf456d90e15a', style: hostStyle }, index.h("div", { key: 'e01979e4636465afa4b960ffdb9722f645386dca', class: "sd-loading-modal" }, index.h("div", { key: '1c1ecc05d20f58084c0d6f8048b17cd84f446edb', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (index.h("sd-circle-progress", { value: this.progress })) : (index.h("sd-circle-progress", { indeterminate: true }))) : (index.h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), index.h("div", { key: '6793b86562b67699c59fd83fb0d6ee7378f6d991', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (index.h("p", { class: "sd-loading-modal__message" }, message)))) : (index.h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (index.h("div", { key: '75036f7d88be636987de2fe999c00d338fa352d5', class: "sd-loading-modal__button" }, index.h("sd-button", { key: '91f30470702df2be7256d451cc80d27e86510d2e', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
191
+ return (index.h(index.Host, { key: '17636253239532d90e596f20d84795fe2e65508d', style: hostStyle }, index.h("div", { key: '2f925afceca4102049d7876ab4d1e33fa1ef5ef7', class: "sd-loading-modal" }, index.h("div", { key: '0598cff340210ca9ec5e28fb1992cbbc1b8e5a06', class: "sd-loading-modal__content" }, this.resolvedState === 'loading' ? (this.progress !== undefined ? (index.h("sd-circle-progress", { value: this.progress })) : (index.h("sd-circle-progress", { indeterminate: true }))) : (index.h("sd-icon", { class: "sd-loading-modal__icon", name: "warningOutline", size: LOADING_MODAL_LAYOUT.contentSize, color: LOADING_MODAL_COLORS.errorIcon }))), index.h("div", { key: '3d699238c19ee66fd3afc72194133a865501cc08', class: "sd-loading-modal__message-wrapper" }, Array.isArray(this.resolvedMessage) ? (this.resolvedMessage.map(message => (index.h("p", { class: "sd-loading-modal__message" }, message)))) : (index.h("p", { class: "sd-loading-modal__message" }, this.resolvedMessage))), this.useButton && (index.h("div", { key: 'd454a168360cd23a3e71482d67ee81d8eabdec58', class: "sd-loading-modal__button" }, index.h("sd-button", { key: '0aa26dc830d1c4827f2ee0ca0bfdf4bb8cd2c9f5', name: LOADING_MODAL_BUTTON_PRESET, label: this.resolvedButtonLabel, onSdClick: this.handleClick }))))));
192
192
  }
193
193
  };
194
194
  SdLoadingModal.style = sdLoadingModalCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BGwB03Tk.js');
3
+ var index = require('./index-C63F8C0_.js');
4
4
 
5
5
  const sdDateBoxCss = () => `.sd-date-box.sc-sd-date-box{display:flex;align-items:center;justify-content:center;width:38px;height:36px;font-size:14px;position:relative;box-sizing:border-box;text-align:center;transition:background-color 150ms cubic-bezier(0.4, 0, 0.2, 1);border-radius:14px}.sd-date-box.sc-sd-date-box .sd-date-box__content.sc-sd-date-box{width:28px;height:28px;border-radius:14px;position:relative}.sd-date-box.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box{position:relative;z-index:2;-webkit-user-select:none;user-select:none;line-height:28px}.sd-date-box.sd-date-box--disabled.sc-sd-date-box{color:#CCCCCC;cursor:default !important;pointer-events:none}.sd-date-box.sc-sd-date-box:not(.sd-date-box--disabled){color:#333333;cursor:pointer}.sd-date-box.sd-hoverable.sc-sd-date-box:hover .sd-date-box__content.sc-sd-date-box{background:#D9EAFF}.sd-date-box.sd-date-box--in-range.sc-sd-date-box:not(.sd-date-box--disabled) .sd-date-box__content.sc-sd-date-box::before{content:"";position:absolute;top:0;left:-5px;width:calc(100% + 10px);height:100%;background:#D9EAFF}.sd-date-box.sd-date-box--in-range.sd-date-box--type-start.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::before{left:auto !important;width:19px !important;right:-5px}.sd-date-box.sd-date-box--in-range.sd-date-box--type-end.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::before{width:19px !important}.sd-date-box.sd-date-box--in-range.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box{font-weight:500}.sd-date-box.sd-date-box--selected.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::after,.sd-date-box.sd-date-box--type-start.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::after,.sd-date-box.sd-date-box--type-end.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::after{content:"";position:absolute;inset:0;background:#0075FF;border-radius:14px;z-index:1}.sd-date-box.sd-date-box--selected.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box,.sd-date-box.sd-date-box--type-start.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box,.sd-date-box.sd-date-box--type-end.sc-sd-date-box .sd-date-box__content.sc-sd-date-box .sd-date-box__label.sc-sd-date-box{color:white;font-weight:700}.sd-date-box.sd-date-box--start-date.sd-date-box--end-date.sc-sd-date-box .sd-date-box__content.sc-sd-date-box::before{display:none !important}.sd-date-box.sd-date-box--today.sc-sd-date-box:not(.sd-date-box--selected) .sd-date-box__content.sc-sd-date-box::after{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:28px;height:28px;border:1px solid #E1E1E1 !important;border-radius:14px}`;
6
6
 
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var component_datepicker = require('./component.datepicker-Cw_-oidk.js');
3
+ var component_datepicker = require('./component.datepicker-CUQbDSku.js');
4
+ var component_field = require('./component.field-YIQ9TAhV.js');
4
5
 
5
6
  const sm = component_datepicker.datepickerTokens.datepicker.sm;
6
7
  const md = component_datepicker.datepickerTokens.datepicker.md;
@@ -30,7 +31,10 @@ const DATEPICKER_COLORS = {
30
31
  border: component_datepicker.datepickerTokens.datepicker.border,
31
32
  bg: component_datepicker.datepickerTokens.datepicker.bg,
32
33
  icon: component_datepicker.datepickerTokens.datepicker.icon,
33
- text: component_datepicker.datepickerTokens.datepicker.text,
34
+ text: {
35
+ ...component_datepicker.datepickerTokens.datepicker.text,
36
+ hint: component_field.fieldTokens.field.hint.color,
37
+ },
34
38
  };
35
39
 
36
40
  exports.DATEPICKER_COLORS = DATEPICKER_COLORS;