@cscfi/csc-ui 3.0.0 → 3.0.2

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 (414) hide show
  1. package/dist/cjs/c-autocomplete_34.cjs.entry.js +44 -43
  2. package/dist/cjs/c-autocomplete_34.cjs.entry.js.map +1 -1
  3. package/dist/cjs/c-backdrop.cjs.entry.js +31 -0
  4. package/dist/cjs/c-backdrop.cjs.entry.js.map +1 -0
  5. package/dist/cjs/c-backdrop.entry.cjs.js.map +1 -0
  6. package/dist/cjs/c-data-table.cjs.entry.js +1 -1
  7. package/dist/cjs/c-link.cjs.entry.js +1 -1
  8. package/dist/cjs/c-list-item-title.cjs.entry.js +1 -1
  9. package/dist/cjs/c-list-item.cjs.entry.js +3 -3
  10. package/dist/cjs/c-list-item.cjs.entry.js.map +1 -1
  11. package/dist/cjs/c-list-item.entry.cjs.js.map +1 -1
  12. package/dist/cjs/c-list.cjs.entry.js +4 -2
  13. package/dist/cjs/c-list.cjs.entry.js.map +1 -1
  14. package/dist/cjs/c-list.entry.cjs.js.map +1 -1
  15. package/dist/cjs/c-login-button.cjs.entry.js +1 -1
  16. package/dist/cjs/c-login-buttons.cjs.entry.js +1 -1
  17. package/dist/cjs/c-login-card-actions.cjs.entry.js +1 -1
  18. package/dist/cjs/c-login-card-content.cjs.entry.js +1 -1
  19. package/dist/cjs/c-login-card-title.cjs.entry.js +1 -1
  20. package/dist/cjs/c-login-card.cjs.entry.js +1 -1
  21. package/dist/cjs/c-menu_2.cjs.entry.js +2 -2
  22. package/dist/cjs/c-modal.cjs.entry.js +29 -11
  23. package/dist/cjs/c-modal.cjs.entry.js.map +1 -1
  24. package/dist/cjs/c-modal.entry.cjs.js.map +1 -1
  25. package/dist/cjs/c-option-value.cjs.entry.js +1 -1
  26. package/dist/cjs/c-pagination.cjs.entry.js +1 -1
  27. package/dist/cjs/c-progress-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/c-row.cjs.entry.js +1 -1
  29. package/dist/cjs/c-slider.cjs.entry.js +1 -1
  30. package/dist/cjs/c-slider.cjs.entry.js.map +1 -1
  31. package/dist/cjs/c-slider.entry.cjs.js.map +1 -1
  32. package/dist/cjs/c-status.cjs.entry.js +1 -1
  33. package/dist/cjs/c-step.cjs.entry.js +1 -1
  34. package/dist/cjs/c-steps.cjs.entry.js +1 -1
  35. package/dist/cjs/c-swiper-tab.cjs.entry.js +1 -1
  36. package/dist/cjs/c-swiper-tab.cjs.entry.js.map +1 -1
  37. package/dist/cjs/c-swiper-tab.entry.cjs.js.map +1 -1
  38. package/dist/cjs/c-swiper.cjs.entry.js +1 -1
  39. package/dist/cjs/c-swiper.cjs.entry.js.map +1 -1
  40. package/dist/cjs/c-swiper.entry.cjs.js.map +1 -1
  41. package/dist/cjs/c-tab-buttons.cjs.entry.js +1 -1
  42. package/dist/cjs/c-tab-buttons.cjs.entry.js.map +1 -1
  43. package/dist/cjs/c-tab-buttons.entry.cjs.js.map +1 -1
  44. package/dist/cjs/c-tab-item.cjs.entry.js +1 -1
  45. package/dist/cjs/c-tab-items.cjs.entry.js +1 -1
  46. package/dist/cjs/c-tab.cjs.entry.js +1 -1
  47. package/dist/cjs/c-tab.cjs.entry.js.map +1 -1
  48. package/dist/cjs/c-tab.entry.cjs.js.map +1 -1
  49. package/dist/cjs/c-tabs.cjs.entry.js +1 -1
  50. package/dist/cjs/c-tag.cjs.entry.js +1 -1
  51. package/dist/cjs/c-tags.cjs.entry.js +1 -1
  52. package/dist/cjs/c-toast.cjs.entry.js +1 -1
  53. package/dist/cjs/c-toasts.cjs.entry.js +2 -2
  54. package/dist/cjs/csc-ui.cjs.js +1 -1
  55. package/dist/cjs/index-BTBT6v3v.js +4 -0
  56. package/dist/cjs/loader.cjs.js +1 -1
  57. package/dist/collection/collection-manifest.json +1 -0
  58. package/dist/collection/components/c-autocomplete/c-autocomplete.js +5 -2
  59. package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +1 -1
  60. package/dist/collection/components/c-backdrop/c-backdrop.css +60 -0
  61. package/dist/collection/components/c-backdrop/c-backdrop.js +64 -0
  62. package/dist/collection/components/c-backdrop/c-backdrop.js.map +1 -0
  63. package/dist/collection/components/c-badge/c-badge.js +1 -1
  64. package/dist/collection/components/c-button/c-button.js +5 -2
  65. package/dist/collection/components/c-button/c-button.js.map +1 -1
  66. package/dist/collection/components/c-card/c-card.js +1 -1
  67. package/dist/collection/components/c-card-actions/c-card-actions.js +1 -1
  68. package/dist/collection/components/c-card-content/c-card-content.js +1 -1
  69. package/dist/collection/components/c-card-title/c-card-title.js +1 -1
  70. package/dist/collection/components/c-checkbox/c-checkbox.js +9 -3
  71. package/dist/collection/components/c-checkbox/c-checkbox.js.map +1 -1
  72. package/dist/collection/components/c-csc-logo/c-csc-logo.js +2 -2
  73. package/dist/collection/components/c-data-table/c-data-table.js +1 -1
  74. package/dist/collection/components/c-dropdown/c-dropdown.js +6 -3
  75. package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -1
  76. package/dist/collection/components/c-icon/c-icon.js +2 -2
  77. package/dist/collection/components/c-icon-button/c-icon-button.js +1 -1
  78. package/dist/collection/components/c-input/c-input.js +10 -4
  79. package/dist/collection/components/c-input/c-input.js.map +1 -1
  80. package/dist/collection/components/c-link/c-link.js +1 -1
  81. package/dist/collection/components/c-list/c-list.css +12 -1
  82. package/dist/collection/components/c-list/c-list.js +23 -1
  83. package/dist/collection/components/c-list/c-list.js.map +1 -1
  84. package/dist/collection/components/c-list-item/c-list-item.css +1 -0
  85. package/dist/collection/components/c-list-item/c-list-item.js +2 -2
  86. package/dist/collection/components/c-list-item-title/c-list-item-title.js +1 -1
  87. package/dist/collection/components/c-loader/c-loader.js +1 -1
  88. package/dist/collection/components/c-login-button/c-login-button.js +1 -1
  89. package/dist/collection/components/c-login-buttons/c-login-buttons.js +1 -1
  90. package/dist/collection/components/c-login-card/c-login-card.js +1 -1
  91. package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +1 -1
  92. package/dist/collection/components/c-login-card-content/c-login-card-content.js +1 -1
  93. package/dist/collection/components/c-login-card-title/c-login-card-title.js +1 -1
  94. package/dist/collection/components/c-main/c-main.js +1 -1
  95. package/dist/collection/components/c-menu/c-menu.js +1 -1
  96. package/dist/collection/components/c-menu-items/c-menu-items.js +1 -1
  97. package/dist/collection/components/c-message/c-message.js +1 -1
  98. package/dist/collection/components/c-modal/c-modal.css +1 -26
  99. package/dist/collection/components/c-modal/c-modal.js +28 -10
  100. package/dist/collection/components/c-modal/c-modal.js.map +1 -1
  101. package/dist/collection/components/c-navigation-button/c-navigation-button.js +1 -1
  102. package/dist/collection/components/c-option/c-option.js +1 -1
  103. package/dist/collection/components/c-option-value/c-option-value.js +1 -1
  104. package/dist/collection/components/c-otp-input/c-otp-input.js +31 -4
  105. package/dist/collection/components/c-otp-input/c-otp-input.js.map +1 -1
  106. package/dist/collection/components/c-page/c-page.js +1 -1
  107. package/dist/collection/components/c-pagination/c-pagination.js +1 -1
  108. package/dist/collection/components/c-progress-bar/c-progress-bar.js +1 -1
  109. package/dist/collection/components/c-radio/c-radio.js +1 -1
  110. package/dist/collection/components/c-radio-group/c-radio-group.js +5 -2
  111. package/dist/collection/components/c-radio-group/c-radio-group.js.map +1 -1
  112. package/dist/collection/components/c-ripple/c-ripple.js +1 -1
  113. package/dist/collection/components/c-row/c-row.js +1 -1
  114. package/dist/collection/components/c-select/c-select.js +6 -3
  115. package/dist/collection/components/c-select/c-select.js.map +1 -1
  116. package/dist/collection/components/c-side-navigation/c-side-navigation.js +2 -2
  117. package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +2 -2
  118. package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +1 -1
  119. package/dist/collection/components/c-slider/c-slider.js +13 -4
  120. package/dist/collection/components/c-slider/c-slider.js.map +1 -1
  121. package/dist/collection/components/c-spacer/c-spacer.js +1 -1
  122. package/dist/collection/components/c-spinner/c-spinner.js +1 -1
  123. package/dist/collection/components/c-status/c-status.js +1 -1
  124. package/dist/collection/components/c-step/c-step.js +1 -1
  125. package/dist/collection/components/c-steps/c-steps.js +1 -1
  126. package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +1 -1
  127. package/dist/collection/components/c-swiper/c-swiper.js +5 -2
  128. package/dist/collection/components/c-swiper/c-swiper.js.map +1 -1
  129. package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +5 -2
  130. package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +1 -1
  131. package/dist/collection/components/c-switch/c-switch.js +5 -2
  132. package/dist/collection/components/c-switch/c-switch.js.map +1 -1
  133. package/dist/collection/components/c-tab/c-tab.js +5 -2
  134. package/dist/collection/components/c-tab/c-tab.js.map +1 -1
  135. package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +5 -2
  136. package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +1 -1
  137. package/dist/collection/components/c-tab-item/c-tab-item.js +1 -1
  138. package/dist/collection/components/c-tab-items/c-tab-items.js +1 -1
  139. package/dist/collection/components/c-table/c-table.js +1 -1
  140. package/dist/collection/components/c-tabs/c-tabs.js +1 -1
  141. package/dist/collection/components/c-tag/c-tag.js +1 -1
  142. package/dist/collection/components/c-tags/c-tags.js +1 -1
  143. package/dist/collection/components/c-text-field/c-text-field.js +13 -4
  144. package/dist/collection/components/c-text-field/c-text-field.js.map +1 -1
  145. package/dist/collection/components/c-toast/c-toast.js +1 -1
  146. package/dist/collection/components/c-toasts/c-toasts.js +2 -2
  147. package/dist/collection/components/c-toolbar/c-toolbar.js +1 -1
  148. package/dist/components/c-accordion-item.js +1 -1
  149. package/dist/components/c-autocomplete.js +9 -9
  150. package/dist/components/c-autocomplete.js.map +1 -1
  151. package/dist/components/c-backdrop.d.ts +11 -0
  152. package/dist/components/c-backdrop.js +9 -0
  153. package/dist/components/c-backdrop.js.map +1 -0
  154. package/dist/components/c-badge.js +1 -1
  155. package/dist/components/c-button.js +3 -3
  156. package/dist/components/c-button.js.map +1 -1
  157. package/dist/components/c-card-actions.js +1 -1
  158. package/dist/components/c-card-content.js +1 -1
  159. package/dist/components/c-card-title.js +1 -1
  160. package/dist/components/c-card.js +6 -6
  161. package/dist/components/c-checkbox.js +1 -1
  162. package/dist/components/c-csc-logo.js +2 -2
  163. package/dist/components/c-data-table.js +12 -12
  164. package/dist/components/c-dropdown.js +1 -1
  165. package/dist/components/c-icon-button.js +1 -1
  166. package/dist/components/c-icon.js +1 -1
  167. package/dist/components/c-input.js +1 -1
  168. package/dist/components/c-link.js +1 -1
  169. package/dist/components/c-list-item-title.js +1 -1
  170. package/dist/components/c-list-item.js +4 -4
  171. package/dist/components/c-list-item.js.map +1 -1
  172. package/dist/components/c-list.js +6 -3
  173. package/dist/components/c-list.js.map +1 -1
  174. package/dist/components/c-loader.js +1 -1
  175. package/dist/components/c-login-button.js +1 -1
  176. package/dist/components/c-login-buttons.js +1 -1
  177. package/dist/components/c-login-card-actions.js +2 -2
  178. package/dist/components/c-login-card-content.js +1 -1
  179. package/dist/components/c-login-card-title.js +1 -1
  180. package/dist/components/c-login-card.js +1 -1
  181. package/dist/components/c-main.js +1 -1
  182. package/dist/components/c-menu-items.js +1 -1
  183. package/dist/components/c-menu.js +1 -1
  184. package/dist/components/c-message.js +1 -1
  185. package/dist/components/c-modal.js +36 -12
  186. package/dist/components/c-modal.js.map +1 -1
  187. package/dist/components/c-navigation-button.js +6 -6
  188. package/dist/components/c-option-value.js +1 -1
  189. package/dist/components/c-option.js +1 -1
  190. package/dist/components/c-otp-input.js +6 -4
  191. package/dist/components/c-otp-input.js.map +1 -1
  192. package/dist/components/c-page.js +1 -1
  193. package/dist/components/c-pagination.js +1 -1
  194. package/dist/components/c-progress-bar.js +1 -1
  195. package/dist/components/c-radio-group.js +3 -3
  196. package/dist/components/c-radio-group.js.map +1 -1
  197. package/dist/components/c-radio.js +1 -1
  198. package/dist/components/c-ripple.js +1 -1
  199. package/dist/components/c-row.js +1 -1
  200. package/dist/components/c-select.js +10 -10
  201. package/dist/components/c-select.js.map +1 -1
  202. package/dist/components/c-side-navigation-item.js +5 -5
  203. package/dist/components/c-side-navigation-title.js +1 -1
  204. package/dist/components/c-side-navigation.js +7 -7
  205. package/dist/components/c-slider.js +1 -1
  206. package/dist/components/c-slider.js.map +1 -1
  207. package/dist/components/c-spacer.js +1 -1
  208. package/dist/components/c-spinner.js +1 -1
  209. package/dist/components/c-status.js +1 -1
  210. package/dist/components/c-step.js +1 -1
  211. package/dist/components/c-steps.js +1 -1
  212. package/dist/components/c-sub-navigation-item.js +3 -3
  213. package/dist/components/c-swiper-tab.js +2 -2
  214. package/dist/components/c-swiper-tab.js.map +1 -1
  215. package/dist/components/c-swiper.js +5 -5
  216. package/dist/components/c-swiper.js.map +1 -1
  217. package/dist/components/c-switch.js +2 -2
  218. package/dist/components/c-switch.js.map +1 -1
  219. package/dist/components/c-tab-buttons.js +1 -1
  220. package/dist/components/c-tab-buttons.js.map +1 -1
  221. package/dist/components/c-tab-item.js +1 -1
  222. package/dist/components/c-tab-items.js +1 -1
  223. package/dist/components/c-tab.js +2 -2
  224. package/dist/components/c-tab.js.map +1 -1
  225. package/dist/components/c-table.js +1 -1
  226. package/dist/components/c-tabs.js +6 -6
  227. package/dist/components/c-tag.js +6 -6
  228. package/dist/components/c-tags.js +1 -1
  229. package/dist/components/c-text-field.js +3 -3
  230. package/dist/components/c-text-field.js.map +1 -1
  231. package/dist/components/c-toast.js +1 -1
  232. package/dist/components/c-toasts.js +4 -4
  233. package/dist/components/c-toolbar.js +1 -1
  234. package/dist/components/index.d.ts +2 -0
  235. package/dist/components/index.js +1 -0
  236. package/dist/components/index.js.map +1 -1
  237. package/dist/components/{p-DMyf0l0a.js → p-B-GTME5E.js} +5 -5
  238. package/dist/components/{p-DMyf0l0a.js.map → p-B-GTME5E.js.map} +1 -1
  239. package/dist/components/{p-BNTLEJuU.js → p-BAiDvAZH.js} +4 -4
  240. package/dist/components/{p-BNTLEJuU.js.map → p-BAiDvAZH.js.map} +1 -1
  241. package/dist/components/{p-ZSg3PiFP.js → p-BUcGIY5c.js} +3 -3
  242. package/dist/components/{p-ZSg3PiFP.js.map → p-BUcGIY5c.js.map} +1 -1
  243. package/dist/components/{p-D9gvC95b.js → p-BYbFnpva.js} +4 -4
  244. package/dist/components/{p-D9gvC95b.js.map → p-BYbFnpva.js.map} +1 -1
  245. package/dist/components/{p-B4mQw88K.js → p-BkP7vhXP.js} +5 -5
  246. package/dist/components/{p-B4mQw88K.js.map → p-BkP7vhXP.js.map} +1 -1
  247. package/dist/components/{p-DGdsW93C.js → p-Bvm7zYsQ.js} +6 -6
  248. package/dist/components/{p-DGdsW93C.js.map → p-Bvm7zYsQ.js.map} +1 -1
  249. package/dist/components/{p-BzwancQj.js → p-BxBOCrL_.js} +3 -3
  250. package/dist/components/{p-BzwancQj.js.map → p-BxBOCrL_.js.map} +1 -1
  251. package/dist/components/{p-CcFX_6XU.js → p-BylTQ7VG.js} +5 -5
  252. package/dist/components/{p-CcFX_6XU.js.map → p-BylTQ7VG.js.map} +1 -1
  253. package/dist/components/{p-DraoqTdA.js → p-CFKNgBS9.js} +3 -3
  254. package/dist/components/{p-DraoqTdA.js.map → p-CFKNgBS9.js.map} +1 -1
  255. package/dist/components/{p-CwiOAnly.js → p-CFPfmHLA.js} +5 -5
  256. package/dist/components/{p-CwiOAnly.js.map → p-CFPfmHLA.js.map} +1 -1
  257. package/dist/components/{p-f_cvPPav.js → p-ChRag9Cq.js} +3 -3
  258. package/dist/components/{p-f_cvPPav.js.map → p-ChRag9Cq.js.map} +1 -1
  259. package/dist/components/{p-DU0xbE4n.js → p-Cmy8x1XB.js} +4 -4
  260. package/dist/components/{p-DU0xbE4n.js.map → p-Cmy8x1XB.js.map} +1 -1
  261. package/dist/components/p-D99sVq9W.js +49 -0
  262. package/dist/components/p-D99sVq9W.js.map +1 -0
  263. package/dist/components/{p-B5KJEPWo.js → p-DKhrqMh8.js} +3 -3
  264. package/dist/components/{p-B5KJEPWo.js.map → p-DKhrqMh8.js.map} +1 -1
  265. package/dist/components/{p-DClw-uw5.js → p-DX6GfaSG.js} +3 -3
  266. package/dist/components/{p-DClw-uw5.js.map → p-DX6GfaSG.js.map} +1 -1
  267. package/dist/components/{p-idn52V5b.js → p-DjjLlh1Q.js} +10 -10
  268. package/dist/components/{p-idn52V5b.js.map → p-DjjLlh1Q.js.map} +1 -1
  269. package/dist/components/{p-DJIQZPuJ.js → p-ExNJeaZY.js} +3 -3
  270. package/dist/components/{p-DJIQZPuJ.js.map → p-ExNJeaZY.js.map} +1 -1
  271. package/dist/csc-ui/c-backdrop.entry.esm.js.map +1 -0
  272. package/dist/csc-ui/c-list-item.entry.esm.js.map +1 -1
  273. package/dist/csc-ui/c-list.entry.esm.js.map +1 -1
  274. package/dist/csc-ui/c-modal.entry.esm.js.map +1 -1
  275. package/dist/csc-ui/c-slider.entry.esm.js.map +1 -1
  276. package/dist/csc-ui/c-swiper-tab.entry.esm.js.map +1 -1
  277. package/dist/csc-ui/c-swiper.entry.esm.js.map +1 -1
  278. package/dist/csc-ui/c-tab-buttons.entry.esm.js.map +1 -1
  279. package/dist/csc-ui/c-tab.entry.esm.js.map +1 -1
  280. package/dist/csc-ui/csc-ui.esm.js +1 -1
  281. package/dist/csc-ui/{p-05666581.entry.js → p-0bab4741.entry.js} +2 -2
  282. package/dist/csc-ui/{p-26e226e7.entry.js → p-0bf2ca66.entry.js} +2 -2
  283. package/dist/csc-ui/p-0ce74b50.entry.js +2 -0
  284. package/dist/csc-ui/{p-07b8b991.entry.js → p-18e0bac0.entry.js} +2 -2
  285. package/dist/csc-ui/{p-275a9425.entry.js → p-1963c292.entry.js} +2 -2
  286. package/dist/csc-ui/{p-5f22c6dd.entry.js → p-1af49cd8.entry.js} +2 -2
  287. package/dist/csc-ui/{p-5f22c6dd.entry.js.map → p-1af49cd8.entry.js.map} +1 -1
  288. package/dist/csc-ui/p-2113737d.entry.js +2 -0
  289. package/dist/csc-ui/p-2113737d.entry.js.map +1 -0
  290. package/dist/csc-ui/{p-992dbc05.entry.js → p-2659814c.entry.js} +2 -2
  291. package/dist/csc-ui/{p-a79376b3.entry.js → p-294c51c0.entry.js} +2 -2
  292. package/dist/csc-ui/{p-12651740.entry.js → p-35136773.entry.js} +2 -2
  293. package/dist/csc-ui/{p-b75ba76f.entry.js → p-3b8431a3.entry.js} +2 -2
  294. package/dist/csc-ui/p-3d8aa031.entry.js +2 -0
  295. package/dist/csc-ui/p-3d8aa031.entry.js.map +1 -0
  296. package/dist/csc-ui/{p-4b2edac8.entry.js → p-49bd4d5d.entry.js} +2 -2
  297. package/dist/csc-ui/p-49bd4d5d.entry.js.map +1 -0
  298. package/dist/csc-ui/{p-3e87abf7.entry.js → p-55c851c7.entry.js} +2 -2
  299. package/dist/csc-ui/{p-3a23ab2a.entry.js → p-5b10d5e5.entry.js} +2 -2
  300. package/dist/csc-ui/p-5d7cb21b.entry.js +2 -0
  301. package/dist/csc-ui/{p-c0a739b8.entry.js → p-6c3f75f1.entry.js} +2 -2
  302. package/dist/csc-ui/{p-e8896c6d.entry.js → p-71d271a9.entry.js} +2 -2
  303. package/dist/csc-ui/{p-ca4de09e.entry.js → p-7323c19f.entry.js} +2 -2
  304. package/dist/csc-ui/p-732e7114.entry.js +2 -0
  305. package/dist/csc-ui/{p-08576024.entry.js → p-7574f00f.entry.js} +2 -2
  306. package/dist/csc-ui/{p-08576024.entry.js.map → p-7574f00f.entry.js.map} +1 -1
  307. package/dist/csc-ui/{p-0d6435bb.entry.js → p-7dcaf7e2.entry.js} +2 -2
  308. package/dist/csc-ui/{p-38d70183.entry.js → p-8ced935d.entry.js} +2 -2
  309. package/dist/csc-ui/p-9fff794f.entry.js +2 -0
  310. package/dist/csc-ui/{p-0c220c58.entry.js.map → p-9fff794f.entry.js.map} +1 -1
  311. package/dist/csc-ui/{p-7c7d4f1f.entry.js → p-a4d10c24.entry.js} +2 -2
  312. package/dist/csc-ui/{p-3ccc54eb.entry.js → p-a8ea6c44.entry.js} +2 -2
  313. package/dist/csc-ui/{p-3ccc54eb.entry.js.map → p-a8ea6c44.entry.js.map} +1 -1
  314. package/dist/csc-ui/{p-7546b021.entry.js → p-aea7f08c.entry.js} +2 -2
  315. package/dist/csc-ui/p-aea7f08c.entry.js.map +1 -0
  316. package/dist/csc-ui/p-aec6b36e.entry.js +2 -0
  317. package/dist/csc-ui/p-aec6b36e.entry.js.map +1 -0
  318. package/dist/csc-ui/{p-a00d3149.entry.js → p-b92fa51d.entry.js} +2 -2
  319. package/dist/csc-ui/{p-edfef89b.entry.js → p-c74c234c.entry.js} +2 -2
  320. package/dist/csc-ui/p-cf835443.entry.js +2 -0
  321. package/dist/csc-ui/p-cf835443.entry.js.map +1 -0
  322. package/dist/csc-ui/{p-b3434cc8.entry.js → p-ea1bcd6c.entry.js} +2 -2
  323. package/dist/csc-ui/{p-b3434cc8.entry.js.map → p-ea1bcd6c.entry.js.map} +1 -1
  324. package/dist/csc-ui/{p-855c6c9b.entry.js → p-f23b3ee3.entry.js} +2 -2
  325. package/dist/csc-ui/{p-32f778ef.entry.js → p-f938bf7f.entry.js} +2 -2
  326. package/dist/esm/c-autocomplete_34.entry.js +44 -43
  327. package/dist/esm/c-autocomplete_34.entry.js.map +1 -1
  328. package/dist/esm/c-backdrop.entry.js +29 -0
  329. package/dist/esm/c-backdrop.entry.js.map +1 -0
  330. package/dist/esm/c-data-table.entry.js +1 -1
  331. package/dist/esm/c-link.entry.js +1 -1
  332. package/dist/esm/c-list-item-title.entry.js +1 -1
  333. package/dist/esm/c-list-item.entry.js +3 -3
  334. package/dist/esm/c-list-item.entry.js.map +1 -1
  335. package/dist/esm/c-list.entry.js +4 -2
  336. package/dist/esm/c-list.entry.js.map +1 -1
  337. package/dist/esm/c-login-button.entry.js +1 -1
  338. package/dist/esm/c-login-buttons.entry.js +1 -1
  339. package/dist/esm/c-login-card-actions.entry.js +1 -1
  340. package/dist/esm/c-login-card-content.entry.js +1 -1
  341. package/dist/esm/c-login-card-title.entry.js +1 -1
  342. package/dist/esm/c-login-card.entry.js +1 -1
  343. package/dist/esm/c-menu_2.entry.js +2 -2
  344. package/dist/esm/c-modal.entry.js +29 -11
  345. package/dist/esm/c-modal.entry.js.map +1 -1
  346. package/dist/esm/c-option-value.entry.js +1 -1
  347. package/dist/esm/c-pagination.entry.js +1 -1
  348. package/dist/esm/c-progress-bar.entry.js +1 -1
  349. package/dist/esm/c-row.entry.js +1 -1
  350. package/dist/esm/c-slider.entry.js +1 -1
  351. package/dist/esm/c-slider.entry.js.map +1 -1
  352. package/dist/esm/c-status.entry.js +1 -1
  353. package/dist/esm/c-step.entry.js +1 -1
  354. package/dist/esm/c-steps.entry.js +1 -1
  355. package/dist/esm/c-swiper-tab.entry.js +1 -1
  356. package/dist/esm/c-swiper-tab.entry.js.map +1 -1
  357. package/dist/esm/c-swiper.entry.js +1 -1
  358. package/dist/esm/c-swiper.entry.js.map +1 -1
  359. package/dist/esm/c-tab-buttons.entry.js +1 -1
  360. package/dist/esm/c-tab-buttons.entry.js.map +1 -1
  361. package/dist/esm/c-tab-item.entry.js +1 -1
  362. package/dist/esm/c-tab-items.entry.js +1 -1
  363. package/dist/esm/c-tab.entry.js +1 -1
  364. package/dist/esm/c-tab.entry.js.map +1 -1
  365. package/dist/esm/c-tabs.entry.js +1 -1
  366. package/dist/esm/c-tag.entry.js +1 -1
  367. package/dist/esm/c-tags.entry.js +1 -1
  368. package/dist/esm/c-toast.entry.js +1 -1
  369. package/dist/esm/c-toasts.entry.js +2 -2
  370. package/dist/esm/csc-ui.js +1 -1
  371. package/dist/esm/index-gSzSMY-c.js +4 -0
  372. package/dist/esm/loader.js +1 -1
  373. package/dist/types/components/c-backdrop/c-backdrop.d.ts +6 -0
  374. package/dist/types/components/c-list/c-list.d.ts +1 -0
  375. package/dist/types/components/c-modal/c-modal.d.ts +2 -0
  376. package/dist/types/components/c-otp-input/c-otp-input.d.ts +1 -0
  377. package/dist/types/components.d.ts +93 -0
  378. package/package.json +1 -1
  379. package/vscode-data.json +21 -0
  380. package/dist/csc-ui/p-01cab4b0.entry.js +0 -2
  381. package/dist/csc-ui/p-0c220c58.entry.js +0 -2
  382. package/dist/csc-ui/p-2821c17e.entry.js +0 -2
  383. package/dist/csc-ui/p-2821c17e.entry.js.map +0 -1
  384. package/dist/csc-ui/p-4b2edac8.entry.js.map +0 -1
  385. package/dist/csc-ui/p-5e779d4e.entry.js +0 -2
  386. package/dist/csc-ui/p-603ef97a.entry.js +0 -2
  387. package/dist/csc-ui/p-603ef97a.entry.js.map +0 -1
  388. package/dist/csc-ui/p-7546b021.entry.js.map +0 -1
  389. package/dist/csc-ui/p-d18aed8c.entry.js +0 -2
  390. package/dist/csc-ui/p-f504299e.entry.js +0 -2
  391. package/dist/csc-ui/p-f504299e.entry.js.map +0 -1
  392. /package/dist/csc-ui/{p-05666581.entry.js.map → p-0bab4741.entry.js.map} +0 -0
  393. /package/dist/csc-ui/{p-26e226e7.entry.js.map → p-0bf2ca66.entry.js.map} +0 -0
  394. /package/dist/csc-ui/{p-5e779d4e.entry.js.map → p-0ce74b50.entry.js.map} +0 -0
  395. /package/dist/csc-ui/{p-07b8b991.entry.js.map → p-18e0bac0.entry.js.map} +0 -0
  396. /package/dist/csc-ui/{p-275a9425.entry.js.map → p-1963c292.entry.js.map} +0 -0
  397. /package/dist/csc-ui/{p-992dbc05.entry.js.map → p-2659814c.entry.js.map} +0 -0
  398. /package/dist/csc-ui/{p-a79376b3.entry.js.map → p-294c51c0.entry.js.map} +0 -0
  399. /package/dist/csc-ui/{p-12651740.entry.js.map → p-35136773.entry.js.map} +0 -0
  400. /package/dist/csc-ui/{p-b75ba76f.entry.js.map → p-3b8431a3.entry.js.map} +0 -0
  401. /package/dist/csc-ui/{p-3e87abf7.entry.js.map → p-55c851c7.entry.js.map} +0 -0
  402. /package/dist/csc-ui/{p-3a23ab2a.entry.js.map → p-5b10d5e5.entry.js.map} +0 -0
  403. /package/dist/csc-ui/{p-01cab4b0.entry.js.map → p-5d7cb21b.entry.js.map} +0 -0
  404. /package/dist/csc-ui/{p-c0a739b8.entry.js.map → p-6c3f75f1.entry.js.map} +0 -0
  405. /package/dist/csc-ui/{p-e8896c6d.entry.js.map → p-71d271a9.entry.js.map} +0 -0
  406. /package/dist/csc-ui/{p-ca4de09e.entry.js.map → p-7323c19f.entry.js.map} +0 -0
  407. /package/dist/csc-ui/{p-d18aed8c.entry.js.map → p-732e7114.entry.js.map} +0 -0
  408. /package/dist/csc-ui/{p-0d6435bb.entry.js.map → p-7dcaf7e2.entry.js.map} +0 -0
  409. /package/dist/csc-ui/{p-38d70183.entry.js.map → p-8ced935d.entry.js.map} +0 -0
  410. /package/dist/csc-ui/{p-7c7d4f1f.entry.js.map → p-a4d10c24.entry.js.map} +0 -0
  411. /package/dist/csc-ui/{p-a00d3149.entry.js.map → p-b92fa51d.entry.js.map} +0 -0
  412. /package/dist/csc-ui/{p-edfef89b.entry.js.map → p-c74c234c.entry.js.map} +0 -0
  413. /package/dist/csc-ui/{p-855c6c9b.entry.js.map → p-f23b3ee3.entry.js.map} +0 -0
  414. /package/dist/csc-ui/{p-32f778ef.entry.js.map → p-f938bf7f.entry.js.map} +0 -0
@@ -83,6 +83,7 @@ export namespace Components {
83
83
  "hint": string;
84
84
  /**
85
85
  * Id of the element
86
+ * @name id
86
87
  */
87
88
  "hostId": string;
88
89
  /**
@@ -162,6 +163,15 @@ export namespace Components {
162
163
  */
163
164
  "value": string | number | CAutocompleteItem;
164
165
  }
166
+ /**
167
+ * @parent None
168
+ */
169
+ interface CBackdrop {
170
+ /**
171
+ * Disable backdrop blur effect
172
+ */
173
+ "disableBackdropBlur": boolean;
174
+ }
165
175
  /**
166
176
  * @parent none
167
177
  */
@@ -194,6 +204,7 @@ export namespace Components {
194
204
  "grouped": boolean;
195
205
  /**
196
206
  * Id of the button
207
+ * @name id
197
208
  */
198
209
  "hostId": string;
199
210
  /**
@@ -313,10 +324,12 @@ export namespace Components {
313
324
  "hint": string;
314
325
  /**
315
326
  * Id of the element
327
+ * @name id
316
328
  */
317
329
  "hostId": string;
318
330
  /**
319
331
  * Name of the input - Only used when the checkbox participates in a native `<form>`
332
+ * @name name
320
333
  */
321
334
  "hostName": string;
322
335
  /**
@@ -453,6 +466,7 @@ export namespace Components {
453
466
  "focusItem": (index: number) => Promise<void>;
454
467
  /**
455
468
  * Id of the element
469
+ * @name id
456
470
  */
457
471
  "hostId": string;
458
472
  /**
@@ -567,6 +581,7 @@ export namespace Components {
567
581
  "active": boolean;
568
582
  /**
569
583
  * Auto focus the input
584
+ * @name autofocus
570
585
  */
571
586
  "automaticFocus": boolean;
572
587
  /**
@@ -583,6 +598,7 @@ export namespace Components {
583
598
  "hint": string;
584
599
  /**
585
600
  * Id of the input
601
+ * @name id
586
602
  */
587
603
  "hostId": string;
588
604
  /**
@@ -696,6 +712,10 @@ export namespace Components {
696
712
  * @group Other
697
713
  */
698
714
  interface CList {
715
+ /**
716
+ * Show border arount the list items
717
+ */
718
+ "bordered": boolean;
699
719
  /**
700
720
  * Disable the list
701
721
  */
@@ -999,8 +1019,14 @@ export namespace Components {
999
1019
  interface COtpInput {
1000
1020
  /**
1001
1021
  * Id of the element
1022
+ * @name id
1002
1023
  */
1003
1024
  "elementId": string;
1025
+ /**
1026
+ * Auto focus
1027
+ * @name autofocus
1028
+ */
1029
+ "hasAutofocus": boolean;
1004
1030
  /**
1005
1031
  * Hide the hint and error messages
1006
1032
  */
@@ -1128,6 +1154,7 @@ export namespace Components {
1128
1154
  "hint": string;
1129
1155
  /**
1130
1156
  * Id of the element
1157
+ * @name id
1131
1158
  */
1132
1159
  "hostId": string;
1133
1160
  /**
@@ -1216,6 +1243,7 @@ export namespace Components {
1216
1243
  "hint": string;
1217
1244
  /**
1218
1245
  * Id of the element
1246
+ * @name id
1219
1247
  */
1220
1248
  "hostId": string;
1221
1249
  /**
@@ -1332,6 +1360,7 @@ export namespace Components {
1332
1360
  interface CSlider {
1333
1361
  /**
1334
1362
  * Aria label
1363
+ * @name aria-label
1335
1364
  */
1336
1365
  "ariaLabelInternal": string;
1337
1366
  /**
@@ -1344,10 +1373,12 @@ export namespace Components {
1344
1373
  "disabled": boolean;
1345
1374
  /**
1346
1375
  * Id of the element
1376
+ * @name id
1347
1377
  */
1348
1378
  "hostId": string;
1349
1379
  /**
1350
1380
  * Id of the element
1381
+ * @name name
1351
1382
  */
1352
1383
  "hostName": string;
1353
1384
  /**
@@ -1475,6 +1506,7 @@ export namespace Components {
1475
1506
  interface CSwiper {
1476
1507
  /**
1477
1508
  * Id of the swiper element
1509
+ * @name id
1478
1510
  */
1479
1511
  "elementId": string;
1480
1512
  /**
@@ -1496,6 +1528,7 @@ export namespace Components {
1496
1528
  "disabled": boolean;
1497
1529
  /**
1498
1530
  * Id of the button
1531
+ * @name id
1499
1532
  */
1500
1533
  "hostId": string;
1501
1534
  /**
@@ -1531,6 +1564,7 @@ export namespace Components {
1531
1564
  "falseValue": boolean | string;
1532
1565
  /**
1533
1566
  * Disable the switch
1567
+ * @name disabled
1534
1568
  */
1535
1569
  "hostDisabled": boolean;
1536
1570
  /**
@@ -1569,6 +1603,7 @@ export namespace Components {
1569
1603
  "disabled": boolean;
1570
1604
  /**
1571
1605
  * Id of the tab
1606
+ * @name id
1572
1607
  */
1573
1608
  "hostId": string;
1574
1609
  /**
@@ -1592,6 +1627,7 @@ export namespace Components {
1592
1627
  interface CTabButtons {
1593
1628
  /**
1594
1629
  * Disable tab buttons
1630
+ * @name disabled
1595
1631
  */
1596
1632
  "hostDisabled": boolean;
1597
1633
  /**
@@ -1738,10 +1774,12 @@ export namespace Components {
1738
1774
  "autocorrect": string;
1739
1775
  /**
1740
1776
  * HTML input autocapitalize
1777
+ * @name autocapitalize
1741
1778
  */
1742
1779
  "automaticCapitalize": string;
1743
1780
  /**
1744
1781
  * Auto focus the input
1782
+ * @name autofocus
1745
1783
  */
1746
1784
  "automaticFocus": boolean;
1747
1785
  /**
@@ -1758,6 +1796,7 @@ export namespace Components {
1758
1796
  "hint": string;
1759
1797
  /**
1760
1798
  * Id of the input
1799
+ * @name id
1761
1800
  */
1762
1801
  "hostId": string;
1763
1802
  /**
@@ -2053,6 +2092,15 @@ declare global {
2053
2092
  prototype: HTMLCAutocompleteElement;
2054
2093
  new (): HTMLCAutocompleteElement;
2055
2094
  };
2095
+ /**
2096
+ * @parent None
2097
+ */
2098
+ interface HTMLCBackdropElement extends Components.CBackdrop, HTMLStencilElement {
2099
+ }
2100
+ var HTMLCBackdropElement: {
2101
+ prototype: HTMLCBackdropElement;
2102
+ new (): HTMLCBackdropElement;
2103
+ };
2056
2104
  /**
2057
2105
  * @parent none
2058
2106
  */
@@ -2934,6 +2982,7 @@ declare global {
2934
2982
  "c-accordion-item": HTMLCAccordionItemElement;
2935
2983
  "c-alert": HTMLCAlertElement;
2936
2984
  "c-autocomplete": HTMLCAutocompleteElement;
2985
+ "c-backdrop": HTMLCBackdropElement;
2937
2986
  "c-badge": HTMLCBadgeElement;
2938
2987
  "c-button": HTMLCButtonElement;
2939
2988
  "c-card": HTMLCCardElement;
@@ -3087,6 +3136,7 @@ declare namespace LocalJSX {
3087
3136
  "hint"?: string;
3088
3137
  /**
3089
3138
  * Id of the element
3139
+ * @name id
3090
3140
  */
3091
3141
  "hostId"?: string;
3092
3142
  /**
@@ -3170,6 +3220,15 @@ declare namespace LocalJSX {
3170
3220
  */
3171
3221
  "value"?: string | number | CAutocompleteItem;
3172
3222
  }
3223
+ /**
3224
+ * @parent None
3225
+ */
3226
+ interface CBackdrop {
3227
+ /**
3228
+ * Disable backdrop blur effect
3229
+ */
3230
+ "disableBackdropBlur"?: boolean;
3231
+ }
3173
3232
  /**
3174
3233
  * @parent none
3175
3234
  */
@@ -3202,6 +3261,7 @@ declare namespace LocalJSX {
3202
3261
  "grouped"?: boolean;
3203
3262
  /**
3204
3263
  * Id of the button
3264
+ * @name id
3205
3265
  */
3206
3266
  "hostId"?: string;
3207
3267
  /**
@@ -3326,10 +3386,12 @@ declare namespace LocalJSX {
3326
3386
  "hint"?: string;
3327
3387
  /**
3328
3388
  * Id of the element
3389
+ * @name id
3329
3390
  */
3330
3391
  "hostId"?: string;
3331
3392
  /**
3332
3393
  * Name of the input - Only used when the checkbox participates in a native `<form>`
3394
+ * @name name
3333
3395
  */
3334
3396
  "hostName"?: string;
3335
3397
  /**
@@ -3470,6 +3532,7 @@ declare namespace LocalJSX {
3470
3532
  "dropdownItemType"?: 'option' | 'item';
3471
3533
  /**
3472
3534
  * Id of the element
3535
+ * @name id
3473
3536
  */
3474
3537
  "hostId"?: string;
3475
3538
  /**
@@ -3575,6 +3638,7 @@ declare namespace LocalJSX {
3575
3638
  "active"?: boolean;
3576
3639
  /**
3577
3640
  * Auto focus the input
3641
+ * @name autofocus
3578
3642
  */
3579
3643
  "automaticFocus"?: boolean;
3580
3644
  /**
@@ -3591,6 +3655,7 @@ declare namespace LocalJSX {
3591
3655
  "hint"?: string;
3592
3656
  /**
3593
3657
  * Id of the input
3658
+ * @name id
3594
3659
  */
3595
3660
  "hostId"?: string;
3596
3661
  /**
@@ -3714,6 +3779,10 @@ declare namespace LocalJSX {
3714
3779
  * @group Other
3715
3780
  */
3716
3781
  interface CList {
3782
+ /**
3783
+ * Show border arount the list items
3784
+ */
3785
+ "bordered"?: boolean;
3717
3786
  /**
3718
3787
  * Disable the list
3719
3788
  */
@@ -4038,8 +4107,14 @@ declare namespace LocalJSX {
4038
4107
  interface COtpInput {
4039
4108
  /**
4040
4109
  * Id of the element
4110
+ * @name id
4041
4111
  */
4042
4112
  "elementId": string;
4113
+ /**
4114
+ * Auto focus
4115
+ * @name autofocus
4116
+ */
4117
+ "hasAutofocus"?: boolean;
4043
4118
  /**
4044
4119
  * Hide the hint and error messages
4045
4120
  */
@@ -4175,6 +4250,7 @@ declare namespace LocalJSX {
4175
4250
  "hint"?: string;
4176
4251
  /**
4177
4252
  * Id of the element
4253
+ * @name id
4178
4254
  */
4179
4255
  "hostId"?: string;
4180
4256
  /**
@@ -4263,6 +4339,7 @@ declare namespace LocalJSX {
4263
4339
  "hint"?: string;
4264
4340
  /**
4265
4341
  * Id of the element
4342
+ * @name id
4266
4343
  */
4267
4344
  "hostId"?: string;
4268
4345
  /**
@@ -4384,6 +4461,7 @@ declare namespace LocalJSX {
4384
4461
  interface CSlider {
4385
4462
  /**
4386
4463
  * Aria label
4464
+ * @name aria-label
4387
4465
  */
4388
4466
  "ariaLabelInternal"?: string;
4389
4467
  /**
@@ -4396,10 +4474,12 @@ declare namespace LocalJSX {
4396
4474
  "disabled"?: boolean;
4397
4475
  /**
4398
4476
  * Id of the element
4477
+ * @name id
4399
4478
  */
4400
4479
  "hostId"?: string;
4401
4480
  /**
4402
4481
  * Id of the element
4482
+ * @name name
4403
4483
  */
4404
4484
  "hostName"?: string;
4405
4485
  /**
@@ -4535,6 +4615,7 @@ declare namespace LocalJSX {
4535
4615
  interface CSwiper {
4536
4616
  /**
4537
4617
  * Id of the swiper element
4618
+ * @name id
4538
4619
  */
4539
4620
  "elementId": string;
4540
4621
  /**
@@ -4560,6 +4641,7 @@ declare namespace LocalJSX {
4560
4641
  "disabled"?: boolean;
4561
4642
  /**
4562
4643
  * Id of the button
4644
+ * @name id
4563
4645
  */
4564
4646
  "hostId"?: string;
4565
4647
  /**
@@ -4600,6 +4682,7 @@ declare namespace LocalJSX {
4600
4682
  "falseValue"?: boolean | string;
4601
4683
  /**
4602
4684
  * Disable the switch
4685
+ * @name disabled
4603
4686
  */
4604
4687
  "hostDisabled"?: boolean;
4605
4688
  /**
@@ -4642,6 +4725,7 @@ declare namespace LocalJSX {
4642
4725
  "disabled"?: boolean;
4643
4726
  /**
4644
4727
  * Id of the tab
4728
+ * @name id
4645
4729
  */
4646
4730
  "hostId"?: string;
4647
4731
  /**
@@ -4678,6 +4762,7 @@ declare namespace LocalJSX {
4678
4762
  interface CTabButtons {
4679
4763
  /**
4680
4764
  * Disable tab buttons
4765
+ * @name disabled
4681
4766
  */
4682
4767
  "hostDisabled"?: boolean;
4683
4768
  /**
@@ -4840,10 +4925,12 @@ declare namespace LocalJSX {
4840
4925
  "autocorrect"?: string;
4841
4926
  /**
4842
4927
  * HTML input autocapitalize
4928
+ * @name autocapitalize
4843
4929
  */
4844
4930
  "automaticCapitalize"?: string;
4845
4931
  /**
4846
4932
  * Auto focus the input
4933
+ * @name autofocus
4847
4934
  */
4848
4935
  "automaticFocus"?: boolean;
4849
4936
  /**
@@ -4860,6 +4947,7 @@ declare namespace LocalJSX {
4860
4947
  "hint"?: string;
4861
4948
  /**
4862
4949
  * Id of the input
4950
+ * @name id
4863
4951
  */
4864
4952
  "hostId"?: string;
4865
4953
  /**
@@ -4975,6 +5063,7 @@ declare namespace LocalJSX {
4975
5063
  "c-accordion-item": CAccordionItem;
4976
5064
  "c-alert": CAlert;
4977
5065
  "c-autocomplete": CAutocomplete;
5066
+ "c-backdrop": CBackdrop;
4978
5067
  "c-badge": CBadge;
4979
5068
  "c-button": CButton;
4980
5069
  "c-card": CCard;
@@ -5063,6 +5152,10 @@ declare module "@stencil/core" {
5063
5152
  * @group Form
5064
5153
  */
5065
5154
  "c-autocomplete": LocalJSX.CAutocomplete & JSXBase.HTMLAttributes<HTMLCAutocompleteElement>;
5155
+ /**
5156
+ * @parent None
5157
+ */
5158
+ "c-backdrop": LocalJSX.CBackdrop & JSXBase.HTMLAttributes<HTMLCBackdropElement>;
5066
5159
  /**
5067
5160
  * @parent none
5068
5161
  */
package/package.json CHANGED
@@ -95,5 +95,5 @@
95
95
  },
96
96
  "types": "dist/types/additional-types.d.ts",
97
97
  "unpkg": "dist/csc-ui/csc-ui.esm.js",
98
- "version": "3.0.0"
98
+ "version": "3.0.2"
99
99
  }
package/vscode-data.json CHANGED
@@ -161,6 +161,19 @@
161
161
  }
162
162
  ]
163
163
  },
164
+ {
165
+ "name": "c-backdrop",
166
+ "description": {
167
+ "kind": "markdown",
168
+ "value": ""
169
+ },
170
+ "attributes": [
171
+ {
172
+ "name": "disable-backdrop-blur",
173
+ "description": "Disable backdrop blur effect"
174
+ }
175
+ ]
176
+ },
164
177
  {
165
178
  "name": "c-badge",
166
179
  "description": {
@@ -764,6 +777,10 @@
764
777
  "value": ""
765
778
  },
766
779
  "attributes": [
780
+ {
781
+ "name": "bordered",
782
+ "description": "Show border arount the list items"
783
+ },
767
784
  {
768
785
  "name": "disabled",
769
786
  "description": "Disable the list"
@@ -1198,6 +1215,10 @@
1198
1215
  "name": "id",
1199
1216
  "description": "Id of the element"
1200
1217
  },
1218
+ {
1219
+ "name": "autofocus",
1220
+ "description": "Auto focus"
1221
+ },
1201
1222
  {
1202
1223
  "name": "hide-details",
1203
1224
  "description": "Hide the hint and error messages"
@@ -1,2 +0,0 @@
1
- import{r as o,h as e,H as t}from"./p-gSzSMY-c.js";const r="html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host{display:block}";const a=class{constructor(e){o(this,e)}render(){return e(t,{key:"338e806f15bfac43b54c6c08bb6820272c8be462"},e("slot",{key:"752c40ca8fb032ff095eaea23327453c829cce76"}))}};a.style=r;export{a as c_option_value};
2
- //# sourceMappingURL=p-01cab4b0.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r,h as e,H as t}from"./p-gSzSMY-c.js";const o="html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host{display:grid;grid-gap:clamp(1rem, 2vw, 1.5rem);grid-template-columns:repeat(auto-fill, minmax(12rem, 1fr))}";const a=class{constructor(e){r(this,e)}render(){return e(t,{key:"2951084a1d2f36d17fdb616710bd4e516189e8f3"},e("slot",{key:"5d89effcf5619b6ebd7fb703b3fd0c858f878f4e"}))}};a.style=o;export{a as c_login_buttons};
2
- //# sourceMappingURL=p-0c220c58.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,h as i,H as e,g as r}from"./p-gSzSMY-c.js";const s="html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host(c-list-item){--_c-list-item-text-color:var(--c-list-item-text-color, var(--c-text-system));--_c-list-item-text-color-active:var(--c-list-item-text-color-active, var(--c-primary-600));--_c-list-item-background-color:var(--c-list-item-background-color, var(--c-transparent));--_c-list-item-background-color-active:var(--c-list-item-background-color-active, rgba(var(--c-primary-rgb), 0.1));--_c-list-item-background-color-hover:var(--c-list-item-background-color-hover, rgba(var(--c-primary-rgb), 0.2));--_c-list-item-outline-color:var(--c-list-item-outline-color, var(--c-primary-600));--_c-list-item-border-radius:4px;display:block;background-color:var(--_c-list-item-background-color);border-radius:var(--_c-list-item-border-radius)}:host(c-list-item) .c-list-item__content{align-items:center;border-radius:var(--_c-list-item-border-radius);color:var(--_c-list-item-text-color);display:flex;gap:16px;min-height:42px;padding:12px;width:100%;position:relative}:host(c-list-item) .c-list-item__content slot{display:grid;gap:4px;line-height:1.5}:host(c-list-item) .c-list-item__content slot:not([name]){flex:1}:host(c-list-item) .c-list-item__content:is(a){text-decoration:none;border-radius:var(--_c-list-item-border-radius)}:host(c-list-item:focus-visible){outline:2px var(--_c-list-item-outline-color) solid;outline-offset:2px}:host(c-list-item.c-list-item--hoverable:hover){background-color:var(--_c-list-item-background-color-hover)}:host(.c-list-item--active){--_c-list-item-text-color:var(--_c-list-item-text-color-active);background-color:var(--_c-list-item-background-color-active)}:host(.c-list-item--ripple){cursor:pointer}:host(.c-list-item--disabled){background-color:rgba(var(--c-tertiary-rgb), 0.05);cursor:default;opacity:0.75;pointer-events:none}:host(.c-list-item--disabled) ::slotted(c-icon){--c-icon-color:var(--c-tertiary-400) !important}";const c=class{constructor(i){t(this,i);this.active=false;this.disabled=false;this.disabledByParent=false;this.hoverable=false;this.ripple=false;this.target="_blank";this._onClick=(t,i=false)=>{if(this.disabled){t.preventDefault();return}if(!this.ripple)return;this.el.shadowRoot.querySelector("c-ripple").createRipple(t,this.el,i)};this._onKeyup=t=>{if([" ","Enter"].includes(t.key)){this._onClick(t,true)}}}onActiveChange(t){const i=this.el.querySelector("c-list-item-title");if(!i)return;i.active=t}get _slots(){const t=!!this.el.querySelector('[slot="pre"]');const i=!!this.el.querySelector('[slot="post"]');return{pre:t,post:i}}get _tabindex(){if(this.disabled)return-1;if(this.ripple&&!this.href)return 0;return null}render(){const t=!!this.href?"a":"div";const r={"c-list-item":true,"c-list-item--active":this.active,"c-list-item--disabled":this.disabled,"c-list-item--hoverable":this.ripple||!!this.href||this.hoverable,"c-list-item--ripple":this.ripple};let s={};if(!!this.href){s={href:this.href,target:this.target}}return i(e,Object.assign({key:"ab525869daf736158f4fb40f8b974c77147228a6",role:"listitem","aria-disabled":(!!this.disabled).toString(),onClick:this._onClick,onKeyup:this._onKeyup,class:r},!!this.disabled?{disabled:"true"}:{},!!this.disabledByParent?{"data-disabled":"true"}:{},[0,-1].includes(this._tabindex)?{tabindex:this._tabindex}:{}),i(t,Object.assign({key:"6d3925010c7e94c0762bf78fbd45100c36a0c430"},s,{class:"c-list-item__content"}),this._slots.pre&&i("slot",{key:"ec0b92a3de559e63f07aaee520279627213a77d1",name:"pre"}),i("slot",{key:"bcdafe548e4940af7a97c0af67b14502a3ccde60"}),this._slots.post&&i("slot",{key:"66620685376b665e4201162e825a2cf4d11f045d",name:"post"}),this.ripple&&i("c-ripple",{key:"c94b9de41b0c8753542556b2b1b68ceb98cc1c42"})))}get el(){return r(this)}static get watchers(){return{active:["onActiveChange"]}}};c.style=s;export{c as c_list_item};
2
- //# sourceMappingURL=p-2821c17e.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["cListItemCss","CListItem","constructor","hostRef","this","active","disabled","disabledByParent","hoverable","ripple","target","_onClick","event","center","preventDefault","el","shadowRoot","querySelector","createRipple","_onKeyup","includes","key","onActiveChange","title","_slots","hasPreSlot","hasPostSlot","pre","post","_tabindex","href","render","Tag","classes","linkAttributes","h","Host","Object","assign","role","toString","onClick","onKeyup","class","tabindex","name"],"sources":["src/components/c-list-item/c-list-item.scss?tag=c-list-item&encapsulation=shadow","src/components/c-list-item/c-list-item.tsx"],"sourcesContent":[":host(c-list-item) {\n /**\n * @prop --c-list-item-text-color: Default text color\n * @prop --c-list-item-text-color-active: Active text color\n * @prop --c-list-item-background-color: Default background color\n * @prop --c-list-item-background-color-active: Active background color\n * @prop --c-list-item-background-color-hover: Hover background color\n * @prop --c-list-item-outline-color: Outline color\n */\n --_c-list-item-text-color: var(--c-list-item-text-color, var(--c-text-system));\n --_c-list-item-text-color-active: var(--c-list-item-text-color-active, var(--c-primary-600));\n --_c-list-item-background-color: var(--c-list-item-background-color, var(--c-transparent));\n --_c-list-item-background-color-active: var(--c-list-item-background-color-active, rgba(var(--c-primary-rgb), 0.1));\n --_c-list-item-background-color-hover: var(--c-list-item-background-color-hover, rgba(var(--c-primary-rgb), 0.2));\n --_c-list-item-outline-color: var(--c-list-item-outline-color, var(--c-primary-600));\n\n // private\n --_c-list-item-border-radius: 4px;\n\n display: block;\n background-color: var(--_c-list-item-background-color);\n border-radius: var(--_c-list-item-border-radius);\n\n .c-list-item__content {\n align-items: center;\n border-radius: var(--_c-list-item-border-radius);\n color: var(--_c-list-item-text-color);\n display: flex;\n gap: 16px;\n min-height: 42px;\n padding: 12px;\n width: 100%;\n position: relative;\n\n slot {\n display: grid;\n gap: 4px;\n line-height: 1.5;\n\n &:not([name]) {\n flex: 1;\n }\n }\n\n &:is(a) {\n text-decoration: none;\n border-radius: var(--_c-list-item-border-radius);\n }\n }\n}\n\n:host(c-list-item:focus-visible) {\n outline: 2px var(--_c-list-item-outline-color) solid;\n outline-offset: 2px;\n}\n\n:host(c-list-item.c-list-item--hoverable:hover) {\n background-color: var(--_c-list-item-background-color-hover);\n}\n\n:host(.c-list-item--active) {\n --_c-list-item-text-color: var(--_c-list-item-text-color-active);\n\n background-color: var(--_c-list-item-background-color-active);\n}\n\n:host(.c-list-item--ripple) {\n cursor: pointer;\n}\n\n:host(.c-list-item--disabled) {\n background-color: rgba(var(--c-tertiary-rgb), 0.05);\n cursor: default;\n opacity: 0.75;\n pointer-events: none;\n}\n\n:host(.c-list-item--disabled) ::slotted(c-icon) {\n --c-icon-color: var(--c-tertiary-400) !important;\n}\n","import { Component, Element, Host, Prop, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'c-list-item',\n styleUrl: 'c-list-item.scss',\n shadow: true,\n})\nexport class CListItem {\n @Element() el!: HTMLCListItemElement;\n\n /**\n * Set the item active\n */\n @Prop() active = false;\n\n /**\n * Disable the item\n */\n @Prop() disabled = false;\n\n /**\n * Disabled by the parent list\n * @private\n */\n @Prop() disabledByParent = false;\n\n /**\n * Display background color on hover\n */\n @Prop() hoverable = false;\n\n /**\n * Add ripple effect to the item\n */\n @Prop() ripple = false;\n\n /**\n * Hyperlink url\n */\n @Prop() href?: string;\n\n /**\n * Hyperlink target\n */\n @Prop() target = '_blank';\n\n @Watch('active')\n onActiveChange(active) {\n const title = this.el.querySelector('c-list-item-title');\n\n if (!title) return;\n\n title.active = active;\n }\n\n private get _slots() {\n const hasPreSlot = !!this.el.querySelector('[slot=\"pre\"]');\n\n const hasPostSlot = !!this.el.querySelector('[slot=\"post\"]');\n\n return {\n pre: hasPreSlot,\n post: hasPostSlot,\n };\n }\n\n private get _tabindex() {\n if (this.disabled) return -1;\n\n if (this.ripple && !this.href) return 0;\n\n return null;\n }\n\n private _onClick = (event: MouseEvent | KeyboardEvent, center = false) => {\n if (this.disabled) {\n event.preventDefault();\n\n return;\n }\n\n if (!this.ripple) return;\n\n this.el.shadowRoot\n .querySelector('c-ripple')\n .createRipple(event as MouseEvent, this.el, center);\n };\n\n private _onKeyup = (event: KeyboardEvent) => {\n if ([' ', 'Enter'].includes(event.key)) {\n this._onClick(event, true);\n }\n };\n\n render() {\n const Tag = !!this.href ? 'a' : 'div';\n\n const classes = {\n 'c-list-item': true,\n 'c-list-item--active': this.active,\n 'c-list-item--disabled': this.disabled,\n 'c-list-item--hoverable': this.ripple || !!this.href || this.hoverable,\n 'c-list-item--ripple': this.ripple,\n };\n\n let linkAttributes = {};\n\n if (!!this.href) {\n linkAttributes = { href: this.href, target: this.target };\n }\n\n return (\n <Host\n role=\"listitem\"\n aria-disabled={(!!this.disabled).toString()}\n onClick={this._onClick}\n onKeyup={this._onKeyup}\n class={classes}\n {...(!!this.disabled ? { disabled: 'true' } : {})}\n {...(!!this.disabledByParent ? { 'data-disabled': 'true' } : {})}\n {...([0, -1].includes(this._tabindex)\n ? { tabindex: this._tabindex }\n : {})}\n >\n <Tag {...linkAttributes} class=\"c-list-item__content\">\n {this._slots.pre && <slot name=\"pre\"></slot>}\n <slot></slot>\n {this._slots.post && <slot name=\"post\"></slot>}\n {this.ripple && <c-ripple></c-ripple>}\n </Tag>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAe,igE,MCORC,EAAS,MALtB,WAAAC,CAAAC,G,UAWUC,KAAMC,OAAG,MAKTD,KAAQE,SAAG,MAMXF,KAAgBG,iBAAG,MAKnBH,KAASI,UAAG,MAKZJ,KAAMK,OAAG,MAUTL,KAAMM,OAAG,SA8BTN,KAAQO,SAAG,CAACC,EAAmCC,EAAS,SAC9D,GAAIT,KAAKE,SAAU,CACjBM,EAAME,iBAEN,M,CAGF,IAAKV,KAAKK,OAAQ,OAElBL,KAAKW,GAAGC,WACLC,cAAc,YACdC,aAAaN,EAAqBR,KAAKW,GAAIF,EAAO,EAG/CT,KAAAe,SAAYP,IAClB,GAAI,CAAC,IAAK,SAASQ,SAASR,EAAMS,KAAM,CACtCjB,KAAKO,SAASC,EAAO,K,EA2C1B,CAtFC,cAAAU,CAAejB,GACb,MAAMkB,EAAQnB,KAAKW,GAAGE,cAAc,qBAEpC,IAAKM,EAAO,OAEZA,EAAMlB,OAASA,C,CAGjB,UAAYmB,GACV,MAAMC,IAAerB,KAAKW,GAAGE,cAAc,gBAE3C,MAAMS,IAAgBtB,KAAKW,GAAGE,cAAc,iBAE5C,MAAO,CACLU,IAAKF,EACLG,KAAMF,E,CAIV,aAAYG,GACV,GAAIzB,KAAKE,SAAU,OAAO,EAE1B,GAAIF,KAAKK,SAAWL,KAAK0B,KAAM,OAAO,EAEtC,OAAO,I,CAuBT,MAAAC,GACE,MAAMC,IAAQ5B,KAAK0B,KAAO,IAAM,MAEhC,MAAMG,EAAU,CACd,cAAe,KACf,sBAAuB7B,KAAKC,OAC5B,wBAAyBD,KAAKE,SAC9B,yBAA0BF,KAAKK,UAAYL,KAAK0B,MAAQ1B,KAAKI,UAC7D,sBAAuBJ,KAAKK,QAG9B,IAAIyB,EAAiB,GAErB,KAAM9B,KAAK0B,KAAM,CACfI,EAAiB,CAAEJ,KAAM1B,KAAK0B,KAAMpB,OAAQN,KAAKM,O,CAGnD,OACEyB,EAACC,EAAIC,OAAAC,OAAA,CAAAjB,IAAA,2CACHkB,KAAK,WACU,mBAAGnC,KAAKE,UAAUkC,WACjCC,QAASrC,KAAKO,SACd+B,QAAStC,KAAKe,SACdwB,MAAOV,KACA7B,KAAKE,SAAW,CAAEA,SAAU,QAAW,KACvCF,KAAKG,iBAAmB,CAAE,gBAAiB,QAAW,GACxD,CAAC,GAAG,GAAIa,SAAShB,KAAKyB,WACvB,CAAEe,SAAUxC,KAAKyB,WACjB,IAEJM,EAACH,EAAQK,OAAAC,OAAA,CAAAjB,IAAA,4CAAAa,EAAgB,CAAAS,MAAM,yBAC5BvC,KAAKoB,OAAOG,KAAOQ,EAAM,QAAAd,IAAA,2CAAAwB,KAAK,QAC/BV,EAAa,QAAAd,IAAA,6CACZjB,KAAKoB,OAAOI,MAAQO,EAAM,QAAAd,IAAA,2CAAAwB,KAAK,SAC/BzC,KAAKK,QAAU0B,EAAA,YAAAd,IAAA,8C","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["cTabButtonsCss","CTabButtons","constructor","hostRef","this","value","mandatory","tabs","size","hostDisabled","_focusedTabValue","onValueChange","buttons","forEach","button","disabled","setAttribute","find","btn","removeAttribute","changeValue","emit","_b","_a","tabFocusHandler","event","stopPropagation","detail","handleKeyUp","isArrowLeft","key","isArrowRight","tabIndex","_getTabIndex","dataset","index","firstAvailableValue","availableValues","at","lastAvailableValue","isBeginning","isEnd","nextValue","previousValue","item","shadowRoot","querySelector","requestAnimationFrame","focus","onTabChange","isActive","_isIndexBased","nullValue","map","Array","from","el","querySelectorAll","findIndex","buttonValue","componentDidLoad","every","String","outlined","render","classes","h","Host","class"],"sources":["src/components/c-tab-buttons/c-tab-buttons.scss?tag=c-tab-buttons&encapsulation=shadow","src/components/c-tab-buttons/c-tab-buttons.tsx"],"sourcesContent":[":host {\n /**\n * @prop --c-tab-buttons-background-color-active-hover: Active tab button hover background color\n * @prop --c-tab-buttons-background-color-active: Active tab button background color\n * @prop --c-tab-buttons-text-color-active: Active tab button text color\n */\n --_c-tab-buttons-background-color-active-hover: var(--c-tab-buttons-background-color-active-hover, var(--c-primary-400));\n --_c-tab-buttons-background-color-active: var(--c-tab-buttons-background-color-active, var(--c-primary-600));\n --_c-tab-buttons-text-color-active: var(--c-tab-buttons-text-color-active, var(--c-white));\n\n /**\n * @prop --c-tab-buttons-background-color-hover: Tab button hover background color\n * @prop --c-tab-buttons-background-color: Tab button background color\n * @prop --c-tab-buttons-border-color: Tab button border color\n * @prop --c-tab-buttons-text-color: Tab button text color\n */\n --_c-tab-buttons-background-color-hover: var(--c-tab-buttons-background-color-hover, var(--c-primary-200));\n --_c-tab-buttons-background-color: var(--c-tab-buttons-background-color, var(--c-white));\n --_c-tab-buttons-border-color: var(--c-tab-buttons-border-color, var(--c-primary-600));\n --_c-tab-buttons-text-color: var(--c-tab-buttons-text-color, var(--c-primary-600));\n\n /**\n * @prop --c-tab-buttons-background-color: Disabled tab buttons border color\n */\n --_c-tab-buttons-border-color-disabled: var(--c-tab-buttons-border-color-disabled, var(--c-tertiary-400));\n\n /**\n * @prop --c-tab-buttons-border-radius: Tab buttons border radius\n */\n --_c-tab-buttons-border-radius: var(--c-tab-buttons-border-radius, 4px);\n\n background-color: var(--_c-tab-buttons-border-color);\n border-radius: var(--_c-tab-buttons-border-radius);\n box-shadow: 0 0 0 2px var(--_c-tab-buttons-border-color);\n display: flex;\n flex-wrap: wrap;\n gap: 2px;\n margin: 2px;\n\n ::slotted(c-button) {\n --c-button-background-color-hover: var(--_c-tab-buttons-background-color-active-hover);\n --c-button-background-color: var(--_c-tab-buttons-background-color-active);\n --c-button-text-color: var(--_c-tab-buttons-text-color-active);\n --_c-button-border-radius: 0;\n --_c-button-min-width: auto;\n --_c-button-padding: 0 8px;\n --_c-button-outline-offset: 4px;\n\n flex-grow: 1;\n }\n\n ::slotted(c-button.c-button--outlined) {\n --c-button-outlined-background-color-hover: var(--_c-tab-buttons-background-color-hover);\n --c-button-outlined-background-color: var(--_c-tab-buttons-background-color);\n --c-button-outlined-border-color: var(--_c-tab-buttons-border-color);\n --c-button-outlined-text-color: var(--_c-tab-buttons-text-color);\n\n box-shadow: none;\n\n &::before,\n &::after {\n background-color: #ffffff;\n border-radius: inherit;\n content: \"\";\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n transition: background-color 0.3s ease-in-out;\n width: 100%;\n z-index: -1;\n }\n\n &:hover {\n background-color: var(--c-tab-button-background-color);\n }\n }\n\n ::slotted(c-button:first-child) {\n --_c-button-border-radius: var(--_c-tab-buttons-border-radius) 0 0 var(--_c-tab-buttons-border-radius);\n }\n\n ::slotted(c-button:last-child) {\n --_c-button-border-radius: 0 var(--_c-tab-buttons-border-radius) var(--_c-tab-buttons-border-radius) 0;\n }\n\n ::slotted(*) {\n flex-grow: 1;\n }\n}\n\n:host(.disabled) {\n --_c-tab-buttons-border-color: var(--_c-tab-buttons-border-color-disabled) !important;\n\n pointer-events: none;\n}\n\n:host(.c-tab-buttons) {\n ::slotted(c-button:focus) {\n outline: none;\n }\n\n ::slotted(c-button:focus-visible) {\n outline: 2px var(--_c-tab-buttons-border-color) solid;\n outline-offset: 4px;\n z-index: 1;\n }\n}\n","import {\n Component,\n h,\n Element,\n Prop,\n Event,\n EventEmitter,\n Watch,\n Listen,\n Host,\n} from '@stencil/core';\n\n/**\n * @group Content Selectors\n * @slot Default slot - Default slot for the c-button elements\n */\n@Component({\n tag: 'c-tab-buttons',\n styleUrl: 'c-tab-buttons.scss',\n shadow: true,\n})\nexport class CTabButtons {\n /**\n * Value of tab buttons\n */\n @Prop({ mutable: true }) value: number | string = 0;\n\n /**\n * Always require a selection\n */\n @Prop() mandatory = false;\n\n /**\n * Used as controller for c-tabs\n * @private\n */\n @Prop() tabs = false;\n\n /**\n * Size of the buttons\n */\n @Prop() size: 'default' | 'small' = 'default';\n\n /**\n * Disable tab buttons\n */\n @Prop({ attribute: 'disabled' }) hostDisabled = false;\n\n /**\n * Emit changes to the parent\n */\n @Event({ bubbles: false })\n changeValue: EventEmitter<number | string>;\n\n @Element() el: HTMLCTabButtonsElement;\n\n private _isIndexBased: boolean;\n\n private _focusedTabValue = this.value;\n\n @Watch('value')\n onValueChange(value: string | number) {\n this.buttons.forEach((button: HTMLCButtonElement) => {\n if (!button.disabled) {\n button.setAttribute('outlined', 'true');\n }\n });\n\n if (value !== null) {\n this.buttons.forEach((button: HTMLCButtonElement) => {\n if (!button.disabled) {\n button.setAttribute('outlined', 'true');\n }\n });\n\n const button =\n this.buttons.find((btn) => btn.value === value) || this.buttons[value];\n\n if (button) {\n button.removeAttribute('outlined');\n }\n }\n\n this.changeValue.emit(this.buttons[value]?.value ?? value);\n }\n\n @Listen('tabFocus', { passive: true })\n tabFocusHandler(event: CustomEvent) {\n event.stopPropagation();\n\n this._focusedTabValue = event.detail;\n }\n\n @Listen('keyup', { capture: true })\n handleKeyUp(event: KeyboardEvent) {\n event.stopPropagation();\n\n const isArrowLeft = event.key === 'ArrowLeft';\n const isArrowRight = event.key === 'ArrowRight';\n\n if (!isArrowRight && !isArrowLeft) return;\n\n const tabIndex =\n this._getTabIndex(this._focusedTabValue) ??\n +this.buttons[this._focusedTabValue]?.dataset.index;\n\n const firstAvailableValue = this.availableValues.at(0);\n const lastAvailableValue = this.availableValues.at(-1);\n\n const isBeginning = this._focusedTabValue === firstAvailableValue;\n const isEnd = this._focusedTabValue === lastAvailableValue;\n\n const nextValue = isEnd\n ? firstAvailableValue\n : this.availableValues[tabIndex + 1];\n\n const previousValue = isBeginning\n ? lastAvailableValue\n : this.availableValues[tabIndex - 1];\n\n const value = isArrowLeft ? previousValue : nextValue;\n\n const item = this.buttons\n .find(\n (button) => button.value === value || button.dataset.index === value,\n )\n .shadowRoot.querySelector('button');\n\n requestAnimationFrame(() => {\n item?.focus();\n });\n }\n\n @Listen('tabChange', { passive: true })\n onTabChange(\n event: CustomEvent<{\n value: number | string;\n element: HTMLCButtonElement;\n }>,\n ) {\n if (!this.tabs) event.stopPropagation();\n\n const isActive =\n this.value !== null &&\n (this._isIndexBased\n ? +event.detail.value === +this.value\n : event.detail.value === this.value);\n\n // Disable deselection if mandatory prop is set to true\n if (this.mandatory && isActive) {\n return;\n }\n\n const nullValue = this._isIndexBased ? null : '';\n const value = this._isIndexBased ? +event.detail.value : event.detail.value;\n\n this.value = isActive ? nullValue : value;\n }\n\n get availableValues() {\n return this.buttons.map((button) => button.value ?? button.dataset.index);\n }\n\n get buttons() {\n return Array.from(\n this.el.querySelectorAll(':scope > c-button'),\n ) as HTMLCButtonElement[];\n }\n\n private _getTabIndex(value: string | number) {\n const index = this.availableValues.findIndex(\n (buttonValue) => buttonValue === value,\n );\n\n return index;\n }\n\n componentDidLoad() {\n this._isIndexBased = this.buttons.every(\n (button) => typeof button.value === 'undefined',\n );\n\n this.buttons.forEach((button: HTMLCButtonElement, index) => {\n button.setAttribute('data-index', String(index));\n button.setAttribute('tabs', 'true');\n\n if (!button.disabled) {\n button.setAttribute('outlined', 'true');\n button.outlined = true;\n }\n\n button.disabled = this.hostDisabled || button.disabled;\n button.size = this.size;\n\n const isActive =\n this.value !== null &&\n (this._isIndexBased\n ? index === +this.value\n : button.value === this.value);\n\n button.shadowRoot\n .querySelector('button')\n ?.setAttribute('tabindex', isActive && !this.hostDisabled ? '0' : '-1');\n\n if (isActive) {\n button.removeAttribute('outlined');\n }\n });\n }\n\n render() {\n const classes = {\n 'c-tab-buttons': true,\n disabled: this.hostDisabled,\n };\n\n return (\n <Host class={classes}>\n <slot></slot>\n </Host>\n );\n }\n}\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as s,c as e,h as t,H as i,g as c}from"./p-gSzSMY-c.js";const r="html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}:host{--_c-steps-outline-color:var(--c-steps-outline-color, var(--c-primary-600));--_c-steps-color:var(--c-step-color, var(--c-tertiary-500));--_c-steps-color-complete:var(--c-step-color-complete, var(--c-primary-600));width:100%;display:grid;gap:8px;border-radius:6px}@supports selector(:focus-visible){:host(:focus){outline:none}}:host(:focus-visible){outline:2px var(--_c-steps-outline-color) solid;outline-offset:2px}.c-steps{--c-steps-divider-width:calc(100% + 160px);--c-steps-divider-margin:10px -80px 0;width:100%;display:flex;flex-wrap:nowrap}.c-steps slot{display:flex;justify-items:space-between;width:100%}.c-steps ::slotted(.divider){height:2px;flex:1;background-color:var(--_c-steps-color);width:var(--c-steps-divider-width);margin:var(--c-steps-divider-margin) !important}.c-steps ::slotted(.divider.complete){background-color:var(--_c-steps-color-complete);height:4px;margin-top:9px}.c-steps.mobile{--c-steps-divider-width:calc(100% + 11px);--c-steps-divider-margin:10px -10px 0}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";const a=class{constructor(t){s(this,t);this.changeValue=e(this,"changeValue",3);this.isMobile=false;this.label="";this._isInitialized=false}watchPropHandler(){this._handleDividers()}_handleDividers(){this._stepElements=this.host.querySelectorAll("c-step");const s=this.host.querySelectorAll(".divider");this._stepElements.forEach(((e,t)=>{e.current=t+1===+this.value;e.complete=t+1<+this.value;if(t+1<this._stepElements.length){const i=this._isInitialized?s[t]:document.createElement("div");i.classList.toggle("complete",!!e.complete);if(!this._isInitialized){i.classList.add("divider");e.after(i)}}if(e.current){this.label=e.textContent}}));this._isInitialized=true}componentDidLoad(){this._handleDividers();this._resizeObserver=new ResizeObserver((([s])=>{const e=this._stepElements.length*180;this.isMobile=e>s.contentRect.width;this.host.shadowRoot.querySelector(".c-steps").classList.toggle("mobile",this.isMobile);this._stepElements.forEach((s=>{s.classList.toggle("mobile",this.isMobile)}))}));window.requestAnimationFrame((()=>{this._resizeObserver.observe(this.host)}))}_getA11yMessage(s,e){return`\n Steps, step ${Math.min(e,s)} of ${s}.\n ${this.label}.\n ${e-1} step${e-1!==1?"s":""} marked as completed.\n `}render(){return t(i,{key:"892c165fcbabe7f78a65c542986ceda0d2785729",tabindex:"0"},this._stepElements&&t("span",{key:"b26a8a291c6314c02afaef7325f3cd34b9f2c341",class:"visuallyhidden"},this._getA11yMessage(this._stepElements.length,+this.value)),t("div",{key:"1551651adcc886381b5ebbdcb93243b76a831d9a",class:"c-steps","aria-hidden":"true"},t("slot",{key:"00e7cce0782fa5945d606016ab1eccd1ac3da63a"})),this.isMobile&&t("div",{key:"ef906ebd3c17e45c97bffb0adc92472c4182acfa",class:"c-steps__label","aria-hidden":"true"},this.label))}get host(){return c(this)}static get watchers(){return{value:["watchPropHandler"]}}};a.style=r;export{a as c_steps};
2
- //# sourceMappingURL=p-5e779d4e.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as i,c as o,h as t,g as s}from"./p-gSzSMY-c.js";const a="html{box-sizing:border-box}body{margin:0}*,*:before,*:after{box-sizing:inherit;-webkit-tap-highlight-color:transparent}:host{font-family:var(--c-font-family)}::-ms-reveal{display:none}dialog{background-color:transparent;border:none;color:var(--c-text-body);inset:0;margin:auto;max-width:calc(100% - 32px);overflow:visible;padding:0;width:var(--_c-modal-width, 600px)}dialog:not([open]){pointer-events:none;opacity:0}dialog::backdrop{background-color:rgba(0, 0, 0, 0.5)}dialog.backdrop-blur::backdrop{backdrop-filter:blur(4px)}@media (prefers-reduced-motion: no-preference){dialog.nudging{animation:dialog-nudge 0.15s cubic-bezier(0.25, 0.8, 0.25, 1) !important}dialog.opening{animation:dialog-open 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards}dialog.opening::backdrop{animation:backdrop-fadein 0.3s forwards}dialog.closing{animation:dialog-close 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards}dialog.closing::backdrop{animation:backdrop-fadeout 0.3s forwards}}@keyframes dialog-nudge{0%{transform:scale(1)}50%{transform:scale(1.03)}100%{transform:scale(1)}}@keyframes dialog-open{from{transform:scale(0)}to{transform:scale(1)}}@keyframes dialog-close{to{transform:scale(0)}}@keyframes backdrop-fadein{from{opacity:0}to{opacity:1}}@keyframes backdrop-fadeout{from{opacity:1}to{opacity:0}}";const n=class{constructor(t){i(this,t);this.changeValue=o(this,"changeValue",3);this.value=false;this.dismissable=false;this.width=600;this.zIndex=10;this.disableBackdropBlur=false;this.innerValue=false;this.animateModal=false;this._debounce=null;this._animationsDisabled=false;this._handleShow=()=>{var i,o,t;if(!this._animationsDisabled){(i=this._dialog)===null||i===void 0?void 0:i.addEventListener("animationend",this._onDialogOpened);(o=this._dialog)===null||o===void 0?void 0:o.classList.add("opening")}(t=this._dialog)===null||t===void 0?void 0:t.showModal()};this._onDialogOpened=()=>{var i,o;(i=this._dialog)===null||i===void 0?void 0:i.removeEventListener("animationend",this._onDialogOpened);(o=this._dialog)===null||o===void 0?void 0:o.classList.remove("opening")};this._handleClose=()=>{var i,o;if(this._animationsDisabled){this._onDialogClosed();return}(i=this._dialog)===null||i===void 0?void 0:i.addEventListener("animationend",this._onDialogClosed);(o=this._dialog)===null||o===void 0?void 0:o.classList.add("closing")};this._onDialogClosed=()=>{var i,o,t;if(!this._animationsDisabled){(i=this._dialog)===null||i===void 0?void 0:i.removeEventListener("animationend",this._onDialogClosed);(o=this._dialog)===null||o===void 0?void 0:o.classList.remove("closing")}(t=this._dialog)===null||t===void 0?void 0:t.close();if(!document.fullscreenElement)return;document.exitFullscreen()};this._handleClickOutside=()=>{this._dialog.addEventListener("click",(i=>{if(i.clientX===0&&i.clientY===0)return;const o=this._dialog.getBoundingClientRect();if(i.clientX<o.left||i.clientX>o.right||i.clientY<o.top||i.clientY>o.bottom){if(!this.dismissable){this._dialog.classList.add("nudging");if(this._debounce!==null){clearTimeout(this._debounce);this._debounce=null}this._debounce=window.setTimeout((()=>{this._dialog.classList.remove("nudging");this._debounce=null}),150);return}this._handleClose();this.changeValue.emit(false)}}))};this._handleKeyDown=i=>{if(i.keyCode===27){i.preventDefault();this._handleClose();this.changeValue.emit(false)}}}onValueChange(i){if(i){this._handleShow();return}this._handleClose()}componentWillLoad(){this.innerValue=this.value;const i=isNaN(this.width)?this.width:`${this.width}px`;this.el.style.setProperty("--_c-modal-width",`${i}`)}componentDidLoad(){const i=window.matchMedia("(prefers-reduced-motion: reduce)");this._animationsDisabled=i.matches;this._handleClickOutside();if(this.value){this._handleShow()}}render(){const i={"z-index":`${this.zIndex}`};const o={"backdrop-blur":!this.disableBackdropBlur};return t("dialog",{key:"963cf5d4e188d387d68e7f6bc3baf58246726965",ref:i=>this._dialog=i,style:i,class:o,onKeyDown:this._handleKeyDown},t("slot",{key:"b3fba4bdc9f46c5d54b52f1dac2a728f89e46ca8"}))}get el(){return s(this)}static get watchers(){return{value:["onValueChange"]}}};n.style=a;export{n as c_modal};
2
- //# sourceMappingURL=p-603ef97a.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["cModalCss","CModal","constructor","hostRef","this","value","dismissable","width","zIndex","disableBackdropBlur","innerValue","animateModal","_debounce","_animationsDisabled","_handleShow","_a","_dialog","addEventListener","_onDialogOpened","_b","classList","add","_c","showModal","removeEventListener","remove","_handleClose","_onDialogClosed","close","document","fullscreenElement","exitFullscreen","_handleClickOutside","e","clientX","clientY","dialogDimensions","getBoundingClientRect","left","right","top","bottom","clearTimeout","window","setTimeout","changeValue","emit","_handleKeyDown","keyCode","preventDefault","onValueChange","componentWillLoad","isNaN","el","style","setProperty","componentDidLoad","query","matchMedia","matches","render","dialogStyle","classes","h","key","ref","class","onKeyDown"],"sources":["src/components/c-modal/c-modal.scss?tag=c-modal&encapsulation=shadow","src/components/c-modal/c-modal.tsx"],"sourcesContent":["dialog {\n background-color: transparent;\n border: none;\n color: var(--c-text-body);\n inset: 0;\n margin: auto;\n max-width: calc(100% - 32px);\n overflow: visible;\n padding: 0;\n width: var(--_c-modal-width, 600px);\n\n &:not([open]) {\n pointer-events: none;\n opacity: 0;\n }\n\n &::backdrop {\n background-color: rgba(0, 0, 0, 0.5);\n }\n\n &.backdrop-blur {\n &::backdrop {\n backdrop-filter: blur(4px);\n }\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n dialog {\n &.nudging {\n animation: dialog-nudge 0.15s cubic-bezier(0.25, 0.8, 0.25, 1) !important;\n }\n\n &.opening {\n animation: dialog-open 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;\n\n &::backdrop {\n animation: backdrop-fadein 0.3s forwards;\n }\n }\n\n &.closing {\n animation: dialog-close 0.3s cubic-bezier(0.25, 0.8, 0.5, 1) forwards;\n\n &::backdrop {\n animation: backdrop-fadeout 0.3s forwards;\n }\n }\n }\n}\n\n@keyframes dialog-nudge {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.03);\n }\n\n 100% {\n transform: scale(1);\n }\n}\n\n@keyframes dialog-open {\n from {\n transform: scale(0);\n }\n\n to {\n transform: scale(1);\n }\n}\n\n@keyframes dialog-close {\n to {\n transform: scale(0);\n }\n}\n\n@keyframes backdrop-fadein {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes backdrop-fadeout {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n","import {\n Component,\n h,\n Prop,\n Event,\n EventEmitter,\n State,\n Watch,\n Element,\n} from '@stencil/core';\n\n/**\n * @group Popups\n */\n@Component({\n tag: 'c-modal',\n styleUrl: 'c-modal.scss',\n shadow: true,\n})\nexport class CModal {\n @Element() el: HTMLCModalElement;\n\n private _dialog?: HTMLDialogElement;\n\n /**\n * Is the modal visible\n */\n @Prop() value = false;\n\n /**\n * Dismissed when touching/clicking outside the content\n */\n @Prop() dismissable = false;\n\n /**\n * Width of the dialog. Numeric value is considered as pixel value (400 -> 400px)\n *\n */\n @Prop() width: string | number = 600;\n\n /**\n * Z-index of the modal\n */\n @Prop() zIndex = 10;\n\n /**\n * Disable backdrop blur effect\n */\n @Prop() disableBackdropBlur = false;\n\n /**\n * Triggered when value is changed\n */\n @Event({ bubbles: false })\n changeValue: EventEmitter<boolean>;\n\n @State() innerValue = false;\n\n @State() animateModal = false;\n\n private _debounce = null;\n\n private _animationsDisabled = false;\n\n @Watch('value')\n onValueChange(value: boolean) {\n if (value) {\n this._handleShow();\n\n return;\n }\n\n this._handleClose();\n }\n\n private _handleShow = () => {\n if (!this._animationsDisabled) {\n this._dialog?.addEventListener('animationend', this._onDialogOpened);\n this._dialog?.classList.add('opening');\n }\n\n this._dialog?.showModal();\n };\n\n private _onDialogOpened = () => {\n this._dialog?.removeEventListener('animationend', this._onDialogOpened);\n this._dialog?.classList.remove('opening');\n };\n\n private _handleClose = () => {\n if (this._animationsDisabled) {\n this._onDialogClosed();\n\n return;\n }\n\n this._dialog?.addEventListener('animationend', this._onDialogClosed);\n this._dialog?.classList.add('closing');\n };\n\n private _onDialogClosed = () => {\n if (!this._animationsDisabled) {\n this._dialog?.removeEventListener('animationend', this._onDialogClosed);\n this._dialog?.classList.remove('closing');\n }\n\n this._dialog?.close();\n\n if (!document.fullscreenElement) return;\n\n document.exitFullscreen();\n };\n\n private _handleClickOutside = () => {\n this._dialog.addEventListener('click', (e) => {\n if (e.clientX === 0 && e.clientY === 0) return;\n\n const dialogDimensions = this._dialog.getBoundingClientRect();\n\n if (\n e.clientX < dialogDimensions.left ||\n e.clientX > dialogDimensions.right ||\n e.clientY < dialogDimensions.top ||\n e.clientY > dialogDimensions.bottom\n ) {\n if (!this.dismissable) {\n this._dialog.classList.add('nudging');\n\n if (this._debounce !== null) {\n clearTimeout(this._debounce);\n this._debounce = null;\n }\n\n this._debounce = window.setTimeout(() => {\n this._dialog.classList.remove('nudging');\n\n this._debounce = null;\n }, 150);\n\n return;\n }\n\n this._handleClose();\n this.changeValue.emit(false);\n }\n });\n };\n\n private _handleKeyDown = (e) => {\n if (e.keyCode === 27) {\n e.preventDefault();\n this._handleClose();\n this.changeValue.emit(false);\n }\n };\n\n componentWillLoad() {\n this.innerValue = this.value;\n\n const width = isNaN(this.width as number) ? this.width : `${this.width}px`;\n\n this.el.style.setProperty('--_c-modal-width', `${width}`);\n }\n\n componentDidLoad() {\n const query = window.matchMedia('(prefers-reduced-motion: reduce)');\n\n this._animationsDisabled = query.matches;\n\n this._handleClickOutside();\n\n if (this.value) {\n this._handleShow();\n }\n }\n\n render() {\n const dialogStyle = {\n 'z-index': `${this.zIndex}`,\n };\n\n const classes = {\n 'backdrop-blur': !this.disableBackdropBlur,\n };\n\n return (\n <dialog\n ref={(el) => (this._dialog = el as HTMLDialogElement)}\n style={dialogStyle}\n class={classes}\n onKeyDown={this._handleKeyDown}\n >\n <slot></slot>\n </dialog>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAY,0wC,MCmBLC,EAAM,MALnB,WAAAC,CAAAC,G,mDAaUC,KAAKC,MAAG,MAKRD,KAAWE,YAAG,MAMdF,KAAKG,MAAoB,IAKzBH,KAAMI,OAAG,GAKTJ,KAAmBK,oBAAG,MAQrBL,KAAUM,WAAG,MAEbN,KAAYO,aAAG,MAEhBP,KAASQ,UAAG,KAEZR,KAAmBS,oBAAG,MAatBT,KAAWU,YAAG,K,UACpB,IAAKV,KAAKS,oBAAqB,EAC7BE,EAAAX,KAAKY,WAAO,MAAAD,SAAA,SAAAA,EAAEE,iBAAiB,eAAgBb,KAAKc,kBACpDC,EAAAf,KAAKY,WAAS,MAAAG,SAAA,SAAAA,EAAAC,UAAUC,IAAI,U,EAG9BC,EAAAlB,KAAKY,WAAS,MAAAM,SAAA,SAAAA,EAAAC,WAAW,EAGnBnB,KAAec,gBAAG,K,SACxBH,EAAAX,KAAKY,WAAO,MAAAD,SAAA,SAAAA,EAAES,oBAAoB,eAAgBpB,KAAKc,kBACvDC,EAAAf,KAAKY,WAAS,MAAAG,SAAA,SAAAA,EAAAC,UAAUK,OAAO,UAAU,EAGnCrB,KAAYsB,aAAG,K,QACrB,GAAItB,KAAKS,oBAAqB,CAC5BT,KAAKuB,kBAEL,M,EAGFZ,EAAAX,KAAKY,WAAO,MAAAD,SAAA,SAAAA,EAAEE,iBAAiB,eAAgBb,KAAKuB,kBACpDR,EAAAf,KAAKY,WAAS,MAAAG,SAAA,SAAAA,EAAAC,UAAUC,IAAI,UAAU,EAGhCjB,KAAeuB,gBAAG,K,UACxB,IAAKvB,KAAKS,oBAAqB,EAC7BE,EAAAX,KAAKY,WAAO,MAAAD,SAAA,SAAAA,EAAES,oBAAoB,eAAgBpB,KAAKuB,kBACvDR,EAAAf,KAAKY,WAAS,MAAAG,SAAA,SAAAA,EAAAC,UAAUK,OAAO,U,EAGjCH,EAAAlB,KAAKY,WAAS,MAAAM,SAAA,SAAAA,EAAAM,QAEd,IAAKC,SAASC,kBAAmB,OAEjCD,SAASE,gBAAgB,EAGnB3B,KAAmB4B,oBAAG,KAC5B5B,KAAKY,QAAQC,iBAAiB,SAAUgB,IACtC,GAAIA,EAAEC,UAAY,GAAKD,EAAEE,UAAY,EAAG,OAExC,MAAMC,EAAmBhC,KAAKY,QAAQqB,wBAEtC,GACEJ,EAAEC,QAAUE,EAAiBE,MAC7BL,EAAEC,QAAUE,EAAiBG,OAC7BN,EAAEE,QAAUC,EAAiBI,KAC7BP,EAAEE,QAAUC,EAAiBK,OAC7B,CACA,IAAKrC,KAAKE,YAAa,CACrBF,KAAKY,QAAQI,UAAUC,IAAI,WAE3B,GAAIjB,KAAKQ,YAAc,KAAM,CAC3B8B,aAAatC,KAAKQ,WAClBR,KAAKQ,UAAY,I,CAGnBR,KAAKQ,UAAY+B,OAAOC,YAAW,KACjCxC,KAAKY,QAAQI,UAAUK,OAAO,WAE9BrB,KAAKQ,UAAY,IAAI,GACpB,KAEH,M,CAGFR,KAAKsB,eACLtB,KAAKyC,YAAYC,KAAK,M,IAExB,EAGI1C,KAAA2C,eAAkBd,IACxB,GAAIA,EAAEe,UAAY,GAAI,CACpBf,EAAEgB,iBACF7C,KAAKsB,eACLtB,KAAKyC,YAAYC,KAAK,M,EA4C3B,CAnIC,aAAAI,CAAc7C,GACZ,GAAIA,EAAO,CACTD,KAAKU,cAEL,M,CAGFV,KAAKsB,c,CAoFP,iBAAAyB,GACE/C,KAAKM,WAAaN,KAAKC,MAEvB,MAAME,EAAQ6C,MAAMhD,KAAKG,OAAmBH,KAAKG,MAAQ,GAAGH,KAAKG,UAEjEH,KAAKiD,GAAGC,MAAMC,YAAY,mBAAoB,GAAGhD,I,CAGnD,gBAAAiD,GACE,MAAMC,EAAQd,OAAOe,WAAW,oCAEhCtD,KAAKS,oBAAsB4C,EAAME,QAEjCvD,KAAK4B,sBAEL,GAAI5B,KAAKC,MAAO,CACdD,KAAKU,a,EAIT,MAAA8C,GACE,MAAMC,EAAc,CAClB,UAAW,GAAGzD,KAAKI,UAGrB,MAAMsD,EAAU,CACd,iBAAkB1D,KAAKK,qBAGzB,OACEsD,EAAA,UAAAC,IAAA,2CACEC,IAAMZ,GAAQjD,KAAKY,QAAUqC,EAC7BC,MAAOO,EACPK,MAAOJ,EACPK,UAAW/D,KAAK2C,gBAEhBgB,EAAa,QAAAC,IAAA,6C","ignoreList":[]}