@cscfi/csc-ui 2.2.4 → 2.2.6

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 (981) hide show
  1. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  2. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  3. package/dist/cjs/c-accordion-item.cjs.entry.js +108 -107
  4. package/dist/cjs/c-accordion-item.cjs.entry.js.map +1 -1
  5. package/dist/cjs/c-accordion.cjs.entry.js +53 -52
  6. package/dist/cjs/c-accordion.cjs.entry.js.map +1 -1
  7. package/dist/cjs/c-alert.cjs.entry.js +17 -16
  8. package/dist/cjs/c-alert.cjs.entry.js.map +1 -1
  9. package/dist/cjs/c-autocomplete_34.cjs.entry.js +2438 -2390
  10. package/dist/cjs/c-autocomplete_34.cjs.entry.js.map +1 -1
  11. package/dist/cjs/c-data-table.cjs.entry.js +678 -677
  12. package/dist/cjs/c-data-table.cjs.entry.js.map +1 -1
  13. package/dist/cjs/c-link.cjs.entry.js +19 -18
  14. package/dist/cjs/c-link.cjs.entry.js.map +1 -1
  15. package/dist/cjs/c-list-item-title.cjs.entry.js +14 -13
  16. package/dist/cjs/c-list-item-title.cjs.entry.js.map +1 -1
  17. package/dist/cjs/c-list-item.cjs.entry.js +70 -69
  18. package/dist/cjs/c-list-item.cjs.entry.js.map +1 -1
  19. package/dist/cjs/c-list.cjs.entry.js +33 -32
  20. package/dist/cjs/c-list.cjs.entry.js.map +1 -1
  21. package/dist/cjs/c-login-button.cjs.entry.js +13 -12
  22. package/dist/cjs/c-login-button.cjs.entry.js.map +1 -1
  23. package/dist/cjs/c-login-buttons.cjs.entry.js +9 -8
  24. package/dist/cjs/c-login-buttons.cjs.entry.js.map +1 -1
  25. package/dist/cjs/c-login-card-actions.cjs.entry.js +9 -9
  26. package/dist/cjs/c-login-card-actions.cjs.entry.js.map +1 -1
  27. package/dist/cjs/c-login-card-content.cjs.entry.js +9 -8
  28. package/dist/cjs/c-login-card-content.cjs.entry.js.map +1 -1
  29. package/dist/cjs/c-login-card-title.cjs.entry.js +9 -8
  30. package/dist/cjs/c-login-card-title.cjs.entry.js.map +1 -1
  31. package/dist/cjs/c-login-card.cjs.entry.js +54 -53
  32. package/dist/cjs/c-login-card.cjs.entry.js.map +1 -1
  33. package/dist/cjs/c-menu_2.cjs.entry.js +317 -315
  34. package/dist/cjs/c-menu_2.cjs.entry.js.map +1 -1
  35. package/dist/cjs/c-modal.cjs.entry.js +109 -108
  36. package/dist/cjs/c-modal.cjs.entry.js.map +1 -1
  37. package/dist/cjs/c-option-value.cjs.entry.js +9 -8
  38. package/dist/cjs/c-option-value.cjs.entry.js.map +1 -1
  39. package/dist/cjs/c-pagination.cjs.entry.js +214 -213
  40. package/dist/cjs/c-pagination.cjs.entry.js.map +1 -1
  41. package/dist/cjs/c-progress-bar.cjs.entry.js +46 -45
  42. package/dist/cjs/c-progress-bar.cjs.entry.js.map +1 -1
  43. package/dist/cjs/c-row.cjs.entry.js +23 -22
  44. package/dist/cjs/c-row.cjs.entry.js.map +1 -1
  45. package/dist/cjs/c-slider.cjs.entry.js +87 -86
  46. package/dist/cjs/c-slider.cjs.entry.js.map +1 -1
  47. package/dist/cjs/c-status.cjs.entry.js +11 -10
  48. package/dist/cjs/c-status.cjs.entry.js.map +1 -1
  49. package/dist/cjs/c-step.cjs.entry.js +15 -14
  50. package/dist/cjs/c-step.cjs.entry.js.map +1 -1
  51. package/dist/cjs/c-steps.cjs.entry.js +62 -61
  52. package/dist/cjs/c-steps.cjs.entry.js.map +1 -1
  53. package/dist/cjs/c-swiper-tab.cjs.entry.js +35 -34
  54. package/dist/cjs/c-swiper-tab.cjs.entry.js.map +1 -1
  55. package/dist/cjs/c-swiper.cjs.entry.js +119 -118
  56. package/dist/cjs/c-swiper.cjs.entry.js.map +1 -1
  57. package/dist/cjs/c-tab-buttons.cjs.entry.js +118 -117
  58. package/dist/cjs/c-tab-buttons.cjs.entry.js.map +1 -1
  59. package/dist/cjs/c-tab-item.cjs.entry.js +29 -28
  60. package/dist/cjs/c-tab-item.cjs.entry.js.map +1 -1
  61. package/dist/cjs/c-tab-items.cjs.entry.js +67 -66
  62. package/dist/cjs/c-tab-items.cjs.entry.js.map +1 -1
  63. package/dist/cjs/c-tab.cjs.entry.js +46 -45
  64. package/dist/cjs/c-tab.cjs.entry.js.map +1 -1
  65. package/dist/cjs/c-tabs.cjs.entry.js +394 -393
  66. package/dist/cjs/c-tabs.cjs.entry.js.map +1 -1
  67. package/dist/cjs/c-tag.cjs.entry.js +34 -33
  68. package/dist/cjs/c-tag.cjs.entry.js.map +1 -1
  69. package/dist/cjs/c-tags.cjs.entry.js +18 -17
  70. package/dist/cjs/c-tags.cjs.entry.js.map +1 -1
  71. package/dist/cjs/c-toast.cjs.entry.js +60 -59
  72. package/dist/cjs/c-toast.cjs.entry.js.map +1 -1
  73. package/dist/cjs/c-toasts.cjs.entry.js +64 -63
  74. package/dist/cjs/c-toasts.cjs.entry.js.map +1 -1
  75. package/dist/cjs/csc-ui.cjs.js +13 -11
  76. package/dist/cjs/csc-ui.cjs.js.map +1 -1
  77. package/dist/cjs/index-4fc978c6.js +1878 -0
  78. package/dist/cjs/index-4fc978c6.js.map +1 -0
  79. package/dist/cjs/index-f799b2ea.js +23 -0
  80. package/dist/cjs/{index-72dca436.js.map → index-f799b2ea.js.map} +1 -1
  81. package/dist/cjs/index.cjs.js +1 -1
  82. package/dist/cjs/loader.cjs.js +5 -3
  83. package/dist/cjs/loader.cjs.js.map +1 -1
  84. package/dist/collection/collection-manifest.json +2 -2
  85. package/dist/collection/components/c-accordion/c-accordion.js +164 -164
  86. package/dist/collection/components/c-accordion/c-accordion.js.map +1 -1
  87. package/dist/collection/components/c-accordion/test/c-accordion.visual.js +40 -40
  88. package/dist/collection/components/c-accordion/test/c-accordion.visual.js.map +1 -1
  89. package/dist/collection/components/c-accordion-item/c-accordion-item.js +254 -254
  90. package/dist/collection/components/c-accordion-item/c-accordion-item.js.map +1 -1
  91. package/dist/collection/components/c-alert/c-alert.js +51 -51
  92. package/dist/collection/components/c-alert/c-alert.js.map +1 -1
  93. package/dist/collection/components/c-alert/test/c-alert.visual.js +18 -18
  94. package/dist/collection/components/c-alert/test/c-alert.visual.js.map +1 -1
  95. package/dist/collection/components/c-autocomplete/c-autocomplete.js +740 -740
  96. package/dist/collection/components/c-autocomplete/c-autocomplete.js.map +1 -1
  97. package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js +23 -23
  98. package/dist/collection/components/c-autocomplete/test/c-autocomplete.visual.js.map +1 -1
  99. package/dist/collection/components/c-badge/c-badge.js +15 -15
  100. package/dist/collection/components/c-badge/c-badge.js.map +1 -1
  101. package/dist/collection/components/c-button/c-button.js +502 -502
  102. package/dist/collection/components/c-button/c-button.js.map +1 -1
  103. package/dist/collection/components/c-button/test/c-button.visual.js +72 -72
  104. package/dist/collection/components/c-button/test/c-button.visual.js.map +1 -1
  105. package/dist/collection/components/c-card/c-card.js +128 -128
  106. package/dist/collection/components/c-card/c-card.js.map +1 -1
  107. package/dist/collection/components/c-card/test/c-card.visual.js +8 -8
  108. package/dist/collection/components/c-card/test/c-card.visual.js.map +1 -1
  109. package/dist/collection/components/c-card-actions/c-card-actions.js +64 -64
  110. package/dist/collection/components/c-card-actions/c-card-actions.js.map +1 -1
  111. package/dist/collection/components/c-card-content/c-card-content.js +15 -15
  112. package/dist/collection/components/c-card-content/c-card-content.js.map +1 -1
  113. package/dist/collection/components/c-card-title/c-card-title.js +45 -45
  114. package/dist/collection/components/c-card-title/c-card-title.js.map +1 -1
  115. package/dist/collection/components/c-checkbox/c-checkbox.js +355 -355
  116. package/dist/collection/components/c-checkbox/c-checkbox.js.map +1 -1
  117. package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js +12 -12
  118. package/dist/collection/components/c-checkbox/test/c-checkbox.visual.js.map +1 -1
  119. package/dist/collection/components/c-csc-logo/c-csc-logo.js +41 -41
  120. package/dist/collection/components/c-csc-logo/c-csc-logo.js.map +1 -1
  121. package/dist/collection/components/c-data-table/c-data-table.js +1140 -1140
  122. package/dist/collection/components/c-data-table/c-data-table.js.map +1 -1
  123. package/dist/collection/components/c-data-table/test/c-data-table.visual.js +23 -23
  124. package/dist/collection/components/c-data-table/test/c-data-table.visual.js.map +1 -1
  125. package/dist/collection/components/c-data-table/test/data/index.js +96 -96
  126. package/dist/collection/components/c-data-table/test/data/index.js.map +1 -1
  127. package/dist/collection/components/c-dropdown/c-dropdown.js +615 -612
  128. package/dist/collection/components/c-dropdown/c-dropdown.js.map +1 -1
  129. package/dist/collection/components/c-icon/c-icon.js +84 -84
  130. package/dist/collection/components/c-icon/c-icon.js.map +1 -1
  131. package/dist/collection/components/c-icon-button/c-icon-button.js +234 -234
  132. package/dist/collection/components/c-icon-button/c-icon-button.js.map +1 -1
  133. package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js +10 -10
  134. package/dist/collection/components/c-icon-button/test/c-icon-button.visual.js.map +1 -1
  135. package/dist/collection/components/c-input/c-input.js +805 -805
  136. package/dist/collection/components/c-input/c-input.js.map +1 -1
  137. package/dist/collection/components/c-link/c-link.js +103 -103
  138. package/dist/collection/components/c-link/c-link.js.map +1 -1
  139. package/dist/collection/components/c-link/test/c-link.visual.js +6 -6
  140. package/dist/collection/components/c-link/test/c-link.visual.js.map +1 -1
  141. package/dist/collection/components/c-list/c-list.js +65 -65
  142. package/dist/collection/components/c-list/c-list.js.map +1 -1
  143. package/dist/collection/components/c-list-item/c-list-item.js +213 -213
  144. package/dist/collection/components/c-list-item/c-list-item.js.map +1 -1
  145. package/dist/collection/components/c-list-item-title/c-list-item-title.js +44 -44
  146. package/dist/collection/components/c-list-item-title/c-list-item-title.js.map +1 -1
  147. package/dist/collection/components/c-loader/c-loader.js +114 -114
  148. package/dist/collection/components/c-loader/c-loader.js.map +1 -1
  149. package/dist/collection/components/c-login-button/c-login-button.js +78 -78
  150. package/dist/collection/components/c-login-button/c-login-button.js.map +1 -1
  151. package/dist/collection/components/c-login-buttons/c-login-buttons.js +15 -15
  152. package/dist/collection/components/c-login-buttons/c-login-buttons.js.map +1 -1
  153. package/dist/collection/components/c-login-card/c-login-card.js +166 -166
  154. package/dist/collection/components/c-login-card/c-login-card.js.map +1 -1
  155. package/dist/collection/components/c-login-card/test/c-login-card.visual.js +8 -8
  156. package/dist/collection/components/c-login-card/test/c-login-card.visual.js.map +1 -1
  157. package/dist/collection/components/c-login-card-actions/c-login-card-actions.js +49 -49
  158. package/dist/collection/components/c-login-card-actions/c-login-card-actions.js.map +1 -1
  159. package/dist/collection/components/c-login-card-content/c-login-card-content.js +15 -15
  160. package/dist/collection/components/c-login-card-content/c-login-card-content.js.map +1 -1
  161. package/dist/collection/components/c-login-card-title/c-login-card-title.js +15 -15
  162. package/dist/collection/components/c-login-card-title/c-login-card-title.js.map +1 -1
  163. package/dist/collection/components/c-main/c-main.js +40 -40
  164. package/dist/collection/components/c-main/c-main.js.map +1 -1
  165. package/dist/collection/components/c-menu/c-menu.js +273 -273
  166. package/dist/collection/components/c-menu/c-menu.js.map +1 -1
  167. package/dist/collection/components/c-menu/test/c-menu.visual.js +29 -29
  168. package/dist/collection/components/c-menu/test/c-menu.visual.js.map +1 -1
  169. package/dist/collection/components/c-menu-items/c-menu-items.js +407 -407
  170. package/dist/collection/components/c-menu-items/c-menu-items.js.map +1 -1
  171. package/dist/collection/components/c-message/c-message.js +149 -149
  172. package/dist/collection/components/c-message/c-message.js.map +1 -1
  173. package/dist/collection/components/c-modal/c-modal.js +236 -236
  174. package/dist/collection/components/c-modal/c-modal.js.map +1 -1
  175. package/dist/collection/components/c-navigation-button/c-navigation-button.js +15 -15
  176. package/dist/collection/components/c-navigation-button/c-navigation-button.js.map +1 -1
  177. package/dist/collection/components/c-option/c-option.js +95 -95
  178. package/dist/collection/components/c-option/c-option.js.map +1 -1
  179. package/dist/collection/components/c-option-value/c-option-value.js +15 -15
  180. package/dist/collection/components/c-option-value/c-option-value.js.map +1 -1
  181. package/dist/collection/components/c-otp-input/c-otp-input.js +339 -339
  182. package/dist/collection/components/c-otp-input/c-otp-input.js.map +1 -1
  183. package/dist/collection/components/c-page/c-page.js +52 -52
  184. package/dist/collection/components/c-page/c-page.js.map +1 -1
  185. package/dist/collection/components/c-pagination/c-pagination.js +342 -342
  186. package/dist/collection/components/c-pagination/c-pagination.js.map +1 -1
  187. package/dist/collection/components/c-pagination/test/c-pagination.visual.js +32 -32
  188. package/dist/collection/components/c-pagination/test/c-pagination.visual.js.map +1 -1
  189. package/dist/collection/components/c-progress-bar/c-progress-bar.js +148 -148
  190. package/dist/collection/components/c-progress-bar/c-progress-bar.js.map +1 -1
  191. package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js +12 -12
  192. package/dist/collection/components/c-progress-bar/test/c-progress-bar.visual.js.map +1 -1
  193. package/dist/collection/components/c-radio/c-radio.js +77 -77
  194. package/dist/collection/components/c-radio/c-radio.js.map +1 -1
  195. package/dist/collection/components/c-radio-group/c-radio-group.js +370 -370
  196. package/dist/collection/components/c-radio-group/c-radio-group.js.map +1 -1
  197. package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js +12 -12
  198. package/dist/collection/components/c-radio-group/test/c-radio-group.visual.js.map +1 -1
  199. package/dist/collection/components/c-radio-group/test/items.js +3 -3
  200. package/dist/collection/components/c-radio-group/test/items.js.map +1 -1
  201. package/dist/collection/components/c-ripple/c-ripple.js +89 -86
  202. package/dist/collection/components/c-ripple/c-ripple.js.map +1 -1
  203. package/dist/collection/components/c-row/c-row.js +116 -116
  204. package/dist/collection/components/c-row/c-row.js.map +1 -1
  205. package/dist/collection/components/c-select/c-select.js +747 -740
  206. package/dist/collection/components/c-select/c-select.js.map +1 -1
  207. package/dist/collection/components/c-select/test/c-select.visual.js +26 -26
  208. package/dist/collection/components/c-select/test/c-select.visual.js.map +1 -1
  209. package/dist/collection/components/c-select/test/items.js +7 -7
  210. package/dist/collection/components/c-select/test/items.js.map +1 -1
  211. package/dist/collection/components/c-side-navigation/c-side-navigation.js +141 -141
  212. package/dist/collection/components/c-side-navigation/c-side-navigation.js.map +1 -1
  213. package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js +10 -10
  214. package/dist/collection/components/c-side-navigation/test/c-side-navigation.visual.js.map +1 -1
  215. package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js +223 -223
  216. package/dist/collection/components/c-side-navigation-item/c-side-navigation-item.js.map +1 -1
  217. package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js +15 -15
  218. package/dist/collection/components/c-side-navigation-title/c-side-navigation-title.js.map +1 -1
  219. package/dist/collection/components/c-slider/c-slider.js +375 -375
  220. package/dist/collection/components/c-slider/c-slider.js.map +1 -1
  221. package/dist/collection/components/c-spacer/c-spacer.js +15 -15
  222. package/dist/collection/components/c-spacer/c-spacer.js.map +1 -1
  223. package/dist/collection/components/c-spinner/c-spinner.js +88 -88
  224. package/dist/collection/components/c-spinner/c-spinner.js.map +1 -1
  225. package/dist/collection/components/c-status/c-status.js +40 -40
  226. package/dist/collection/components/c-status/c-status.js.map +1 -1
  227. package/dist/collection/components/c-status/test/c-status.visual.js +4 -4
  228. package/dist/collection/components/c-status/test/c-status.visual.js.map +1 -1
  229. package/dist/collection/components/c-step/c-step.js +69 -69
  230. package/dist/collection/components/c-step/c-step.js.map +1 -1
  231. package/dist/collection/components/c-steps/c-steps.js +117 -117
  232. package/dist/collection/components/c-steps/c-steps.js.map +1 -1
  233. package/dist/collection/components/c-steps/test/c-steps.visual.js +11 -11
  234. package/dist/collection/components/c-steps/test/c-steps.visual.js.map +1 -1
  235. package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js +135 -135
  236. package/dist/collection/components/c-sub-navigation-item/c-sub-navigation-item.js.map +1 -1
  237. package/dist/collection/components/c-swiper/c-swiper.js +205 -205
  238. package/dist/collection/components/c-swiper/c-swiper.js.map +1 -1
  239. package/dist/collection/components/c-swiper/test/c-swiper.visual.js +14 -14
  240. package/dist/collection/components/c-swiper/test/c-swiper.visual.js.map +1 -1
  241. package/dist/collection/components/c-swiper-tab/c-swiper-tab.js +203 -203
  242. package/dist/collection/components/c-swiper-tab/c-swiper-tab.js.map +1 -1
  243. package/dist/collection/components/c-switch/c-switch.js +214 -204
  244. package/dist/collection/components/c-switch/c-switch.js.map +1 -1
  245. package/dist/collection/components/c-switch/test/c-switch.visual.js +14 -14
  246. package/dist/collection/components/c-switch/test/c-switch.visual.js.map +1 -1
  247. package/dist/collection/components/c-tab/c-tab.js +224 -224
  248. package/dist/collection/components/c-tab/c-tab.js.map +1 -1
  249. package/dist/collection/components/c-tab-buttons/c-tab-buttons.js +263 -263
  250. package/dist/collection/components/c-tab-buttons/c-tab-buttons.js.map +1 -1
  251. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js +31 -31
  252. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.visual.js.map +1 -1
  253. package/dist/collection/components/c-tab-item/c-tab-item.js +96 -96
  254. package/dist/collection/components/c-tab-item/c-tab-item.js.map +1 -1
  255. package/dist/collection/components/c-tab-items/c-tab-items.js +134 -134
  256. package/dist/collection/components/c-tab-items/c-tab-items.js.map +1 -1
  257. package/dist/collection/components/c-table/c-table.js +84 -84
  258. package/dist/collection/components/c-table/c-table.js.map +1 -1
  259. package/dist/collection/components/c-tabs/c-tabs.js +576 -576
  260. package/dist/collection/components/c-tabs/c-tabs.js.map +1 -1
  261. package/dist/collection/components/c-tabs/test/c-tabs.visual.js +8 -8
  262. package/dist/collection/components/c-tabs/test/c-tabs.visual.js.map +1 -1
  263. package/dist/collection/components/c-tag/c-tag.js +189 -189
  264. package/dist/collection/components/c-tag/c-tag.js.map +1 -1
  265. package/dist/collection/components/c-tag/test/c-tag.visual.js +12 -12
  266. package/dist/collection/components/c-tag/test/c-tag.visual.js.map +1 -1
  267. package/dist/collection/components/c-tags/c-tags.js +48 -48
  268. package/dist/collection/components/c-tags/c-tags.js.map +1 -1
  269. package/dist/collection/components/c-text-field/c-text-field.js +609 -609
  270. package/dist/collection/components/c-text-field/c-text-field.js.map +1 -1
  271. package/dist/collection/components/c-text-field/test/c-text-field.visual.js +27 -27
  272. package/dist/collection/components/c-text-field/test/c-text-field.visual.js.map +1 -1
  273. package/dist/collection/components/c-toast/c-toast.js +138 -138
  274. package/dist/collection/components/c-toast/c-toast.js.map +1 -1
  275. package/dist/collection/components/c-toasts/c-toasts.js +185 -183
  276. package/dist/collection/components/c-toasts/c-toasts.js.map +1 -1
  277. package/dist/collection/components/c-toasts/test/c-toasts.visual.js +21 -21
  278. package/dist/collection/components/c-toasts/test/c-toasts.visual.js.map +1 -1
  279. package/dist/collection/components/c-toolbar/c-toolbar.js +15 -15
  280. package/dist/collection/components/c-toolbar/c-toolbar.js.map +1 -1
  281. package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js +4 -4
  282. package/dist/collection/components/c-toolbar/test/c-toolbar.visual.js.map +1 -1
  283. package/dist/collection/types/index.js +10 -10
  284. package/dist/collection/types/index.js.map +1 -1
  285. package/dist/collection/utils/getScrollParent.js +19 -19
  286. package/dist/collection/utils/getScrollParent.js.map +1 -1
  287. package/dist/collection/utils/test/takeScreenshot.js +8 -8
  288. package/dist/collection/utils/test/takeScreenshot.js.map +1 -1
  289. package/dist/components/c-accordion-item.d.ts +2 -2
  290. package/dist/components/c-accordion-item.js +137 -136
  291. package/dist/components/c-accordion-item.js.map +1 -1
  292. package/dist/components/c-accordion.d.ts +2 -2
  293. package/dist/components/c-accordion.js +74 -73
  294. package/dist/components/c-accordion.js.map +1 -1
  295. package/dist/components/c-alert.d.ts +2 -2
  296. package/dist/components/c-alert.js +34 -33
  297. package/dist/components/c-alert.js.map +1 -1
  298. package/dist/components/c-autocomplete.d.ts +2 -2
  299. package/dist/components/c-autocomplete.js +343 -342
  300. package/dist/components/c-autocomplete.js.map +1 -1
  301. package/dist/components/c-badge.d.ts +2 -2
  302. package/dist/components/c-badge.js +1 -1
  303. package/dist/components/c-button.d.ts +2 -2
  304. package/dist/components/c-button.js +176 -175
  305. package/dist/components/c-button.js.map +1 -1
  306. package/dist/components/c-card-actions.d.ts +2 -2
  307. package/dist/components/c-card-actions.js +1 -1
  308. package/dist/components/c-card-content.d.ts +2 -2
  309. package/dist/components/c-card-content.js +23 -22
  310. package/dist/components/c-card-content.js.map +1 -1
  311. package/dist/components/c-card-title.d.ts +2 -2
  312. package/dist/components/c-card-title.js +51 -50
  313. package/dist/components/c-card-title.js.map +1 -1
  314. package/dist/components/c-card.d.ts +2 -2
  315. package/dist/components/c-card.js +103 -102
  316. package/dist/components/c-card.js.map +1 -1
  317. package/dist/components/c-checkbox.d.ts +2 -2
  318. package/dist/components/c-checkbox.js +1 -1
  319. package/dist/components/c-csc-logo.d.ts +2 -2
  320. package/dist/components/c-csc-logo.js +27 -26
  321. package/dist/components/c-csc-logo.js.map +1 -1
  322. package/dist/components/c-data-table.d.ts +2 -2
  323. package/dist/components/c-data-table.js +799 -798
  324. package/dist/components/c-data-table.js.map +1 -1
  325. package/dist/components/c-dropdown.d.ts +2 -2
  326. package/dist/components/c-dropdown.js +1 -1
  327. package/dist/components/c-icon-button.d.ts +2 -2
  328. package/dist/components/c-icon-button.js +1 -1
  329. package/dist/components/c-icon.d.ts +2 -2
  330. package/dist/components/c-icon.js +1 -1
  331. package/dist/components/c-input.d.ts +2 -2
  332. package/dist/components/c-input.js +1 -1
  333. package/dist/components/c-link.d.ts +2 -2
  334. package/dist/components/c-link.js +38 -37
  335. package/dist/components/c-link.js.map +1 -1
  336. package/dist/components/c-list-item-title.d.ts +2 -2
  337. package/dist/components/c-list-item-title.js +30 -29
  338. package/dist/components/c-list-item-title.js.map +1 -1
  339. package/dist/components/c-list-item.d.ts +2 -2
  340. package/dist/components/c-list-item.js +100 -99
  341. package/dist/components/c-list-item.js.map +1 -1
  342. package/dist/components/c-list.d.ts +2 -2
  343. package/dist/components/c-list.js +50 -49
  344. package/dist/components/c-list.js.map +1 -1
  345. package/dist/components/c-loader.d.ts +2 -2
  346. package/dist/components/c-loader.js +1 -1
  347. package/dist/components/c-login-button.d.ts +2 -2
  348. package/dist/components/c-login-button.js +31 -30
  349. package/dist/components/c-login-button.js.map +1 -1
  350. package/dist/components/c-login-buttons.d.ts +2 -2
  351. package/dist/components/c-login-buttons.js +23 -22
  352. package/dist/components/c-login-buttons.js.map +1 -1
  353. package/dist/components/c-login-card-actions.d.ts +2 -2
  354. package/dist/components/c-login-card-actions.js +32 -32
  355. package/dist/components/c-login-card-actions.js.map +1 -1
  356. package/dist/components/c-login-card-content.d.ts +2 -2
  357. package/dist/components/c-login-card-content.js +23 -22
  358. package/dist/components/c-login-card-content.js.map +1 -1
  359. package/dist/components/c-login-card-title.d.ts +2 -2
  360. package/dist/components/c-login-card-title.js +23 -22
  361. package/dist/components/c-login-card-title.js.map +1 -1
  362. package/dist/components/c-login-card.d.ts +2 -2
  363. package/dist/components/c-login-card.js +75 -74
  364. package/dist/components/c-login-card.js.map +1 -1
  365. package/dist/components/c-main.d.ts +2 -2
  366. package/dist/components/c-main.js +26 -25
  367. package/dist/components/c-main.js.map +1 -1
  368. package/dist/components/c-menu-items.d.ts +2 -2
  369. package/dist/components/c-menu-items.js +1 -1
  370. package/dist/components/c-menu.d.ts +2 -2
  371. package/dist/components/c-menu.js +1 -1
  372. package/dist/components/c-message.d.ts +2 -2
  373. package/dist/components/c-message.js +1 -1
  374. package/dist/components/c-modal.d.ts +2 -2
  375. package/dist/components/c-modal.js +133 -132
  376. package/dist/components/c-modal.js.map +1 -1
  377. package/dist/components/c-navigation-button.d.ts +2 -2
  378. package/dist/components/c-navigation-button.js +54 -53
  379. package/dist/components/c-navigation-button.js.map +1 -1
  380. package/dist/components/c-option-value.d.ts +2 -2
  381. package/dist/components/c-option-value.js +23 -22
  382. package/dist/components/c-option-value.js.map +1 -1
  383. package/dist/components/c-option.d.ts +2 -2
  384. package/dist/components/c-option.js +32 -31
  385. package/dist/components/c-option.js.map +1 -1
  386. package/dist/components/c-otp-input.d.ts +2 -2
  387. package/dist/components/c-otp-input.js +187 -186
  388. package/dist/components/c-otp-input.js.map +1 -1
  389. package/dist/components/c-page.d.ts +2 -2
  390. package/dist/components/c-page.js +38 -37
  391. package/dist/components/c-page.js.map +1 -1
  392. package/dist/components/c-pagination.d.ts +2 -2
  393. package/dist/components/c-pagination.js +1 -1
  394. package/dist/components/c-progress-bar.d.ts +2 -2
  395. package/dist/components/c-progress-bar.js +66 -65
  396. package/dist/components/c-progress-bar.js.map +1 -1
  397. package/dist/components/c-radio-group.d.ts +2 -2
  398. package/dist/components/c-radio-group.js +141 -140
  399. package/dist/components/c-radio-group.js.map +1 -1
  400. package/dist/components/c-radio.d.ts +2 -2
  401. package/dist/components/c-radio.js +30 -29
  402. package/dist/components/c-radio.js.map +1 -1
  403. package/dist/components/c-ripple.d.ts +2 -2
  404. package/dist/components/c-ripple.js +1 -1
  405. package/dist/components/c-row.d.ts +2 -2
  406. package/dist/components/c-row.js +42 -41
  407. package/dist/components/c-row.js.map +1 -1
  408. package/dist/components/c-select.d.ts +2 -2
  409. package/dist/components/c-select.js +392 -384
  410. package/dist/components/c-select.js.map +1 -1
  411. package/dist/components/c-side-navigation-item.d.ts +2 -2
  412. package/dist/components/c-side-navigation-item.js +145 -144
  413. package/dist/components/c-side-navigation-item.js.map +1 -1
  414. package/dist/components/c-side-navigation-title.d.ts +2 -2
  415. package/dist/components/c-side-navigation-title.js +23 -22
  416. package/dist/components/c-side-navigation-title.js.map +1 -1
  417. package/dist/components/c-side-navigation.d.ts +2 -2
  418. package/dist/components/c-side-navigation.js +120 -119
  419. package/dist/components/c-side-navigation.js.map +1 -1
  420. package/dist/components/c-slider.d.ts +2 -2
  421. package/dist/components/c-slider.js +121 -120
  422. package/dist/components/c-slider.js.map +1 -1
  423. package/dist/components/c-spacer.d.ts +2 -2
  424. package/dist/components/c-spacer.js +1 -1
  425. package/dist/components/c-spinner.d.ts +2 -2
  426. package/dist/components/c-spinner.js +1 -1
  427. package/dist/components/c-status.d.ts +2 -2
  428. package/dist/components/c-status.js +27 -26
  429. package/dist/components/c-status.js.map +1 -1
  430. package/dist/components/c-step.d.ts +2 -2
  431. package/dist/components/c-step.js +32 -31
  432. package/dist/components/c-step.js.map +1 -1
  433. package/dist/components/c-steps.d.ts +2 -2
  434. package/dist/components/c-steps.js +82 -81
  435. package/dist/components/c-steps.js.map +1 -1
  436. package/dist/components/c-sub-navigation-item.d.ts +2 -2
  437. package/dist/components/c-sub-navigation-item.js +68 -67
  438. package/dist/components/c-sub-navigation-item.js.map +1 -1
  439. package/dist/components/c-swiper-tab.d.ts +2 -2
  440. package/dist/components/c-swiper-tab.js +63 -62
  441. package/dist/components/c-swiper-tab.js.map +1 -1
  442. package/dist/components/c-swiper.d.ts +2 -2
  443. package/dist/components/c-swiper.js +164 -163
  444. package/dist/components/c-swiper.js.map +1 -1
  445. package/dist/components/c-switch.d.ts +2 -2
  446. package/dist/components/c-switch.js +77 -67
  447. package/dist/components/c-switch.js.map +1 -1
  448. package/dist/components/c-tab-buttons.d.ts +2 -2
  449. package/dist/components/c-tab-buttons.js +140 -139
  450. package/dist/components/c-tab-buttons.js.map +1 -1
  451. package/dist/components/c-tab-item.d.ts +2 -2
  452. package/dist/components/c-tab-item.js +46 -45
  453. package/dist/components/c-tab-item.js.map +1 -1
  454. package/dist/components/c-tab-items.d.ts +2 -2
  455. package/dist/components/c-tab-items.js +87 -86
  456. package/dist/components/c-tab-items.js.map +1 -1
  457. package/dist/components/c-tab.d.ts +2 -2
  458. package/dist/components/c-tab.js +73 -72
  459. package/dist/components/c-tab.js.map +1 -1
  460. package/dist/components/c-table.d.ts +2 -2
  461. package/dist/components/c-table.js +53 -52
  462. package/dist/components/c-table.js.map +1 -1
  463. package/dist/components/c-tabs.d.ts +2 -2
  464. package/dist/components/c-tabs.js +452 -451
  465. package/dist/components/c-tabs.js.map +1 -1
  466. package/dist/components/c-tag.d.ts +2 -2
  467. package/dist/components/c-tag.js +87 -86
  468. package/dist/components/c-tag.js.map +1 -1
  469. package/dist/components/c-tags.d.ts +2 -2
  470. package/dist/components/c-tags.js +34 -33
  471. package/dist/components/c-tags.js.map +1 -1
  472. package/dist/components/c-text-field.d.ts +2 -2
  473. package/dist/components/c-text-field.js +184 -183
  474. package/dist/components/c-text-field.js.map +1 -1
  475. package/dist/components/c-toast.d.ts +2 -2
  476. package/dist/components/c-toast.js +1 -1
  477. package/dist/components/c-toasts.d.ts +2 -2
  478. package/dist/components/c-toasts.js +117 -97
  479. package/dist/components/c-toasts.js.map +1 -1
  480. package/dist/components/c-toolbar.d.ts +2 -2
  481. package/dist/components/c-toolbar.js +23 -22
  482. package/dist/components/c-toolbar.js.map +1 -1
  483. package/dist/components/index.d.ts +143 -0
  484. package/dist/components/index.js +71 -2
  485. package/dist/components/index.js.map +1 -1
  486. package/dist/components/p-07477d1d.js +238 -0
  487. package/dist/components/{c-menu-items2.js.map → p-07477d1d.js.map} +1 -1
  488. package/dist/components/p-14a3bcd3.js +295 -0
  489. package/dist/components/p-14a3bcd3.js.map +1 -0
  490. package/dist/components/p-29be82c5.js +120 -0
  491. package/dist/components/p-29be82c5.js.map +1 -0
  492. package/dist/components/p-2fbcb4e1.js +1518 -0
  493. package/dist/components/p-2fbcb4e1.js.map +1 -0
  494. package/dist/components/{mdi.js → p-3ea8acb0.js} +2 -2
  495. package/dist/components/p-3ea8acb0.js.map +1 -0
  496. package/dist/components/{c-icon-button2.js → p-59f6f0d8.js} +87 -86
  497. package/dist/components/p-59f6f0d8.js.map +1 -0
  498. package/dist/components/p-6e1a2888.js +33 -0
  499. package/dist/components/p-6e1a2888.js.map +1 -0
  500. package/dist/components/p-7f5a7176.js +50 -0
  501. package/dist/components/p-7f5a7176.js.map +1 -0
  502. package/dist/components/p-8068bc3d.js +47 -0
  503. package/dist/components/p-8068bc3d.js.map +1 -0
  504. package/dist/components/p-aa75dd47.js +293 -0
  505. package/dist/components/p-aa75dd47.js.map +1 -0
  506. package/dist/components/p-c1d56d6b.js +43 -0
  507. package/dist/components/p-c1d56d6b.js.map +1 -0
  508. package/dist/components/p-c9e58781.js +89 -0
  509. package/dist/components/p-c9e58781.js.map +1 -0
  510. package/dist/components/p-cdf22a0b.js +69 -0
  511. package/dist/components/p-cdf22a0b.js.map +1 -0
  512. package/dist/components/p-d3b88201.js +354 -0
  513. package/dist/components/p-d3b88201.js.map +1 -0
  514. package/dist/components/p-e6f11335.js +186 -0
  515. package/dist/components/p-e6f11335.js.map +1 -0
  516. package/dist/components/p-f07ce1ae.js +64 -0
  517. package/dist/components/p-f07ce1ae.js.map +1 -0
  518. package/dist/components/p-f4b8b4e1.js +94 -0
  519. package/dist/components/p-f4b8b4e1.js.map +1 -0
  520. package/dist/components/{c-badge2.js → p-f932f64a.js} +24 -23
  521. package/dist/components/p-f932f64a.js.map +1 -0
  522. package/dist/csc-ui/csc-ui.esm.js +1 -1
  523. package/dist/csc-ui/csc-ui.esm.js.map +1 -1
  524. package/dist/csc-ui/index.esm.js +1 -1
  525. package/dist/csc-ui/index.esm.js.map +1 -1
  526. package/dist/csc-ui/p-020643f8.entry.js +2 -0
  527. package/dist/csc-ui/p-020643f8.entry.js.map +1 -0
  528. package/dist/csc-ui/p-06e13288.entry.js +2 -0
  529. package/dist/csc-ui/p-06e13288.entry.js.map +1 -0
  530. package/dist/csc-ui/p-10ef7ca7.entry.js +2 -0
  531. package/dist/csc-ui/p-10ef7ca7.entry.js.map +1 -0
  532. package/dist/csc-ui/{p-ce88995f.entry.js → p-1eae6514.entry.js} +2 -2
  533. package/dist/csc-ui/p-1eae6514.entry.js.map +1 -0
  534. package/dist/csc-ui/p-26526434.entry.js +2 -0
  535. package/dist/csc-ui/p-26526434.entry.js.map +1 -0
  536. package/dist/csc-ui/p-307f3fbc.entry.js +2 -0
  537. package/dist/csc-ui/p-307f3fbc.entry.js.map +1 -0
  538. package/dist/csc-ui/p-32fa684b.entry.js +2 -0
  539. package/dist/csc-ui/p-32fa684b.entry.js.map +1 -0
  540. package/dist/csc-ui/p-3cade358.entry.js +2 -0
  541. package/dist/csc-ui/p-3cade358.entry.js.map +1 -0
  542. package/dist/csc-ui/p-47f76af6.entry.js +2 -0
  543. package/dist/csc-ui/p-47f76af6.entry.js.map +1 -0
  544. package/dist/csc-ui/p-4a1cf8bf.entry.js +2 -0
  545. package/dist/csc-ui/p-4a1cf8bf.entry.js.map +1 -0
  546. package/dist/csc-ui/{p-231bc97b.entry.js → p-68b100e9.entry.js} +2 -2
  547. package/dist/csc-ui/p-68b100e9.entry.js.map +1 -0
  548. package/dist/csc-ui/{p-aa307b78.entry.js → p-6ec4e25e.entry.js} +2 -2
  549. package/dist/csc-ui/p-6ec4e25e.entry.js.map +1 -0
  550. package/dist/csc-ui/{p-9dc5b5ac.entry.js → p-752f983d.entry.js} +2 -2
  551. package/dist/csc-ui/p-752f983d.entry.js.map +1 -0
  552. package/dist/csc-ui/{p-2a104276.entry.js → p-75ef652d.entry.js} +2 -2
  553. package/dist/csc-ui/p-75ef652d.entry.js.map +1 -0
  554. package/dist/csc-ui/p-7e0e5d26.entry.js +2 -0
  555. package/dist/csc-ui/p-7e0e5d26.entry.js.map +1 -0
  556. package/dist/csc-ui/p-8315aa49.entry.js +2 -0
  557. package/dist/csc-ui/p-8315aa49.entry.js.map +1 -0
  558. package/dist/csc-ui/p-87b41fa4.entry.js +2 -0
  559. package/dist/csc-ui/p-87b41fa4.entry.js.map +1 -0
  560. package/dist/csc-ui/{p-fafac729.js → p-8f729e27.js} +1 -1
  561. package/dist/csc-ui/{p-fafac729.js.map → p-8f729e27.js.map} +1 -1
  562. package/dist/csc-ui/p-8fe7a288.entry.js +2 -0
  563. package/dist/csc-ui/p-8fe7a288.entry.js.map +1 -0
  564. package/dist/csc-ui/p-900e4f04.entry.js +2 -0
  565. package/dist/csc-ui/p-900e4f04.entry.js.map +1 -0
  566. package/dist/csc-ui/{p-18a7f4e9.entry.js → p-9ce6cc51.entry.js} +2 -2
  567. package/dist/csc-ui/p-9ce6cc51.entry.js.map +1 -0
  568. package/dist/csc-ui/p-a3e3248c.js +3 -0
  569. package/dist/csc-ui/p-a3e3248c.js.map +1 -0
  570. package/dist/csc-ui/p-a84641e0.entry.js +2 -0
  571. package/dist/csc-ui/p-a84641e0.entry.js.map +1 -0
  572. package/dist/csc-ui/{p-da7c0754.entry.js → p-ac5da8d1.entry.js} +2 -2
  573. package/dist/csc-ui/p-ac5da8d1.entry.js.map +1 -0
  574. package/dist/csc-ui/p-acce6632.entry.js +2 -0
  575. package/dist/csc-ui/p-acce6632.entry.js.map +1 -0
  576. package/dist/csc-ui/{p-52a3f4f8.entry.js → p-af181b9b.entry.js} +2 -2
  577. package/dist/csc-ui/p-af181b9b.entry.js.map +1 -0
  578. package/dist/csc-ui/{p-29b07261.entry.js → p-b09292de.entry.js} +2 -2
  579. package/dist/csc-ui/p-b09292de.entry.js.map +1 -0
  580. package/dist/csc-ui/p-b1ab606b.entry.js +2 -0
  581. package/dist/csc-ui/p-b1ab606b.entry.js.map +1 -0
  582. package/dist/csc-ui/{p-0b41f178.entry.js → p-b543f80e.entry.js} +2 -2
  583. package/dist/csc-ui/p-b543f80e.entry.js.map +1 -0
  584. package/dist/csc-ui/{p-61e0e61f.entry.js → p-bb62b147.entry.js} +2 -2
  585. package/dist/csc-ui/p-bb62b147.entry.js.map +1 -0
  586. package/dist/csc-ui/{p-0394ebc7.entry.js → p-bcb87140.entry.js} +2 -2
  587. package/dist/csc-ui/p-bcb87140.entry.js.map +1 -0
  588. package/dist/csc-ui/p-c222df06.entry.js +2 -0
  589. package/dist/csc-ui/p-c222df06.entry.js.map +1 -0
  590. package/dist/csc-ui/{p-886f0d1d.entry.js → p-c80fa43f.entry.js} +2 -2
  591. package/dist/csc-ui/p-c80fa43f.entry.js.map +1 -0
  592. package/dist/csc-ui/p-d32e42fe.js.map +1 -1
  593. package/dist/csc-ui/p-d67b56d8.entry.js +2 -0
  594. package/dist/csc-ui/p-d67b56d8.entry.js.map +1 -0
  595. package/dist/csc-ui/p-e0e78a0d.entry.js +2 -0
  596. package/dist/csc-ui/p-e0e78a0d.entry.js.map +1 -0
  597. package/dist/csc-ui/p-e1255160.js +2 -0
  598. package/dist/csc-ui/p-e1255160.js.map +1 -0
  599. package/dist/csc-ui/{p-1aeab024.entry.js → p-e2a40b86.entry.js} +2 -2
  600. package/dist/csc-ui/p-e2a40b86.entry.js.map +1 -0
  601. package/dist/csc-ui/p-eafe038d.entry.js +2 -0
  602. package/dist/csc-ui/p-eafe038d.entry.js.map +1 -0
  603. package/dist/csc-ui/{p-0e3cf775.entry.js → p-f164b124.entry.js} +2 -2
  604. package/dist/csc-ui/p-f164b124.entry.js.map +1 -0
  605. package/dist/esm/app-globals-0f993ce5.js +5 -0
  606. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  607. package/dist/esm/c-accordion-item.entry.js +108 -107
  608. package/dist/esm/c-accordion-item.entry.js.map +1 -1
  609. package/dist/esm/c-accordion.entry.js +53 -52
  610. package/dist/esm/c-accordion.entry.js.map +1 -1
  611. package/dist/esm/c-alert.entry.js +17 -16
  612. package/dist/esm/c-alert.entry.js.map +1 -1
  613. package/dist/esm/c-autocomplete_34.entry.js +2438 -2390
  614. package/dist/esm/c-autocomplete_34.entry.js.map +1 -1
  615. package/dist/esm/c-data-table.entry.js +678 -677
  616. package/dist/esm/c-data-table.entry.js.map +1 -1
  617. package/dist/esm/c-link.entry.js +19 -18
  618. package/dist/esm/c-link.entry.js.map +1 -1
  619. package/dist/esm/c-list-item-title.entry.js +14 -13
  620. package/dist/esm/c-list-item-title.entry.js.map +1 -1
  621. package/dist/esm/c-list-item.entry.js +70 -69
  622. package/dist/esm/c-list-item.entry.js.map +1 -1
  623. package/dist/esm/c-list.entry.js +33 -32
  624. package/dist/esm/c-list.entry.js.map +1 -1
  625. package/dist/esm/c-login-button.entry.js +13 -12
  626. package/dist/esm/c-login-button.entry.js.map +1 -1
  627. package/dist/esm/c-login-buttons.entry.js +9 -8
  628. package/dist/esm/c-login-buttons.entry.js.map +1 -1
  629. package/dist/esm/c-login-card-actions.entry.js +9 -9
  630. package/dist/esm/c-login-card-actions.entry.js.map +1 -1
  631. package/dist/esm/c-login-card-content.entry.js +9 -8
  632. package/dist/esm/c-login-card-content.entry.js.map +1 -1
  633. package/dist/esm/c-login-card-title.entry.js +9 -8
  634. package/dist/esm/c-login-card-title.entry.js.map +1 -1
  635. package/dist/esm/c-login-card.entry.js +54 -53
  636. package/dist/esm/c-login-card.entry.js.map +1 -1
  637. package/dist/esm/c-menu_2.entry.js +317 -315
  638. package/dist/esm/c-menu_2.entry.js.map +1 -1
  639. package/dist/esm/c-modal.entry.js +109 -108
  640. package/dist/esm/c-modal.entry.js.map +1 -1
  641. package/dist/esm/c-option-value.entry.js +9 -8
  642. package/dist/esm/c-option-value.entry.js.map +1 -1
  643. package/dist/esm/c-pagination.entry.js +214 -213
  644. package/dist/esm/c-pagination.entry.js.map +1 -1
  645. package/dist/esm/c-progress-bar.entry.js +46 -45
  646. package/dist/esm/c-progress-bar.entry.js.map +1 -1
  647. package/dist/esm/c-row.entry.js +23 -22
  648. package/dist/esm/c-row.entry.js.map +1 -1
  649. package/dist/esm/c-slider.entry.js +87 -86
  650. package/dist/esm/c-slider.entry.js.map +1 -1
  651. package/dist/esm/c-status.entry.js +11 -10
  652. package/dist/esm/c-status.entry.js.map +1 -1
  653. package/dist/esm/c-step.entry.js +15 -14
  654. package/dist/esm/c-step.entry.js.map +1 -1
  655. package/dist/esm/c-steps.entry.js +62 -61
  656. package/dist/esm/c-steps.entry.js.map +1 -1
  657. package/dist/esm/c-swiper-tab.entry.js +35 -34
  658. package/dist/esm/c-swiper-tab.entry.js.map +1 -1
  659. package/dist/esm/c-swiper.entry.js +119 -118
  660. package/dist/esm/c-swiper.entry.js.map +1 -1
  661. package/dist/esm/c-tab-buttons.entry.js +118 -117
  662. package/dist/esm/c-tab-buttons.entry.js.map +1 -1
  663. package/dist/esm/c-tab-item.entry.js +29 -28
  664. package/dist/esm/c-tab-item.entry.js.map +1 -1
  665. package/dist/esm/c-tab-items.entry.js +67 -66
  666. package/dist/esm/c-tab-items.entry.js.map +1 -1
  667. package/dist/esm/c-tab.entry.js +46 -45
  668. package/dist/esm/c-tab.entry.js.map +1 -1
  669. package/dist/esm/c-tabs.entry.js +394 -393
  670. package/dist/esm/c-tabs.entry.js.map +1 -1
  671. package/dist/esm/c-tag.entry.js +34 -33
  672. package/dist/esm/c-tag.entry.js.map +1 -1
  673. package/dist/esm/c-tags.entry.js +18 -17
  674. package/dist/esm/c-tags.entry.js.map +1 -1
  675. package/dist/esm/c-toast.entry.js +60 -59
  676. package/dist/esm/c-toast.entry.js.map +1 -1
  677. package/dist/esm/c-toasts.entry.js +64 -63
  678. package/dist/esm/c-toasts.entry.js.map +1 -1
  679. package/dist/esm/csc-ui.js +14 -12
  680. package/dist/esm/csc-ui.js.map +1 -1
  681. package/dist/esm/index-28ad175b.js +23 -0
  682. package/dist/esm/{index-dfaed2a4.js.map → index-28ad175b.js.map} +1 -1
  683. package/dist/esm/index-5e4179ca.js +1848 -0
  684. package/dist/esm/index-5e4179ca.js.map +1 -0
  685. package/dist/esm/index.js +1 -1
  686. package/dist/esm/loader.js +6 -4
  687. package/dist/esm/loader.js.map +1 -1
  688. package/dist/playwright.config.js +40 -40
  689. package/dist/playwright.config.js.map +1 -1
  690. package/dist/stencil.config.js +48 -33
  691. package/dist/stencil.config.js.map +1 -1
  692. package/dist/types/components/c-accordion/c-accordion.d.ts +15 -15
  693. package/dist/types/components/c-accordion-item/c-accordion-item.d.ts +27 -27
  694. package/dist/types/components/c-alert/c-alert.d.ts +3 -3
  695. package/dist/types/components/c-autocomplete/c-autocomplete.d.ts +60 -60
  696. package/dist/types/components/c-badge/c-badge.d.ts +1 -1
  697. package/dist/types/components/c-button/c-button.d.ts +33 -33
  698. package/dist/types/components/c-card/c-card.d.ts +10 -10
  699. package/dist/types/components/c-card-actions/c-card-actions.d.ts +3 -3
  700. package/dist/types/components/c-card-content/c-card-content.d.ts +1 -1
  701. package/dist/types/components/c-card-title/c-card-title.d.ts +12 -12
  702. package/dist/types/components/c-checkbox/c-checkbox.d.ts +26 -26
  703. package/dist/types/components/c-csc-logo/c-csc-logo.d.ts +2 -2
  704. package/dist/types/components/c-data-table/c-data-table.d.ts +109 -109
  705. package/dist/types/components/c-dropdown/c-dropdown.d.ts +52 -52
  706. package/dist/types/components/c-icon/c-icon.d.ts +7 -7
  707. package/dist/types/components/c-icon-button/c-icon-button.d.ts +16 -16
  708. package/dist/types/components/c-input/c-input.d.ts +60 -60
  709. package/dist/types/components/c-link/c-link.d.ts +5 -5
  710. package/dist/types/components/c-list/c-list.d.ts +6 -6
  711. package/dist/types/components/c-list-item/c-list-item.d.ts +14 -14
  712. package/dist/types/components/c-list-item-title/c-list-item-title.d.ts +2 -2
  713. package/dist/types/components/c-loader/c-loader.d.ts +8 -8
  714. package/dist/types/components/c-login-button/c-login-button.d.ts +4 -4
  715. package/dist/types/components/c-login-buttons/c-login-buttons.d.ts +1 -1
  716. package/dist/types/components/c-login-card/c-login-card.d.ts +16 -16
  717. package/dist/types/components/c-login-card-actions/c-login-card-actions.d.ts +3 -3
  718. package/dist/types/components/c-login-card-content/c-login-card-content.d.ts +1 -1
  719. package/dist/types/components/c-login-card-title/c-login-card-title.d.ts +1 -1
  720. package/dist/types/components/c-main/c-main.d.ts +2 -2
  721. package/dist/types/components/c-menu/c-menu.d.ts +23 -23
  722. package/dist/types/components/c-menu-items/c-menu-items.d.ts +39 -39
  723. package/dist/types/components/c-message/c-message.d.ts +16 -16
  724. package/dist/types/components/c-modal/c-modal.d.ts +22 -22
  725. package/dist/types/components/c-navigation-button/c-navigation-button.d.ts +1 -1
  726. package/dist/types/components/c-option/c-option.d.ts +5 -5
  727. package/dist/types/components/c-option-value/c-option-value.d.ts +1 -1
  728. package/dist/types/components/c-otp-input/c-otp-input.d.ts +32 -32
  729. package/dist/types/components/c-page/c-page.d.ts +6 -6
  730. package/dist/types/components/c-pagination/c-pagination.d.ts +34 -34
  731. package/dist/types/components/c-progress-bar/c-progress-bar.d.ts +7 -7
  732. package/dist/types/components/c-radio/c-radio.d.ts +4 -4
  733. package/dist/types/components/c-radio-group/c-radio-group.d.ts +27 -27
  734. package/dist/types/components/c-ripple/c-ripple.d.ts +5 -5
  735. package/dist/types/components/c-row/c-row.d.ts +7 -7
  736. package/dist/types/components/c-select/c-select.d.ts +65 -63
  737. package/dist/types/components/c-side-navigation/c-side-navigation.d.ts +13 -13
  738. package/dist/types/components/c-side-navigation-item/c-side-navigation-item.d.ts +18 -18
  739. package/dist/types/components/c-side-navigation-title/c-side-navigation-title.d.ts +1 -1
  740. package/dist/types/components/c-slider/c-slider.d.ts +29 -29
  741. package/dist/types/components/c-spacer/c-spacer.d.ts +1 -1
  742. package/dist/types/components/c-spinner/c-spinner.d.ts +4 -4
  743. package/dist/types/components/c-status/c-status.d.ts +2 -2
  744. package/dist/types/components/c-step/c-step.d.ts +3 -3
  745. package/dist/types/components/c-steps/c-steps.d.ts +13 -13
  746. package/dist/types/components/c-sub-navigation-item/c-sub-navigation-item.d.ts +8 -8
  747. package/dist/types/components/c-swiper/c-swiper.d.ts +22 -22
  748. package/dist/types/components/c-swiper-tab/c-swiper-tab.d.ts +13 -13
  749. package/dist/types/components/c-switch/c-switch.d.ts +16 -15
  750. package/dist/types/components/c-tab/c-tab.d.ts +16 -16
  751. package/dist/types/components/c-tab-buttons/c-tab-buttons.d.ts +20 -20
  752. package/dist/types/components/c-tab-item/c-tab-item.d.ts +9 -9
  753. package/dist/types/components/c-tab-items/c-tab-items.d.ts +16 -16
  754. package/dist/types/components/c-table/c-table.d.ts +11 -11
  755. package/dist/types/components/c-tabs/c-tabs.d.ts +62 -62
  756. package/dist/types/components/c-tag/c-tag.d.ts +10 -10
  757. package/dist/types/components/c-tags/c-tags.d.ts +4 -4
  758. package/dist/types/components/c-text-field/c-text-field.d.ts +47 -47
  759. package/dist/types/components/c-toast/c-toast.d.ts +15 -15
  760. package/dist/types/components/c-toasts/c-toasts.d.ts +14 -14
  761. package/dist/types/components/c-toolbar/c-toolbar.d.ts +1 -1
  762. package/dist/types/components.d.ts +8 -8
  763. package/dist/types/stencil-public-runtime.d.ts +15 -10
  764. package/dist/types/types/index.d.ts +99 -99
  765. package/loader/cdn.js +1 -3
  766. package/loader/index.cjs.js +1 -3
  767. package/loader/index.d.ts +3 -0
  768. package/loader/index.es2017.js +1 -3
  769. package/loader/index.js +1 -3
  770. package/package.json +16 -12
  771. package/vscode-data.json +9 -9
  772. package/dist/cjs/index-72dca436.js +0 -23
  773. package/dist/cjs/index-91ba22ab.js +0 -2603
  774. package/dist/cjs/index-91ba22ab.js.map +0 -1
  775. package/dist/collection/components/c-accordion/test/c-accordion.e2e.js +0 -140
  776. package/dist/collection/components/c-accordion/test/c-accordion.e2e.js.map +0 -1
  777. package/dist/collection/components/c-accordion/test/c-accordion.spec.js +0 -72
  778. package/dist/collection/components/c-accordion/test/c-accordion.spec.js.map +0 -1
  779. package/dist/collection/components/c-alert/test/c-alert.spec.js +0 -54
  780. package/dist/collection/components/c-alert/test/c-alert.spec.js.map +0 -1
  781. package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js +0 -35
  782. package/dist/collection/components/c-autocomplete/test/c-autocomplete.e2e.js.map +0 -1
  783. package/dist/collection/components/c-badge/test/c-badge.e2e.js +0 -10
  784. package/dist/collection/components/c-badge/test/c-badge.e2e.js.map +0 -1
  785. package/dist/collection/components/c-badge/test/c-badge.spec.js +0 -18
  786. package/dist/collection/components/c-badge/test/c-badge.spec.js.map +0 -1
  787. package/dist/collection/components/c-button/test/c-button.spec.js +0 -207
  788. package/dist/collection/components/c-button/test/c-button.spec.js.map +0 -1
  789. package/dist/collection/components/c-card/test/c-card.e2e.js +0 -17
  790. package/dist/collection/components/c-card/test/c-card.e2e.js.map +0 -1
  791. package/dist/collection/components/c-card/test/c-card.spec.js +0 -142
  792. package/dist/collection/components/c-card/test/c-card.spec.js.map +0 -1
  793. package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js +0 -115
  794. package/dist/collection/components/c-card-actions/test/c-card-actions.spec.js.map +0 -1
  795. package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js +0 -60
  796. package/dist/collection/components/c-checkbox/test/c-checkbox.e2e.js.map +0 -1
  797. package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js +0 -40
  798. package/dist/collection/components/c-checkbox/test/c-checkbox.spec.js.map +0 -1
  799. package/dist/collection/components/c-data-table/test/c-data-table.e2e.js +0 -125
  800. package/dist/collection/components/c-data-table/test/c-data-table.e2e.js.map +0 -1
  801. package/dist/collection/components/c-data-table/test/c-data-table.spec.js +0 -107
  802. package/dist/collection/components/c-data-table/test/c-data-table.spec.js.map +0 -1
  803. package/dist/collection/components/c-icon/test/c-icon.spec.js +0 -12
  804. package/dist/collection/components/c-icon/test/c-icon.spec.js.map +0 -1
  805. package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js +0 -82
  806. package/dist/collection/components/c-icon-button/test/c-icon-button.spec.js.map +0 -1
  807. package/dist/collection/components/c-link/test/c-link.spec.js +0 -75
  808. package/dist/collection/components/c-link/test/c-link.spec.js.map +0 -1
  809. package/dist/collection/components/c-loader/test/c-loader.e2e.js +0 -16
  810. package/dist/collection/components/c-loader/test/c-loader.e2e.js.map +0 -1
  811. package/dist/collection/components/c-loader/test/c-loader.spec.js +0 -28
  812. package/dist/collection/components/c-loader/test/c-loader.spec.js.map +0 -1
  813. package/dist/collection/components/c-login-card/test/c-login-card.spec.js +0 -151
  814. package/dist/collection/components/c-login-card/test/c-login-card.spec.js.map +0 -1
  815. package/dist/collection/components/c-main/test/c-main.spec.js +0 -19
  816. package/dist/collection/components/c-main/test/c-main.spec.js.map +0 -1
  817. package/dist/collection/components/c-menu/test/c-menu.spec.js +0 -46
  818. package/dist/collection/components/c-menu/test/c-menu.spec.js.map +0 -1
  819. package/dist/collection/components/c-modal/test/c-modal.spec.js +0 -75
  820. package/dist/collection/components/c-modal/test/c-modal.spec.js.map +0 -1
  821. package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js +0 -10
  822. package/dist/collection/components/c-otp-input/test/c-otp-input.e2e.js.map +0 -1
  823. package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js +0 -18
  824. package/dist/collection/components/c-otp-input/test/c-otp-input.spec.js.map +0 -1
  825. package/dist/collection/components/c-pagination/test/c-pagination.e2e.js +0 -47
  826. package/dist/collection/components/c-pagination/test/c-pagination.e2e.js.map +0 -1
  827. package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js +0 -54
  828. package/dist/collection/components/c-progress-bar/test/c-progress-bar.spec.js.map +0 -1
  829. package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js +0 -39
  830. package/dist/collection/components/c-radio-group/test/c-radio-group.e2e.js.map +0 -1
  831. package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js +0 -28
  832. package/dist/collection/components/c-radio-group/test/c-radio-group.spec.js.map +0 -1
  833. package/dist/collection/components/c-row/test/c-row.spec.js +0 -137
  834. package/dist/collection/components/c-row/test/c-row.spec.js.map +0 -1
  835. package/dist/collection/components/c-select/test/c-select.e2e.js +0 -66
  836. package/dist/collection/components/c-select/test/c-select.e2e.js.map +0 -1
  837. package/dist/collection/components/c-select/test/c-select.spec.js +0 -38
  838. package/dist/collection/components/c-select/test/c-select.spec.js.map +0 -1
  839. package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js +0 -21
  840. package/dist/collection/components/c-side-navigation/test/c-side-navigation.spec.js.map +0 -1
  841. package/dist/collection/components/c-spacer/test/c-spacer.spec.js +0 -12
  842. package/dist/collection/components/c-spacer/test/c-spacer.spec.js.map +0 -1
  843. package/dist/collection/components/c-status/test/c-status.spec.js +0 -40
  844. package/dist/collection/components/c-status/test/c-status.spec.js.map +0 -1
  845. package/dist/collection/components/c-steps/test/c-steps.e2e.js +0 -35
  846. package/dist/collection/components/c-steps/test/c-steps.e2e.js.map +0 -1
  847. package/dist/collection/components/c-swiper/test/c-swiper.e2e.js +0 -83
  848. package/dist/collection/components/c-swiper/test/c-swiper.e2e.js.map +0 -1
  849. package/dist/collection/components/c-switch/test/c-switch.e2e.js +0 -51
  850. package/dist/collection/components/c-switch/test/c-switch.e2e.js.map +0 -1
  851. package/dist/collection/components/c-switch/test/c-switch.spec.js +0 -40
  852. package/dist/collection/components/c-switch/test/c-switch.spec.js.map +0 -1
  853. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js +0 -91
  854. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.e2e.js.map +0 -1
  855. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js +0 -42
  856. package/dist/collection/components/c-tab-buttons/test/c-tab-buttons.spec.js.map +0 -1
  857. package/dist/collection/components/c-tabs/test/c-tabs.e2e.js +0 -74
  858. package/dist/collection/components/c-tabs/test/c-tabs.e2e.js.map +0 -1
  859. package/dist/collection/components/c-tabs/test/c-tabs.spec.js +0 -85
  860. package/dist/collection/components/c-tabs/test/c-tabs.spec.js.map +0 -1
  861. package/dist/collection/components/c-tag/test/c-tag.spec.js +0 -50
  862. package/dist/collection/components/c-tag/test/c-tag.spec.js.map +0 -1
  863. package/dist/collection/components/c-text-field/test/c-text-field.e2e.js +0 -12
  864. package/dist/collection/components/c-text-field/test/c-text-field.e2e.js.map +0 -1
  865. package/dist/collection/components/c-text-field/test/c-text-field.spec.js +0 -33
  866. package/dist/collection/components/c-text-field/test/c-text-field.spec.js.map +0 -1
  867. package/dist/collection/components/c-toasts/test/c-toasts.spec.js +0 -61
  868. package/dist/collection/components/c-toasts/test/c-toasts.spec.js.map +0 -1
  869. package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js +0 -12
  870. package/dist/collection/components/c-toolbar/test/c-toolbar.spec.js.map +0 -1
  871. package/dist/collection/dist/styles/.gitkeep +0 -0
  872. package/dist/components/c-badge2.js.map +0 -1
  873. package/dist/components/c-card-actions2.js +0 -42
  874. package/dist/components/c-card-actions2.js.map +0 -1
  875. package/dist/components/c-checkbox2.js +0 -119
  876. package/dist/components/c-checkbox2.js.map +0 -1
  877. package/dist/components/c-dropdown2.js +0 -353
  878. package/dist/components/c-dropdown2.js.map +0 -1
  879. package/dist/components/c-icon-button2.js.map +0 -1
  880. package/dist/components/c-icon2.js +0 -46
  881. package/dist/components/c-icon2.js.map +0 -1
  882. package/dist/components/c-input2.js +0 -292
  883. package/dist/components/c-input2.js.map +0 -1
  884. package/dist/components/c-loader2.js +0 -63
  885. package/dist/components/c-loader2.js.map +0 -1
  886. package/dist/components/c-menu-items2.js +0 -237
  887. package/dist/components/c-menu2.js +0 -185
  888. package/dist/components/c-menu2.js.map +0 -1
  889. package/dist/components/c-message2.js +0 -88
  890. package/dist/components/c-message2.js.map +0 -1
  891. package/dist/components/c-pagination2.js +0 -294
  892. package/dist/components/c-pagination2.js.map +0 -1
  893. package/dist/components/c-ripple2.js +0 -68
  894. package/dist/components/c-ripple2.js.map +0 -1
  895. package/dist/components/c-spacer2.js +0 -32
  896. package/dist/components/c-spacer2.js.map +0 -1
  897. package/dist/components/c-spinner2.js +0 -49
  898. package/dist/components/c-spinner2.js.map +0 -1
  899. package/dist/components/c-toast2.js +0 -93
  900. package/dist/components/c-toast2.js.map +0 -1
  901. package/dist/components/index2.js +0 -23
  902. package/dist/components/index2.js.map +0 -1
  903. package/dist/components/mdi.js.map +0 -1
  904. package/dist/csc-ui/dist/styles/.gitkeep +0 -0
  905. package/dist/csc-ui/p-0394ebc7.entry.js.map +0 -1
  906. package/dist/csc-ui/p-0ad7a08a.entry.js +0 -2
  907. package/dist/csc-ui/p-0ad7a08a.entry.js.map +0 -1
  908. package/dist/csc-ui/p-0b41f178.entry.js.map +0 -1
  909. package/dist/csc-ui/p-0e3cf775.entry.js.map +0 -1
  910. package/dist/csc-ui/p-18a7f4e9.entry.js.map +0 -1
  911. package/dist/csc-ui/p-1aeab024.entry.js.map +0 -1
  912. package/dist/csc-ui/p-231bc97b.entry.js.map +0 -1
  913. package/dist/csc-ui/p-29b07261.entry.js.map +0 -1
  914. package/dist/csc-ui/p-2a104276.entry.js.map +0 -1
  915. package/dist/csc-ui/p-33c354c4.entry.js +0 -2
  916. package/dist/csc-ui/p-33c354c4.entry.js.map +0 -1
  917. package/dist/csc-ui/p-42587422.entry.js +0 -2
  918. package/dist/csc-ui/p-42587422.entry.js.map +0 -1
  919. package/dist/csc-ui/p-4dbc9e96.entry.js +0 -2
  920. package/dist/csc-ui/p-4dbc9e96.entry.js.map +0 -1
  921. package/dist/csc-ui/p-4f568e1f.entry.js +0 -2
  922. package/dist/csc-ui/p-4f568e1f.entry.js.map +0 -1
  923. package/dist/csc-ui/p-52a3f4f8.entry.js.map +0 -1
  924. package/dist/csc-ui/p-54d44ab9.entry.js +0 -2
  925. package/dist/csc-ui/p-54d44ab9.entry.js.map +0 -1
  926. package/dist/csc-ui/p-565ec8e4.js +0 -3
  927. package/dist/csc-ui/p-565ec8e4.js.map +0 -1
  928. package/dist/csc-ui/p-5dd84926.entry.js +0 -2
  929. package/dist/csc-ui/p-5dd84926.entry.js.map +0 -1
  930. package/dist/csc-ui/p-61e0e61f.entry.js.map +0 -1
  931. package/dist/csc-ui/p-7a7da729.entry.js +0 -2
  932. package/dist/csc-ui/p-7a7da729.entry.js.map +0 -1
  933. package/dist/csc-ui/p-80cdd280.entry.js +0 -2
  934. package/dist/csc-ui/p-80cdd280.entry.js.map +0 -1
  935. package/dist/csc-ui/p-886f0d1d.entry.js.map +0 -1
  936. package/dist/csc-ui/p-908b21bf.entry.js +0 -2
  937. package/dist/csc-ui/p-908b21bf.entry.js.map +0 -1
  938. package/dist/csc-ui/p-9dc5b5ac.entry.js.map +0 -1
  939. package/dist/csc-ui/p-a33ca657.entry.js +0 -2
  940. package/dist/csc-ui/p-a33ca657.entry.js.map +0 -1
  941. package/dist/csc-ui/p-aa307b78.entry.js.map +0 -1
  942. package/dist/csc-ui/p-b8fd106b.entry.js +0 -2
  943. package/dist/csc-ui/p-b8fd106b.entry.js.map +0 -1
  944. package/dist/csc-ui/p-bae44625.entry.js +0 -2
  945. package/dist/csc-ui/p-bae44625.entry.js.map +0 -1
  946. package/dist/csc-ui/p-c9e04eb5.entry.js +0 -2
  947. package/dist/csc-ui/p-c9e04eb5.entry.js.map +0 -1
  948. package/dist/csc-ui/p-cb4bce81.entry.js +0 -2
  949. package/dist/csc-ui/p-cb4bce81.entry.js.map +0 -1
  950. package/dist/csc-ui/p-ce88995f.entry.js.map +0 -1
  951. package/dist/csc-ui/p-da7c0754.entry.js.map +0 -1
  952. package/dist/csc-ui/p-da7d18c9.entry.js +0 -2
  953. package/dist/csc-ui/p-da7d18c9.entry.js.map +0 -1
  954. package/dist/csc-ui/p-e8bd7a76.entry.js +0 -2
  955. package/dist/csc-ui/p-e8bd7a76.entry.js.map +0 -1
  956. package/dist/csc-ui/p-e922c869.entry.js +0 -2
  957. package/dist/csc-ui/p-e922c869.entry.js.map +0 -1
  958. package/dist/csc-ui/p-e9ec927b.entry.js +0 -2
  959. package/dist/csc-ui/p-e9ec927b.entry.js.map +0 -1
  960. package/dist/csc-ui/p-fadae1ab.entry.js +0 -2
  961. package/dist/csc-ui/p-fadae1ab.entry.js.map +0 -1
  962. package/dist/csc-ui/p-fc580f2c.entry.js +0 -2
  963. package/dist/csc-ui/p-fc580f2c.entry.js.map +0 -1
  964. package/dist/esm/index-47956d53.js +0 -2573
  965. package/dist/esm/index-47956d53.js.map +0 -1
  966. package/dist/esm/index-dfaed2a4.js +0 -23
  967. package/dist/esm/polyfills/core-js.js +0 -11
  968. package/dist/esm/polyfills/dom.js +0 -79
  969. package/dist/esm/polyfills/es5-html-element.js +0 -1
  970. package/dist/esm/polyfills/index.js +0 -34
  971. package/dist/esm/polyfills/system.js +0 -6
  972. package/dist/loader/cdn.js +0 -3
  973. package/dist/loader/index.cjs.js +0 -3
  974. package/dist/loader/index.d.ts +0 -21
  975. package/dist/loader/index.es2017.js +0 -3
  976. package/dist/loader/index.js +0 -4
  977. package/dist/loader/package.json +0 -11
  978. package/dist/styles/.gitkeep +0 -0
  979. /package/dist/{styles → components/styles}/css/theme.css +0 -0
  980. /package/dist/{styles → components/styles}/scss/_theme.scss +0 -0
  981. /package/dist/{styles → components/styles}/tailwind/theme.js +0 -0
@@ -1,412 +1,420 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { e as mdiChevronDown, f as mdiClose } from './mdi.js';
3
- import { d as defineCustomElement$9 } from './c-badge2.js';
4
- import { d as defineCustomElement$8 } from './c-dropdown2.js';
5
- import { d as defineCustomElement$7 } from './c-icon2.js';
6
- import { d as defineCustomElement$6 } from './c-icon-button2.js';
7
- import { d as defineCustomElement$5 } from './c-input2.js';
8
- import { d as defineCustomElement$4 } from './c-message2.js';
9
- import { d as defineCustomElement$3 } from './c-ripple2.js';
10
- import { d as defineCustomElement$2 } from './c-spinner2.js';
1
+ import { p as proxyCustomElement, H, d as createEvent, h, c as Host } from './p-2fbcb4e1.js';
2
+ import { e as mdiChevronDown, f as mdiClose } from './p-3ea8acb0.js';
3
+ import { d as defineCustomElement$9 } from './p-f932f64a.js';
4
+ import { d as defineCustomElement$8 } from './p-d3b88201.js';
5
+ import { d as defineCustomElement$7 } from './p-8068bc3d.js';
6
+ import { d as defineCustomElement$6 } from './p-59f6f0d8.js';
7
+ import { d as defineCustomElement$5 } from './p-aa75dd47.js';
8
+ import { d as defineCustomElement$4 } from './p-c9e58781.js';
9
+ import { d as defineCustomElement$3 } from './p-cdf22a0b.js';
10
+ import { d as defineCustomElement$2 } from './p-7f5a7176.js';
11
11
 
12
12
  const cSelectCss = "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-select-active-color:var(--c-select-active-color, var(--c-primary-600));--_c-select-inactive-color:var(--c-select-inactive-color, var(--c-tertiary-600));--_c-select-background-color:var(--c-select-background-color, var(--c-transparent));--_c-select-text-color:var(--c-select-text-color, var(--c-text-body));--_c-select-placeholder-color:var(--c-select-placeholder-color, var(--c-tertiary-500));--_c-select-option-background-color:var(--c-select-option-background-color, var(--c-white));--_c-select-option-background-color-hover:var(--c-select-option-background-color-hover, var(--c-primary-100));--_c-select-option-text-color:var(--c-select-option-text-color, var(--c-text-body));--_c-select-shadow-active-color:var(--c-select-shadow-active-color, var(--_c-select-active-color));--_c-select-shadow-background-color:var(--c-select-shadow-background-color, var(--c-white));--_c-select-shadow-text-color:var(--c-select-shadow-text-color, var(--_c-select-text-color));--_c-select-shadow-placeholder-color:var(--c-select-shadow-placeholder-color, var(--_c-select-placeholder-color));--_c-input-active-color:var(--_c-select-active-color);--_c-input-inactive-color:var(--_c-select-inactive-color);--_c-input-background-color:var(--_c-select-background-color);--_c-input-text-color:var(--_c-select-text-color);--_c-input-placeholder-color:var(--_c-select-placeholder-color);--_c-input-shadow-active-color:var(--_c-select-shadow-active-color);--_c-input-shadow-background-color:var(--_c-select-shadow-background-color);--_c-input-shadow-text-color:var(--_c-select-shadow-text-color);--_c-input-shadow-placeholder-color:var(--_c-select-shadow-placeholder-color)}:host{display:block;cursor:text}.c-input-menu__chevron{fill:currentColor;transform:rotate(0deg);transition:transform 0.3s ease-in-out}.c-input-menu__chevron--active{transform:rotate(180deg)}.c-input-menu__input{width:100%;display:flex;justify-items:stretch}.c-input-menu__selection{display:none;pointer-events:none}.c-input-menu__selection--show{align-items:center;display:flex;width:100%;color:var(--_c-select-active-color)}.c-input-menu__item-wrapper{position:absolute;width:100%;top:44px;z-index:10;margin-left:calc(var(--_c-input-label-position) * -1)}.c-input-menu__item-wrapper--shadow{top:47px}.c-input-menu__items{position:absolute;background-color:var(--_c-select-option-background-color);min-width:calc(100% + 24px);box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:10;user-select:none;border-radius:4px;margin:0 -12px;overflow-y:scroll;list-style:none;padding:0}.c-input-menu__items--hidden{display:none}.c-input-menu__items li{cursor:pointer;display:flex;min-height:48px;padding:0 12px;transition:background-color 0.3s;font-size:14px;align-items:center;justify-content:flex-start;color:var(--_c-select-option-text-color)}.c-input-menu__items li.disabled{background-color:var(--c-tertiary-100);filter:grayscale(1) opacity(0.6);cursor:default}.c-input-menu__items li.disabled:hover{background-color:var(--c-tertiary-100)}.c-input-menu__items li.dense{padding:10px 14px}.c-input-menu__items li:hover{background-color:var(--_c-select-option-background-color-hover)}.c-input-menu__items li[aria-selected=true]{background-color:var(--_c-select-option-background-color-hover);box-shadow:inset 0 0 0 1px var(--_c-select-active-color);border-radius:4px;backface-visibility:hidden;transform:translate3d(0, 0, 0)}.c-input-menu__items li.none{color:rgba(0, 0, 0, 0.5)}.c-input-menu__items--empty li{color:var(--c-text-system);cursor:default;gap:8px;pointer-events:none}.c-input-menu__items--empty li svg{fill:var(--c-warning-600);height:18px;width:18px}input{max-height:32px;padding:8px 0;background-color:transparent;border:none;color:var(--c-text-body);flex:1 1 auto;font-family:var(--c-font-family);font-size:16px;line-height:20px;max-width:100%;min-width:0;width:100%;pointer-events:none}input:focus,input:active{outline:none}input::-ms-reveal{display:none}svg{fill:currentColor;height:22px;width:22px}.c-input--disabled{color:var(--c-tertiary-400)}.c-input:focus-within{color:var(--c-primary-600)}.c-input--error{color:var(--c-error-600)}.c-input--error:focus-within{color:var(--c-error-600)}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}";
13
+ const CSelectStyle0 = cSelectCss;
13
14
 
14
- const CSelect$1 = proxyCustomElement(class CSelect extends HTMLElement {
15
- constructor() {
16
- super();
17
- this.__registerHost();
18
- this.__attachShadow();
19
- this.changeValue = createEvent(this, "changeValue", 3);
20
- this.internals = this.attachInternals();
21
- this._preventDialogOpen = false;
22
- this._debounce = null;
23
- this._lastKeyPressTime = null;
24
- this._searchString = '';
25
- this._toggleDropdown = (event) => {
26
- event.stopPropagation();
27
- if (this.dropdownVisible) {
28
- this._dropdownElement.close();
29
- return;
30
- }
31
- this._dropdownElement.open();
32
- };
33
- this._onButtonKeyDown = (src, event) => {
34
- event.stopPropagation();
35
- if (event.key !== 'Tab')
36
- event.preventDefault();
37
- if (['Enter', ' '].includes(event.key)) {
38
- if (src === 'chevron') {
39
- this._toggleDropdown(event);
40
- return;
15
+ const CSelect$1 = proxyCustomElement(class CSelect extends H {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.__attachShadow();
20
+ this.changeValue = createEvent(this, "changeValue", 3);
21
+ this.internals = this.attachInternals();
22
+ this._preventDialogOpen = false;
23
+ this._debounce = null;
24
+ this._lastKeyPressTime = null;
25
+ this._searchString = '';
26
+ this._toggleDropdown = (event) => {
27
+ event.stopPropagation();
28
+ if (this.dropdownVisible) {
29
+ this._dropdownElement.close();
30
+ return;
31
+ }
32
+ this._dropdownElement.open();
33
+ };
34
+ this._onButtonKeyDown = (src, event) => {
35
+ event.stopPropagation();
36
+ if (event.key !== 'Tab')
37
+ event.preventDefault();
38
+ if (['Enter', ' '].includes(event.key)) {
39
+ if (src === 'chevron') {
40
+ this._toggleDropdown(event);
41
+ return;
42
+ }
43
+ this._onReset(event);
44
+ this._preventDialogOpen = true;
45
+ requestAnimationFrame(() => {
46
+ this._inputElement.focus();
47
+ });
48
+ }
49
+ };
50
+ this._onSlotChange = () => {
51
+ this.optionElements = this.el.querySelectorAll('c-option');
52
+ if (this.optionElements.length && !this.optionElementsExist) {
53
+ this.optionElementsExist = true;
54
+ }
55
+ const selection = Array.from(this.optionElements).find((option) => option.selected);
56
+ if (selection) {
57
+ this.value = this.returnObject
58
+ ? { name: selection.name, value: selection.value }
59
+ : selection.value;
60
+ this.changeValue.emit(this.value);
61
+ this.internals.setFormValue(selection.value.toString());
62
+ }
63
+ };
64
+ this._onReset = (event) => {
65
+ event.stopPropagation();
66
+ this.changeValue.emit(null);
67
+ this.internals.setFormValue(null);
68
+ this._selectionElement.classList.remove('c-input-menu__selection--show');
69
+ this._selectionElement.replaceChildren(null);
70
+ this._preventDialogOpen = true;
71
+ this._cInputElement.reset();
72
+ this._inputElement.focus();
73
+ this._dropdownElement.updateList();
74
+ };
75
+ this._onInputFocus = () => {
76
+ if (this.disabled)
77
+ return;
78
+ if (!this._preventDialogOpen) {
79
+ this._dropdownElement.open();
80
+ }
81
+ this._updateStatusText();
82
+ this._preventDialogOpen = false;
83
+ };
84
+ this.items = [];
85
+ this.value = null;
86
+ this.hostId = undefined;
87
+ this.clearable = false;
88
+ this.disabled = false;
89
+ this.label = undefined;
90
+ this.name = undefined;
91
+ this.placeholder = '';
92
+ this.hideDetails = false;
93
+ this.hint = '';
94
+ this.loading = false;
95
+ this.required = false;
96
+ this.valid = true;
97
+ this.validate = false;
98
+ this.validateOnBlur = false;
99
+ this.validation = 'Required field';
100
+ this.shadow = false;
101
+ this.returnObject = false;
102
+ this.itemsPerPage = 6;
103
+ this.optionAsSelection = undefined;
104
+ this.optionElements = undefined;
105
+ this.currentIndex = null;
106
+ this.dropdownVisible = false;
107
+ this.statusText = '';
108
+ this.optionElementsExist = false;
109
+ }
110
+ get _id() {
111
+ return this.hostId || `select_${CSelect._uniqueId}`;
112
+ }
113
+ get _items() {
114
+ return this.optionElementsExist ? this.optionElements : this.items;
115
+ }
116
+ get _value() {
117
+ var _a, _b, _c, _d;
118
+ if (!this.value)
119
+ return '';
120
+ if (!this.returnObject &&
121
+ !['number', 'string'].includes(typeof this.value)) {
122
+ console.warn(`[C-SELECT] The value should be of type 'number' or 'string' when return-object is not used.`);
123
+ return '';
41
124
  }
42
- this._onReset(event);
43
- this._preventDialogOpen = true;
44
- requestAnimationFrame(() => {
45
- this._inputElement.focus();
46
- });
47
- }
48
- };
49
- this._onSlotChange = () => {
50
- this.optionElements = this.el.querySelectorAll('c-option');
51
- if (this.optionElements.length && !this.optionElementsExist) {
52
- this.optionElementsExist = true;
53
- }
54
- const selection = Array.from(this.optionElements).find((option) => option.selected);
55
- if (selection) {
56
- this.value = this.returnObject
57
- ? { name: selection.name, value: selection.value }
58
- : selection.value;
59
- this.changeValue.emit(this.value);
60
- this.internals.setFormValue(selection.value.toString());
61
- }
62
- };
63
- this._onReset = (event) => {
64
- event.stopPropagation();
65
- this.changeValue.emit(null);
66
- this.internals.setFormValue(null);
67
- this._selectionElement.classList.remove('c-input-menu__selection--show');
68
- this._selectionElement.replaceChildren(null);
69
- this._preventDialogOpen = true;
70
- this._cInputElement.reset();
71
- this._inputElement.focus();
72
- this._dropdownElement.updateList();
73
- };
74
- this._onInputFocus = () => {
75
- if (this.disabled)
76
- return;
77
- if (!this._preventDialogOpen) {
78
- this._dropdownElement.open();
79
- }
80
- this._updateStatusText();
81
- this._preventDialogOpen = false;
82
- };
83
- this.items = [];
84
- this.value = null;
85
- this.hostId = undefined;
86
- this.clearable = false;
87
- this.disabled = false;
88
- this.label = undefined;
89
- this.name = undefined;
90
- this.placeholder = '';
91
- this.hideDetails = false;
92
- this.hint = '';
93
- this.loading = false;
94
- this.required = false;
95
- this.valid = true;
96
- this.validate = false;
97
- this.validateOnBlur = false;
98
- this.validation = 'Required field';
99
- this.shadow = false;
100
- this.returnObject = false;
101
- this.itemsPerPage = 6;
102
- this.optionAsSelection = undefined;
103
- this.optionElements = undefined;
104
- this.currentIndex = null;
105
- this.dropdownVisible = false;
106
- this.statusText = '';
107
- this.optionElementsExist = false;
108
- }
109
- get _id() {
110
- return this.hostId || `select_${CSelect._uniqueId}`;
111
- }
112
- get _items() {
113
- return this.optionElementsExist ? this.optionElements : this.items;
114
- }
115
- get _value() {
116
- var _a, _b, _c, _d;
117
- if (!this.value)
118
- return '';
119
- if (!this.returnObject &&
120
- !['number', 'string'].includes(typeof this.value)) {
121
- console.warn(`[C-SELECT] The value should be of type 'number' or 'string' when return-object is not used.`);
122
- return '';
125
+ if (!this.returnObject &&
126
+ ['number', 'string'].includes(typeof this.value)) {
127
+ return (_b = (_a = Array.from(this._items)) === null || _a === void 0 ? void 0 : _a.find((item) => item.value === this.value)) === null || _b === void 0 ? void 0 : _b.name;
128
+ }
129
+ return (_d = (_c = Array.from(this._items)) === null || _c === void 0 ? void 0 : _c.find((item) => item.value === this.value.value)) === null || _d === void 0 ? void 0 : _d.name;
123
130
  }
124
- if (!this.returnObject &&
125
- ['number', 'string'].includes(typeof this.value)) {
126
- return (_b = (_a = Array.from(this._items)) === null || _a === void 0 ? void 0 : _a.find((item) => item.value === this.value)) === null || _b === void 0 ? void 0 : _b.name;
131
+ async reset() {
132
+ this.changeValue.emit(null);
133
+ this.internals.setFormValue(null);
134
+ this._dropdownElement.updateList();
127
135
  }
128
- return (_d = (_c = Array.from(this._items)) === null || _c === void 0 ? void 0 : _c.find((item) => item.value === this.value.value)) === null || _d === void 0 ? void 0 : _d.name;
129
- }
130
- async reset() {
131
- this.changeValue.emit(null);
132
- this.internals.setFormValue(null);
133
- this._dropdownElement.updateList();
134
- }
135
- handleKeyDown(event) {
136
- const alphanumeric = /^[0-9a-zA-Z ]+$/;
137
- if (this.disabled)
138
- return;
139
- if (event.key.match(alphanumeric) && event.key.length === 1) {
140
- if (this.dropdownVisible)
141
- return;
142
- if (Date.now() - this._lastKeyPressTime > 3000) {
143
- this._searchString = event.key;
144
- }
145
- else {
146
- this._searchString += event.key;
147
- }
148
- this._lastKeyPressTime = Date.now();
149
- const selectionIndex = Array.from(this._items).findIndex((i) => i.name.toLowerCase().startsWith(this._searchString));
150
- this.currentIndex = selectionIndex >= 0 ? selectionIndex : null;
151
- if (this.currentIndex !== null) {
152
- this._dropdownElement.selectItem(this.currentIndex);
153
- }
154
- return;
136
+ handleKeyDown(event) {
137
+ const alphanumeric = /^[0-9a-zA-Z ]+$/;
138
+ if (this.disabled)
139
+ return;
140
+ if (event.key.match(alphanumeric) && event.key.length === 1) {
141
+ if (this.dropdownVisible)
142
+ return;
143
+ if (Date.now() - this._lastKeyPressTime > 3000) {
144
+ this._searchString = event.key;
145
+ }
146
+ else {
147
+ this._searchString += event.key;
148
+ }
149
+ this._lastKeyPressTime = Date.now();
150
+ const selectionIndex = Array.from(this._items).findIndex((i) => i.name.toLowerCase().startsWith(this._searchString));
151
+ this.currentIndex = selectionIndex >= 0 ? selectionIndex : null;
152
+ if (this.currentIndex !== null) {
153
+ this._dropdownElement.selectItem(this.currentIndex);
154
+ }
155
+ return;
156
+ }
157
+ if (event.key === 'Escape') {
158
+ this._preventDialogOpen = true;
159
+ this._dropdownElement.close();
160
+ this._inputElement.focus();
161
+ return;
162
+ }
163
+ if (event.key === 'Tab') {
164
+ this._dropdownElement.close();
165
+ }
166
+ if (event.key === 'ArrowDown') {
167
+ event.preventDefault();
168
+ if (!this._items.length)
169
+ return;
170
+ if (!this.dropdownVisible) {
171
+ this._dropdownElement.open();
172
+ }
173
+ this.currentIndex =
174
+ this.currentIndex === null
175
+ ? 0
176
+ : Math.min(this.currentIndex + 1, this._items.length - 1);
177
+ this._dropdownElement.focusItem(this.currentIndex);
178
+ }
179
+ if (event.key === 'ArrowUp') {
180
+ event.preventDefault();
181
+ if (this.currentIndex === 0) {
182
+ this._dropdownElement.close();
183
+ this._inputElement.focus();
184
+ }
185
+ if (!this.dropdownVisible) {
186
+ this._dropdownElement.open();
187
+ }
188
+ this.currentIndex =
189
+ this.currentIndex === null
190
+ ? this._items.length - 1
191
+ : Math.max(this.currentIndex - 1, 0);
192
+ this._dropdownElement.focusItem(this.currentIndex);
193
+ }
194
+ if (event.key === ' ') {
195
+ event.preventDefault();
196
+ }
197
+ if (event.key === 'Enter') {
198
+ event.preventDefault();
199
+ if (this.currentIndex === null)
200
+ return;
201
+ this._dropdownElement.selectItem(this.currentIndex);
202
+ }
203
+ if (event.key === 'Home' && this.dropdownVisible) {
204
+ this.currentIndex = 0;
205
+ }
206
+ if (event.key === 'End' && this.dropdownVisible) {
207
+ this.currentIndex = this._items.length - 1;
208
+ }
155
209
  }
156
- if (event.key === 'Escape') {
157
- this._preventDialogOpen = true;
158
- this._dropdownElement.close();
159
- this._inputElement.focus();
160
- return;
210
+ onDropdownStateChange(event) {
211
+ const isOpen = event.detail;
212
+ this.dropdownVisible = isOpen;
161
213
  }
162
- if (event.key === 'Tab') {
163
- this._dropdownElement.close();
214
+ onValueChanged(v) {
215
+ var _a;
216
+ if (!this.value && this.optionAsSelection) {
217
+ (_a = this._selectionElement) === null || _a === void 0 ? void 0 : _a.replaceChildren();
218
+ }
219
+ console.log('VALUE VAIHTUS', v);
220
+ this._selectOption(this.returnObject ? v : { name: v, value: v });
164
221
  }
165
- if (event.key === 'ArrowDown') {
166
- event.preventDefault();
167
- if (!this._items.length)
168
- return;
169
- if (!this.dropdownVisible) {
170
- this._dropdownElement.open();
171
- }
172
- this.currentIndex =
173
- this.currentIndex === null
174
- ? 0
175
- : Math.min(this.currentIndex + 1, this._items.length - 1);
176
- this._dropdownElement.focusItem(this.currentIndex);
222
+ onSelectOption(event) {
223
+ this._setValue(event.detail);
177
224
  }
178
- if (event.key === 'ArrowUp') {
179
- event.preventDefault();
180
- if (this.currentIndex === 0) {
225
+ _selectOption({ value, name }) {
226
+ console.log('selecteerataan', value, name);
181
227
  this._dropdownElement.close();
228
+ const selection = this._setCurrentIndex({ name, value });
229
+ if (this.optionElementsExist && this.optionAsSelection && selection) {
230
+ const clone = selection.cloneNode(true);
231
+ this._selectionElement.classList.add('c-input-menu__selection--show');
232
+ this._selectionElement.replaceChildren(clone);
233
+ }
234
+ this._dropdownElement.updateList();
235
+ this._preventDialogOpen = true;
182
236
  this._inputElement.focus();
183
- }
184
- if (!this.dropdownVisible) {
237
+ }
238
+ _setValue({ value, name }) {
239
+ this.value = this.returnObject ? { name, value } : value;
240
+ this.changeValue.emit(this.value);
241
+ this.internals.setFormValue(value);
242
+ }
243
+ _setCurrentIndex({ value, name }) {
244
+ let selection = null;
245
+ Array.from(this._items).forEach((item, index) => {
246
+ const selected = item.value === value && item.name === name;
247
+ if (this.optionElementsExist) {
248
+ item.selected = selected;
249
+ }
250
+ if (selected) {
251
+ this.currentIndex = index;
252
+ selection = item;
253
+ }
254
+ });
255
+ return selection;
256
+ }
257
+ _updateInput() {
185
258
  this._dropdownElement.open();
186
- }
187
- this.currentIndex =
188
- this.currentIndex === null
189
- ? this._items.length - 1
190
- : Math.max(this.currentIndex - 1, 0);
191
- this._dropdownElement.focusItem(this.currentIndex);
259
+ this._dropdownElement.updateList();
192
260
  }
193
- if (event.key === ' ') {
194
- event.preventDefault();
261
+ _updateStatusText() {
262
+ if (this._debounce !== null) {
263
+ clearTimeout(this._debounce);
264
+ this._debounce = null;
265
+ }
266
+ this._debounce = window.setTimeout(() => {
267
+ this.statusText = '';
268
+ if (this.currentIndex === null) {
269
+ this.statusText = this._items.length
270
+ ? `${this._items.length} option${this._items.length !== 1 ? 's' : ''} available`
271
+ : 'No options available';
272
+ }
273
+ const ending = !!this._items.length
274
+ ? ', navigate using the up and down arrows'
275
+ : '';
276
+ this._dropdownElement.setStatusText(this.statusText + ending);
277
+ this._debounce = null;
278
+ }, 1400);
195
279
  }
196
- if (event.key === 'Enter') {
197
- event.preventDefault();
198
- if (this.currentIndex === null)
199
- return;
200
- this._dropdownElement.selectItem(this.currentIndex);
280
+ componentWillLoad() {
281
+ CSelect._uniqueId += 1;
282
+ this._inputId =
283
+ 'input_' +
284
+ (this.hostId || this.label || this.placeholder).replace(/[^a-zA-Z0-9-_]/g, '');
201
285
  }
202
- if (event.key === 'Home' && this.dropdownVisible) {
203
- this.currentIndex = 0;
286
+ componentDidLoad() {
287
+ if (!this.value)
288
+ return;
289
+ const selection = Array.from(this._items).find((item) => {
290
+ if (this.returnObject) {
291
+ return (item.name === this.value.name &&
292
+ item.value === this.value.value);
293
+ }
294
+ return item.value === this.value;
295
+ });
296
+ if (selection) {
297
+ this._setCurrentIndex({
298
+ name: selection.name,
299
+ value: selection.value.toString(),
300
+ });
301
+ }
204
302
  }
205
- if (event.key === 'End' && this.dropdownVisible) {
206
- this.currentIndex = this._items.length - 1;
303
+ _renderLoader() {
304
+ return h("c-spinner", { color: "var(--_c-autocomplete-active-color)", size: 20 });
207
305
  }
208
- }
209
- onDropdownStateChange(event) {
210
- const isOpen = event.detail;
211
- this.dropdownVisible = isOpen;
212
- }
213
- onValueChanged() {
214
- var _a;
215
- if (!this.value && this.optionAsSelection) {
216
- (_a = this._selectionElement) === null || _a === void 0 ? void 0 : _a.replaceChildren();
306
+ _renderChevron() {
307
+ const classes = {
308
+ 'c-input-menu__chevron': true,
309
+ 'c-input-menu__chevron--active': this.dropdownVisible,
310
+ };
311
+ return (h("c-icon-button", { size: "x-small", class: classes, disabled: this.disabled, text: true, onClick: (event) => this._toggleDropdown(event), onKeyDown: (event) => this._onButtonKeyDown('chevron', event) }, h("c-icon", { path: mdiChevronDown, size: 24 })));
217
312
  }
218
- }
219
- onSelectOption(event) {
220
- this._dropdownElement.close();
221
- const { name, value } = event.detail;
222
- const selection = this._setCurrentIndex({ name, value });
223
- if (this.optionElementsExist && this.optionAsSelection && selection) {
224
- const clone = selection.cloneNode(true);
225
- this._selectionElement.classList.add('c-input-menu__selection--show');
226
- this._selectionElement.replaceChildren(clone);
313
+ _renderInputElement() {
314
+ var _a;
315
+ return (h("div", { class: "c-input-menu__input" }, h("input", { type: "text", readonly: true, ref: (el) => (this._inputElement = el), "aria-expanded": this.dropdownVisible.toString(), "aria-owns": this._inputId + '-items', "aria-autocomplete": "list", autocomplete: "off", class: "c-input__input", role: "combobox", value: this._value, name: (_a = this.name) !== null && _a !== void 0 ? _a : null, disabled: this.disabled, onInput: () => this._updateInput(), onFocus: () => this._onInputFocus() }), h("div", { ref: (el) => (this._selectionElement = el), class: "c-input-menu__selection" })));
227
316
  }
228
- this._dropdownElement.updateList();
229
- this.value = this.returnObject ? event.detail : value;
230
- this.changeValue.emit(this.value);
231
- this.internals.setFormValue(value);
232
- this._preventDialogOpen = true;
233
- this._inputElement.focus();
234
- }
235
- _setCurrentIndex({ value, name }) {
236
- let selection = null;
237
- Array.from(this._items).forEach((item, index) => {
238
- const selected = item.value === value && item.name === name;
239
- if (this.optionElementsExist) {
240
- item.selected = selected;
241
- }
242
- if (selected) {
243
- this.currentIndex = index;
244
- selection = item;
245
- }
246
- });
247
- return selection;
248
- }
249
- _updateInput() {
250
- this._dropdownElement.open();
251
- this._dropdownElement.updateList();
252
- }
253
- _updateStatusText() {
254
- if (this._debounce !== null) {
255
- clearTimeout(this._debounce);
256
- this._debounce = null;
317
+ _renderReset() {
318
+ return (h("c-icon-button", { "aria-label": "", size: "x-small", disabled: this.disabled, text: true, onClick: (event) => this._onReset(event), onKeyDown: (event) => this._onButtonKeyDown('reset', event) }, h("c-icon", { path: mdiClose, size: 20 })));
257
319
  }
258
- this._debounce = window.setTimeout(() => {
259
- this.statusText = '';
260
- if (this.currentIndex === null) {
261
- this.statusText = this._items.length
262
- ? `${this._items.length} option${this._items.length !== 1 ? 's' : ''} available`
263
- : 'No options available';
264
- }
265
- const ending = !!this._items.length
266
- ? ', navigate using the up and down arrows'
267
- : '';
268
- this._dropdownElement.setStatusText(this.statusText + ending);
269
- this._debounce = null;
270
- }, 1400);
271
- }
272
- componentWillLoad() {
273
- CSelect._uniqueId += 1;
274
- this._inputId =
275
- 'input_' +
276
- (this.hostId || this.label || this.placeholder).replace(/[^a-zA-Z0-9-_]/g, '');
277
- }
278
- componentDidLoad() {
279
- if (!this.value)
280
- return;
281
- const selection = Array.from(this._items).find((item) => {
282
- if (this.returnObject) {
283
- return (item.name === this.value.name &&
284
- item.value === this.value.value);
285
- }
286
- return item.value === this.value;
287
- });
288
- if (selection) {
289
- this._setCurrentIndex({
290
- name: selection.name,
291
- value: selection.value.toString(),
292
- });
320
+ render() {
321
+ const itemType = this.optionElementsExist ? 'option' : 'item';
322
+ return (h(Host, { key: '613012a2a976bfc76187551debee5b697d346511' }, h("c-dropdown", { key: '7dc82d5d850751275c2fac9c735cb3b7bfcb9a7a', ref: (el) => (this._dropdownElement = el), id: `${this._id}-dropdown`, index: this.currentIndex, "items-per-page": this.itemsPerPage, "dropdown-item-type": itemType, items: this._items, parent: this.el, type: "select" }, h("c-input", { key: '27318e5a72b5b841178c03634a6ef8e35ba341e4', slot: "default", ref: (el) => (this._cInputElement = el), active: this.dropdownVisible, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, name: this.name, placeholder: this.placeholder, required: this.required, shadow: this.shadow, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value, variant: "select", onClick: () => !this.disabled && this._dropdownElement.open() }, h("slot", { key: 'e63f20eda0bcfa82da0ff72b3b23e5031a68e3b8', name: "pre", slot: "pre" }), h("div", { key: 'ea4fd5210affea7f940dc75fff5a239596e5d2ef', class: "c-input__content" }, this._renderInputElement(), this.loading && this._renderLoader(), !this.loading &&
323
+ this.value &&
324
+ this.clearable &&
325
+ this._renderReset(), !this.loading &&
326
+ (!this.value || !this.clearable) &&
327
+ this._renderChevron(), h("slot", { key: '707c03feddc424c875d52f6c3958469dad01c59b', onSlotchange: () => this._onSlotChange() })), h("slot", { key: '43f262f49f2f950aa8a14e4c266fbaac8f7061c9', name: "post", slot: "post" })))));
293
328
  }
294
- }
295
- _renderLoader() {
296
- return h("c-spinner", { color: "var(--_c-autocomplete-active-color)", size: 20 });
297
- }
298
- _renderChevron() {
299
- const classes = {
300
- 'c-input-menu__chevron': true,
301
- 'c-input-menu__chevron--active': this.dropdownVisible,
302
- };
303
- return (h("c-icon-button", { size: "x-small", class: classes, disabled: this.disabled, text: true, onClick: (event) => this._toggleDropdown(event), onKeyDown: (event) => this._onButtonKeyDown('chevron', event) }, h("c-icon", { path: mdiChevronDown, size: 24 })));
304
- }
305
- _renderInputElement() {
306
- var _a;
307
- return (h("div", { class: "c-input-menu__input" }, h("input", { type: "text", readonly: true, ref: (el) => (this._inputElement = el), "aria-expanded": this.dropdownVisible.toString(), "aria-owns": this._inputId + '-items', "aria-autocomplete": "list", autocomplete: "off", class: "c-input__input", role: "combobox", value: this._value, name: (_a = this.name) !== null && _a !== void 0 ? _a : null, disabled: this.disabled, onInput: () => this._updateInput(), onFocus: () => this._onInputFocus() }), h("div", { ref: (el) => (this._selectionElement = el), class: "c-input-menu__selection" })));
308
- }
309
- _renderReset() {
310
- return (h("c-icon-button", { "aria-label": "", size: "x-small", disabled: this.disabled, text: true, onClick: (event) => this._onReset(event), onKeyDown: (event) => this._onButtonKeyDown('reset', event) }, h("c-icon", { path: mdiClose, size: 20 })));
311
- }
312
- render() {
313
- const itemType = this.optionElementsExist ? 'option' : 'item';
314
- return (h(Host, null, h("c-dropdown", { ref: (el) => (this._dropdownElement = el), id: `${this._id}-dropdown`, index: this.currentIndex, "items-per-page": this.itemsPerPage, "item-type": itemType, items: this._items, parent: this.el, type: "select" }, h("c-input", { slot: "default", ref: (el) => (this._cInputElement = el), active: this.dropdownVisible, disabled: this.disabled, "hide-details": this.hideDetails, hint: this.hint, id: this.hostId, "input-id": this._inputId, label: this.label, name: this.name, placeholder: this.placeholder, required: this.required, shadow: this.shadow, valid: this.valid, validate: this.validate, "validate-on-blur": this.validateOnBlur, validation: this.validation, value: this.value, variant: "select", onClick: () => !this.disabled && this._dropdownElement.open() }, h("slot", { name: "pre", slot: "pre" }), h("div", { class: "c-input__content" }, this._renderInputElement(), this.loading && this._renderLoader(), !this.loading &&
315
- this.value &&
316
- this.clearable &&
317
- this._renderReset(), !this.loading &&
318
- (!this.value || !this.clearable) &&
319
- this._renderChevron(), h("slot", { onSlotchange: () => this._onSlotChange() })), h("slot", { name: "post", slot: "post" })))));
320
- }
321
- static get formAssociated() { return true; }
322
- get el() { return this; }
323
- static get watchers() { return {
324
- "value": ["onValueChanged"]
325
- }; }
326
- static get style() { return cSelectCss; }
329
+ static get formAssociated() { return true; }
330
+ get el() { return this; }
331
+ static get watchers() { return {
332
+ "value": ["onValueChanged"]
333
+ }; }
334
+ static get style() { return CSelectStyle0; }
327
335
  }, [65, "c-select", {
328
- "items": [16],
329
- "value": [8],
330
- "hostId": [1, "id"],
331
- "clearable": [4],
332
- "disabled": [4],
333
- "label": [1],
334
- "name": [1],
335
- "placeholder": [1],
336
- "hideDetails": [4, "hide-details"],
337
- "hint": [1],
338
- "loading": [4],
339
- "required": [4],
340
- "valid": [4],
341
- "validate": [4],
342
- "validateOnBlur": [4, "validate-on-blur"],
343
- "validation": [1],
344
- "shadow": [4],
345
- "returnObject": [4, "return-object"],
346
- "itemsPerPage": [2, "items-per-page"],
347
- "optionAsSelection": [4, "option-as-selection"],
348
- "optionElements": [32],
349
- "currentIndex": [32],
350
- "dropdownVisible": [32],
351
- "statusText": [32],
352
- "optionElementsExist": [32],
353
- "reset": [64]
354
- }, [[1, "keydown", "handleKeyDown"], [0, "dropdownStateChange", "onDropdownStateChange"], [0, "selectOption", "onSelectOption"]], {
355
- "value": ["onValueChanged"]
356
- }]);
336
+ "items": [16],
337
+ "value": [8],
338
+ "hostId": [1, "id"],
339
+ "clearable": [4],
340
+ "disabled": [4],
341
+ "label": [1],
342
+ "name": [1],
343
+ "placeholder": [1],
344
+ "hideDetails": [4, "hide-details"],
345
+ "hint": [1],
346
+ "loading": [4],
347
+ "required": [4],
348
+ "valid": [4],
349
+ "validate": [4],
350
+ "validateOnBlur": [4, "validate-on-blur"],
351
+ "validation": [1],
352
+ "shadow": [4],
353
+ "returnObject": [4, "return-object"],
354
+ "itemsPerPage": [2, "items-per-page"],
355
+ "optionAsSelection": [4, "option-as-selection"],
356
+ "optionElements": [32],
357
+ "currentIndex": [32],
358
+ "dropdownVisible": [32],
359
+ "statusText": [32],
360
+ "optionElementsExist": [32],
361
+ "reset": [64]
362
+ }, [[1, "keydown", "handleKeyDown"], [0, "dropdownStateChange", "onDropdownStateChange"], [0, "selectOption", "onSelectOption"]], {
363
+ "value": ["onValueChanged"]
364
+ }]);
357
365
  CSelect$1._uniqueId = 0;
358
366
  function defineCustomElement$1() {
359
- if (typeof customElements === "undefined") {
360
- return;
361
- }
362
- const components = ["c-select", "c-badge", "c-dropdown", "c-icon", "c-icon-button", "c-input", "c-message", "c-ripple", "c-spinner"];
363
- components.forEach(tagName => { switch (tagName) {
364
- case "c-select":
365
- if (!customElements.get(tagName)) {
366
- customElements.define(tagName, CSelect$1);
367
- }
368
- break;
369
- case "c-badge":
370
- if (!customElements.get(tagName)) {
371
- defineCustomElement$9();
372
- }
373
- break;
374
- case "c-dropdown":
375
- if (!customElements.get(tagName)) {
376
- defineCustomElement$8();
377
- }
378
- break;
379
- case "c-icon":
380
- if (!customElements.get(tagName)) {
381
- defineCustomElement$7();
382
- }
383
- break;
384
- case "c-icon-button":
385
- if (!customElements.get(tagName)) {
386
- defineCustomElement$6();
387
- }
388
- break;
389
- case "c-input":
390
- if (!customElements.get(tagName)) {
391
- defineCustomElement$5();
392
- }
393
- break;
394
- case "c-message":
395
- if (!customElements.get(tagName)) {
396
- defineCustomElement$4();
397
- }
398
- break;
399
- case "c-ripple":
400
- if (!customElements.get(tagName)) {
401
- defineCustomElement$3();
402
- }
403
- break;
404
- case "c-spinner":
405
- if (!customElements.get(tagName)) {
406
- defineCustomElement$2();
407
- }
408
- break;
409
- } });
367
+ if (typeof customElements === "undefined") {
368
+ return;
369
+ }
370
+ const components = ["c-select", "c-badge", "c-dropdown", "c-icon", "c-icon-button", "c-input", "c-message", "c-ripple", "c-spinner"];
371
+ components.forEach(tagName => { switch (tagName) {
372
+ case "c-select":
373
+ if (!customElements.get(tagName)) {
374
+ customElements.define(tagName, CSelect$1);
375
+ }
376
+ break;
377
+ case "c-badge":
378
+ if (!customElements.get(tagName)) {
379
+ defineCustomElement$9();
380
+ }
381
+ break;
382
+ case "c-dropdown":
383
+ if (!customElements.get(tagName)) {
384
+ defineCustomElement$8();
385
+ }
386
+ break;
387
+ case "c-icon":
388
+ if (!customElements.get(tagName)) {
389
+ defineCustomElement$7();
390
+ }
391
+ break;
392
+ case "c-icon-button":
393
+ if (!customElements.get(tagName)) {
394
+ defineCustomElement$6();
395
+ }
396
+ break;
397
+ case "c-input":
398
+ if (!customElements.get(tagName)) {
399
+ defineCustomElement$5();
400
+ }
401
+ break;
402
+ case "c-message":
403
+ if (!customElements.get(tagName)) {
404
+ defineCustomElement$4();
405
+ }
406
+ break;
407
+ case "c-ripple":
408
+ if (!customElements.get(tagName)) {
409
+ defineCustomElement$3();
410
+ }
411
+ break;
412
+ case "c-spinner":
413
+ if (!customElements.get(tagName)) {
414
+ defineCustomElement$2();
415
+ }
416
+ break;
417
+ } });
410
418
  }
411
419
 
412
420
  const CSelect = CSelect$1;