xv-webcomponents 0.1.42 → 0.1.43

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 (310) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +129 -129
  3. package/dist/types/components/xv-button/xv-button.d.ts +12 -21
  4. package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +0 -1
  5. package/dist/types/components/xv-header/xv-header.d.ts +2 -0
  6. package/dist/types/components/xv-table/_vars.d.ts +5 -1
  7. package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +1 -2
  8. package/dist/types/components/xv-text-input/_vars.d.ts +5 -0
  9. package/dist/types/components/xv-text-input/xv-text-input.d.ts +11 -10
  10. package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +8 -10
  11. package/dist/types/components/xv-user-menu/interfaces/MenuItem.d.ts +0 -0
  12. package/dist/types/components/xv-user-menu/xv-user-menu.d.ts +41 -0
  13. package/dist/types/components.d.ts +105 -508
  14. package/dist/types/stencil-public-runtime.d.ts +1 -1
  15. package/dist/types/types/enum.d.ts +0 -5
  16. package/dist/xv-webcomponents/_vars-FbbDWn6g.js +13 -0
  17. package/dist/xv-webcomponents/_vars-FbbDWn6g.js.map +1 -0
  18. package/dist/{collection/components/xv-progress-indicator/_vars.js → xv-webcomponents/_vars-IZ3lIQzL.js} +7 -3
  19. package/dist/xv-webcomponents/_vars-IZ3lIQzL.js.map +1 -0
  20. package/dist/xv-webcomponents/enum-DTBL51oP.js +13 -0
  21. package/dist/xv-webcomponents/enum-DTBL51oP.js.map +1 -0
  22. package/dist/xv-webcomponents/index-rZAC0WRb.js +4238 -0
  23. package/dist/xv-webcomponents/index-rZAC0WRb.js.map +1 -0
  24. package/dist/xv-webcomponents/index.esm.js +13 -1
  25. package/dist/xv-webcomponents/index.esm.js.map +1 -1
  26. package/dist/xv-webcomponents/loader.esm.js.map +1 -1
  27. package/dist/{collection/utils/utils.js → xv-webcomponents/utils-1tk8kwKx.js} +11 -7
  28. package/dist/xv-webcomponents/utils-1tk8kwKx.js.map +1 -0
  29. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.esm.js.map +1 -0
  30. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +36 -0
  31. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +1 -0
  32. package/dist/xv-webcomponents/xv-accordion-v2.entry.esm.js.map +1 -0
  33. package/dist/xv-webcomponents/xv-accordion-v2.entry.js +41 -0
  34. package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +1 -0
  35. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.esm.js.map +1 -1
  36. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +18 -0
  37. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +1 -0
  38. package/dist/xv-webcomponents/xv-button-v2.entry.esm.js.map +1 -0
  39. package/dist/xv-webcomponents/xv-button-v2.entry.js +35 -0
  40. package/dist/xv-webcomponents/xv-button-v2.entry.js.map +1 -0
  41. package/dist/xv-webcomponents/xv-card-v2.entry.esm.js.map +1 -0
  42. package/dist/xv-webcomponents/xv-card-v2.entry.js +19 -0
  43. package/dist/xv-webcomponents/xv-card-v2.entry.js.map +1 -0
  44. package/dist/xv-webcomponents/xv-checkbox-v2.entry.esm.js.map +1 -0
  45. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +106 -0
  46. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +1 -0
  47. package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.esm.js.map +1 -0
  48. package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.js +36 -0
  49. package/dist/xv-webcomponents/xv-dropdown-v2-item.entry.js.map +1 -0
  50. package/dist/xv-webcomponents/xv-dropdown-v2.entry.esm.js.map +1 -0
  51. package/dist/xv-webcomponents/xv-dropdown-v2.entry.js +136 -0
  52. package/dist/xv-webcomponents/xv-dropdown-v2.entry.js.map +1 -0
  53. package/dist/xv-webcomponents/xv-footer.entry.esm.js.map +1 -0
  54. package/dist/xv-webcomponents/xv-footer.entry.js +30 -0
  55. package/dist/xv-webcomponents/xv-footer.entry.js.map +1 -0
  56. package/dist/xv-webcomponents/xv-header.entry.esm.js.map +1 -0
  57. package/dist/xv-webcomponents/xv-header.entry.js +81 -0
  58. package/dist/xv-webcomponents/xv-header.entry.js.map +1 -0
  59. package/dist/xv-webcomponents/xv-link-v2.entry.esm.js.map +1 -0
  60. package/dist/xv-webcomponents/xv-link-v2.entry.js +27 -0
  61. package/dist/xv-webcomponents/xv-link-v2.entry.js.map +1 -0
  62. package/dist/xv-webcomponents/xv-loader-v2.entry.esm.js.map +1 -0
  63. package/dist/xv-webcomponents/xv-loader-v2.entry.js +33 -0
  64. package/dist/xv-webcomponents/xv-loader-v2.entry.js.map +1 -0
  65. package/dist/xv-webcomponents/xv-login-modal.entry.esm.js.map +1 -0
  66. package/dist/xv-webcomponents/xv-login-modal.entry.js +89 -0
  67. package/dist/xv-webcomponents/xv-login-modal.entry.js.map +1 -0
  68. package/dist/xv-webcomponents/xv-modal-v2.entry.esm.js.map +1 -0
  69. package/dist/xv-webcomponents/xv-modal-v2.entry.js +78 -0
  70. package/dist/xv-webcomponents/xv-modal-v2.entry.js.map +1 -0
  71. package/dist/xv-webcomponents/xv-notification-v2.entry.esm.js.map +1 -0
  72. package/dist/xv-webcomponents/xv-notification-v2.entry.js +50 -0
  73. package/dist/xv-webcomponents/xv-notification-v2.entry.js.map +1 -0
  74. package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.esm.js.map +1 -0
  75. package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.js +32 -0
  76. package/dist/xv-webcomponents/xv-overflow-menu-v2-item.entry.js.map +1 -0
  77. package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.esm.js.map +1 -0
  78. package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.js +74 -0
  79. package/dist/xv-webcomponents/xv-overflow-menu-v2.entry.js.map +1 -0
  80. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.esm.js.map +1 -0
  81. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +21 -0
  82. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +1 -0
  83. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.esm.js.map +1 -0
  84. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +75 -0
  85. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +1 -0
  86. package/dist/xv-webcomponents/xv-tab-v2.entry.esm.js.map +1 -0
  87. package/dist/xv-webcomponents/xv-tab-v2.entry.js +21 -0
  88. package/dist/xv-webcomponents/xv-tab-v2.entry.js.map +1 -0
  89. package/dist/xv-webcomponents/xv-table-v2-cell.entry.esm.js.map +1 -0
  90. package/dist/xv-webcomponents/xv-table-v2-cell.entry.js +41 -0
  91. package/dist/xv-webcomponents/xv-table-v2-cell.entry.js.map +1 -0
  92. package/dist/xv-webcomponents/xv-table-v2-expand.entry.esm.js.map +1 -0
  93. package/dist/xv-webcomponents/xv-table-v2-expand.entry.js +29 -0
  94. package/dist/xv-webcomponents/xv-table-v2-expand.entry.js.map +1 -0
  95. package/dist/xv-webcomponents/xv-table-v2-row.entry.esm.js.map +1 -0
  96. package/dist/xv-webcomponents/xv-table-v2-row.entry.js +66 -0
  97. package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +1 -0
  98. package/dist/xv-webcomponents/xv-table-v2.entry.esm.js.map +1 -0
  99. package/dist/xv-webcomponents/xv-table-v2.entry.js +53 -0
  100. package/dist/xv-webcomponents/xv-table-v2.entry.js.map +1 -0
  101. package/dist/xv-webcomponents/xv-tabs-v2.entry.esm.js.map +1 -0
  102. package/dist/xv-webcomponents/xv-tabs-v2.entry.js +109 -0
  103. package/dist/xv-webcomponents/xv-tabs-v2.entry.js.map +1 -0
  104. package/dist/xv-webcomponents/xv-tag-v2.entry.esm.js.map +1 -0
  105. package/dist/xv-webcomponents/xv-tag-v2.entry.js +29 -0
  106. package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +1 -0
  107. package/dist/xv-webcomponents/xv-text-input-v2.entry.esm.js.map +1 -0
  108. package/dist/xv-webcomponents/xv-text-input-v2.entry.js +65 -0
  109. package/dist/xv-webcomponents/xv-text-input-v2.entry.js.map +1 -0
  110. package/dist/xv-webcomponents/xv-tooltip-v2.entry.esm.js.map +1 -0
  111. package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +24 -0
  112. package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +1 -0
  113. package/dist/xv-webcomponents/xv-user-menu.entry.esm.js.map +1 -0
  114. package/dist/xv-webcomponents/xv-user-menu.entry.js +43 -0
  115. package/dist/xv-webcomponents/xv-user-menu.entry.js.map +1 -0
  116. package/dist/xv-webcomponents/xv-webcomponents.esm.js +49 -1
  117. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
  118. package/package.json +53 -53
  119. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  120. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  121. package/dist/cjs/index-BE3kw7I4.js +0 -36
  122. package/dist/cjs/index-BE3kw7I4.js.map +0 -1
  123. package/dist/cjs/index-MLh9SbX2.js +0 -1917
  124. package/dist/cjs/index-MLh9SbX2.js.map +0 -1
  125. package/dist/cjs/index.cjs.js +0 -10
  126. package/dist/cjs/index.cjs.js.map +0 -1
  127. package/dist/cjs/loader.cjs.js +0 -16
  128. package/dist/cjs/loader.cjs.js.map +0 -1
  129. package/dist/cjs/xv-accordion-v2_34.cjs.entry.js +0 -3510
  130. package/dist/cjs/xv-accordion-v2_34.cjs.entry.js.map +0 -1
  131. package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +0 -20
  132. package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +0 -1
  133. package/dist/cjs/xv-breadcrumbs-v2.entry.cjs.js.map +0 -1
  134. package/dist/cjs/xv-webcomponents.cjs.js +0 -28
  135. package/dist/cjs/xv-webcomponents.cjs.js.map +0 -1
  136. package/dist/collection/assets/fonts/fontawesome5/fa-brands-400.svg +0 -3717
  137. package/dist/collection/assets/fonts/fontawesome5/fa-duotone-900.svg +0 -15326
  138. package/dist/collection/assets/fonts/fontawesome5/fa-light-300.svg +0 -12420
  139. package/dist/collection/assets/fonts/fontawesome5/fa-regular-400.svg +0 -11323
  140. package/dist/collection/assets/fonts/fontawesome5/fa-solid-900.svg +0 -9653
  141. package/dist/collection/collection-manifest.json +0 -46
  142. package/dist/collection/components/xv-accordion/xv-accordion.css +0 -3
  143. package/dist/collection/components/xv-accordion/xv-accordion.js +0 -163
  144. package/dist/collection/components/xv-accordion/xv-accordion.js.map +0 -1
  145. package/dist/collection/components/xv-accordion-item/xv-accordion-item.css +0 -68
  146. package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +0 -132
  147. package/dist/collection/components/xv-accordion-item/xv-accordion-item.js.map +0 -1
  148. package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.css +0 -3
  149. package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +0 -19
  150. package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js.map +0 -1
  151. package/dist/collection/components/xv-button/xv-button-v2.css +0 -173
  152. package/dist/collection/components/xv-button/xv-button.js +0 -229
  153. package/dist/collection/components/xv-button/xv-button.js.map +0 -1
  154. package/dist/collection/components/xv-card/xv-card.css +0 -63
  155. package/dist/collection/components/xv-card/xv-card.js +0 -122
  156. package/dist/collection/components/xv-card/xv-card.js.map +0 -1
  157. package/dist/collection/components/xv-checkbox/xv-checkbox.css +0 -138
  158. package/dist/collection/components/xv-checkbox/xv-checkbox.js +0 -402
  159. package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +0 -1
  160. package/dist/collection/components/xv-data-table/_vars.js +0 -3
  161. package/dist/collection/components/xv-data-table/_vars.js.map +0 -1
  162. package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.css +0 -90
  163. package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js +0 -182
  164. package/dist/collection/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.js.map +0 -1
  165. package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.css +0 -7
  166. package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js +0 -101
  167. package/dist/collection/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.js.map +0 -1
  168. package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.css +0 -71
  169. package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js +0 -354
  170. package/dist/collection/components/xv-data-table/xv-data-table-row/xv-data-table-row.js.map +0 -1
  171. package/dist/collection/components/xv-data-table/xv-data-table.css +0 -104
  172. package/dist/collection/components/xv-data-table/xv-data-table.js +0 -114
  173. package/dist/collection/components/xv-data-table/xv-data-table.js.map +0 -1
  174. package/dist/collection/components/xv-dropdown/_vars.js +0 -2
  175. package/dist/collection/components/xv-dropdown/_vars.js.map +0 -1
  176. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.css +0 -14
  177. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +0 -153
  178. package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js.map +0 -1
  179. package/dist/collection/components/xv-dropdown/xv-dropdown.css +0 -232
  180. package/dist/collection/components/xv-dropdown/xv-dropdown.js +0 -443
  181. package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +0 -1
  182. package/dist/collection/components/xv-file-uploader/_vars.js +0 -6
  183. package/dist/collection/components/xv-file-uploader/_vars.js.map +0 -1
  184. package/dist/collection/components/xv-file-uploader/xv-file-uploader.css +0 -136
  185. package/dist/collection/components/xv-file-uploader/xv-file-uploader.js +0 -448
  186. package/dist/collection/components/xv-file-uploader/xv-file-uploader.js.map +0 -1
  187. package/dist/collection/components/xv-footer/xv-footer.css +0 -230
  188. package/dist/collection/components/xv-footer/xv-footer.js +0 -37
  189. package/dist/collection/components/xv-footer/xv-footer.js.map +0 -1
  190. package/dist/collection/components/xv-header/xv-header.css +0 -22587
  191. package/dist/collection/components/xv-header/xv-header.js +0 -54
  192. package/dist/collection/components/xv-header/xv-header.js.map +0 -1
  193. package/dist/collection/components/xv-link/xv-link.css +0 -67
  194. package/dist/collection/components/xv-link/xv-link.js +0 -132
  195. package/dist/collection/components/xv-link/xv-link.js.map +0 -1
  196. package/dist/collection/components/xv-loader/xv-loader.css +0 -65
  197. package/dist/collection/components/xv-loader/xv-loader.js +0 -106
  198. package/dist/collection/components/xv-loader/xv-loader.js.map +0 -1
  199. package/dist/collection/components/xv-login-modal/xv-login-modal.css +0 -22575
  200. package/dist/collection/components/xv-login-modal/xv-login-modal.js +0 -146
  201. package/dist/collection/components/xv-login-modal/xv-login-modal.js.map +0 -1
  202. package/dist/collection/components/xv-modal/xv-modal.css +0 -102
  203. package/dist/collection/components/xv-modal/xv-modal.js +0 -226
  204. package/dist/collection/components/xv-modal/xv-modal.js.map +0 -1
  205. package/dist/collection/components/xv-notification/_vars.js +0 -8
  206. package/dist/collection/components/xv-notification/_vars.js.map +0 -1
  207. package/dist/collection/components/xv-notification/xv-notification.css +0 -113
  208. package/dist/collection/components/xv-notification/xv-notification.js +0 -118
  209. package/dist/collection/components/xv-notification/xv-notification.js.map +0 -1
  210. package/dist/collection/components/xv-number-input/xv-number-input.css +0 -128
  211. package/dist/collection/components/xv-number-input/xv-number-input.js +0 -373
  212. package/dist/collection/components/xv-number-input/xv-number-input.js.map +0 -1
  213. package/dist/collection/components/xv-overflow-menu/_vars.js +0 -6
  214. package/dist/collection/components/xv-overflow-menu/_vars.js.map +0 -1
  215. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.css +0 -45
  216. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +0 -137
  217. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js.map +0 -1
  218. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +0 -105
  219. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +0 -202
  220. package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js.map +0 -1
  221. package/dist/collection/components/xv-progress-indicator/_vars.js.map +0 -1
  222. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.css +0 -96
  223. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +0 -54
  224. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js.map +0 -1
  225. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.css +0 -45
  226. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +0 -157
  227. package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +0 -1
  228. package/dist/collection/components/xv-table/_vars.js +0 -3
  229. package/dist/collection/components/xv-table/_vars.js.map +0 -1
  230. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +0 -93
  231. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +0 -160
  232. package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js.map +0 -1
  233. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.css +0 -58
  234. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +0 -76
  235. package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js.map +0 -1
  236. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +0 -39
  237. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +0 -333
  238. package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +0 -1
  239. package/dist/collection/components/xv-table/xv-table.css +0 -137
  240. package/dist/collection/components/xv-table/xv-table.js +0 -159
  241. package/dist/collection/components/xv-table/xv-table.js.map +0 -1
  242. package/dist/collection/components/xv-tabs/_vars.js +0 -11
  243. package/dist/collection/components/xv-tabs/_vars.js.map +0 -1
  244. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.css +0 -10
  245. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +0 -106
  246. package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js.map +0 -1
  247. package/dist/collection/components/xv-tabs/xv-tabs.css +0 -139
  248. package/dist/collection/components/xv-tabs/xv-tabs.js +0 -221
  249. package/dist/collection/components/xv-tabs/xv-tabs.js.map +0 -1
  250. package/dist/collection/components/xv-tag/xv-tag.css +0 -97
  251. package/dist/collection/components/xv-tag/xv-tag.js +0 -158
  252. package/dist/collection/components/xv-tag/xv-tag.js.map +0 -1
  253. package/dist/collection/components/xv-text-input/xv-text-input.css +0 -144
  254. package/dist/collection/components/xv-text-input/xv-text-input.js +0 -324
  255. package/dist/collection/components/xv-text-input/xv-text-input.js.map +0 -1
  256. package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.css +0 -95
  257. package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js +0 -201
  258. package/dist/collection/components/xv-toggle-tip/xv-toggle-tip.js.map +0 -1
  259. package/dist/collection/components/xv-tooltip/xv-tooltip.css +0 -43
  260. package/dist/collection/components/xv-tooltip/xv-tooltip.js +0 -114
  261. package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +0 -1
  262. package/dist/collection/index.js +0 -11
  263. package/dist/collection/index.js.map +0 -1
  264. package/dist/collection/scss/xv/images/xv-sprite.svg +0 -1
  265. package/dist/collection/scss/xv/sprite/images/xv-sprite.svg +0 -1
  266. package/dist/collection/types/enum.js +0 -15
  267. package/dist/collection/types/enum.js.map +0 -1
  268. package/dist/collection/utils/utils.js.map +0 -1
  269. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  270. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  271. package/dist/esm/index-DLYJiP99.js +0 -1907
  272. package/dist/esm/index-DLYJiP99.js.map +0 -1
  273. package/dist/esm/index-NvoCloOY.js +0 -31
  274. package/dist/esm/index-NvoCloOY.js.map +0 -1
  275. package/dist/esm/index.js +0 -4
  276. package/dist/esm/index.js.map +0 -1
  277. package/dist/esm/loader.js +0 -14
  278. package/dist/esm/loader.js.map +0 -1
  279. package/dist/esm/xv-accordion-v2_34.entry.js +0 -3475
  280. package/dist/esm/xv-accordion-v2_34.entry.js.map +0 -1
  281. package/dist/esm/xv-breadcrumbs-v2.entry.js +0 -18
  282. package/dist/esm/xv-breadcrumbs-v2.entry.js.map +0 -1
  283. package/dist/esm/xv-webcomponents.js +0 -24
  284. package/dist/esm/xv-webcomponents.js.map +0 -1
  285. package/dist/index.cjs.js +0 -1
  286. package/dist/index.js +0 -1
  287. package/dist/types/components/xv-data-table/_vars.d.ts +0 -11
  288. package/dist/types/components/xv-data-table/xv-data-table-cell/xv-data-table-cell.d.ts +0 -13
  289. package/dist/types/components/xv-data-table/xv-data-table-collapse/xv-data-table-collapse.d.ts +0 -9
  290. package/dist/types/components/xv-data-table/xv-data-table-row/xv-data-table-row.d.ts +0 -25
  291. package/dist/types/components/xv-data-table/xv-data-table.d.ts +0 -9
  292. package/dist/types/components/xv-file-uploader/_vars.d.ts +0 -4
  293. package/dist/types/components/xv-file-uploader/xv-file-uploader.d.ts +0 -36
  294. package/dist/types/components/xv-number-input/xv-number-input.d.ts +0 -26
  295. package/dist/types/components/xv-toggle-tip/xv-toggle-tip.d.ts +0 -19
  296. package/dist/xv-webcomponents/p-5b63a259.entry.js +0 -2
  297. package/dist/xv-webcomponents/p-5b63a259.entry.js.map +0 -1
  298. package/dist/xv-webcomponents/p-9c06f44c.entry.js +0 -2
  299. package/dist/xv-webcomponents/p-9c06f44c.entry.js.map +0 -1
  300. package/dist/xv-webcomponents/p-DLYJiP99.js +0 -3
  301. package/dist/xv-webcomponents/p-DLYJiP99.js.map +0 -1
  302. package/dist/xv-webcomponents/p-DQuL1Twl.js +0 -2
  303. package/dist/xv-webcomponents/p-DQuL1Twl.js.map +0 -1
  304. package/dist/xv-webcomponents/p-NvoCloOY.js +0 -2
  305. package/dist/xv-webcomponents/p-NvoCloOY.js.map +0 -1
  306. package/loader/cdn.js +0 -1
  307. package/loader/index.cjs.js +0 -1
  308. package/loader/index.d.ts +0 -24
  309. package/loader/index.es2017.js +0 -1
  310. package/loader/index.js +0 -2
@@ -1,118 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { NOTIFICATION_VARIANTS } from "./_vars";
3
- export class XvNotification {
4
- constructor() {
5
- this.variant = NOTIFICATION_VARIANTS.INFO;
6
- this.dismissible = false;
7
- this.closeHandle = (e) => this.close.emit(e);
8
- this.renderIcon = (variant, cls = 'icon') => {
9
- switch (variant) {
10
- case NOTIFICATION_VARIANTS.ERROR: {
11
- return (h("svg", { class: cls, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, h("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z" })));
12
- }
13
- case NOTIFICATION_VARIANTS.INFO: {
14
- return (h("svg", { class: cls, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, h("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z" })));
15
- }
16
- case NOTIFICATION_VARIANTS.SUCCESS: {
17
- return (h("svg", { class: cls, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, h("path", { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" })));
18
- }
19
- case NOTIFICATION_VARIANTS.WARNING: {
20
- return (h("svg", { class: cls, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512" }, h("path", { d: "M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z" })));
21
- }
22
- default:
23
- return null;
24
- }
25
- };
26
- }
27
- render() {
28
- return (h(Host, { key: '828674420130a41adc1c21b7dac6ba7795142871', class: "xv-notification", type: this.variant }, this.renderIcon(this.variant), h("div", { key: '2f863367c6952b1974607f577d33d69a572b83ac', class: "content" }, h("div", { key: 'df968f2dc944bf7b8cad543fb64a3c9d124a11ff', class: "content_wrapper" }, this.el.title && h("h5", { key: '200f8de5f706f7b4318cb94b9966a6171d56e2f5', class: "content_title" }, this.el.title), h("slot", { key: '76e93f53912a25d9240b82434e05466bf16902b3' })), h("slot", { key: '0403b90c0e139d214356519a33c0c546e03953a0', name: "footer" })), this.dismissible && h("button", { key: '70f8219f0b7c2dc897d0bb36ea5c7c7fb7aa3288', class: "close", onClick: this.closeHandle })));
29
- }
30
- static get is() { return "xv-notification-v2"; }
31
- static get encapsulation() { return "shadow"; }
32
- static get originalStyleUrls() {
33
- return {
34
- "$": ["xv-notification.scss"]
35
- };
36
- }
37
- static get styleUrls() {
38
- return {
39
- "$": ["xv-notification.css"]
40
- };
41
- }
42
- static get assetsDirs() { return ["xv-notification/icons"]; }
43
- static get properties() {
44
- return {
45
- "variant": {
46
- "type": "string",
47
- "attribute": "variant",
48
- "mutable": false,
49
- "complexType": {
50
- "original": "NOTIFICATION_VARIANTS",
51
- "resolved": "NOTIFICATION_VARIANTS.ERROR | NOTIFICATION_VARIANTS.INFO | NOTIFICATION_VARIANTS.SUCCESS | NOTIFICATION_VARIANTS.WARNING",
52
- "references": {
53
- "NOTIFICATION_VARIANTS": {
54
- "location": "import",
55
- "path": "./_vars",
56
- "id": "src/components/xv-notification/_vars.ts::NOTIFICATION_VARIANTS"
57
- }
58
- }
59
- },
60
- "required": false,
61
- "optional": false,
62
- "docs": {
63
- "tags": [],
64
- "text": ""
65
- },
66
- "getter": false,
67
- "setter": false,
68
- "reflect": true,
69
- "defaultValue": "NOTIFICATION_VARIANTS.INFO"
70
- },
71
- "dismissible": {
72
- "type": "boolean",
73
- "attribute": "dismissible",
74
- "mutable": false,
75
- "complexType": {
76
- "original": "boolean",
77
- "resolved": "boolean",
78
- "references": {}
79
- },
80
- "required": false,
81
- "optional": false,
82
- "docs": {
83
- "tags": [],
84
- "text": ""
85
- },
86
- "getter": false,
87
- "setter": false,
88
- "reflect": true,
89
- "defaultValue": "false"
90
- }
91
- };
92
- }
93
- static get events() {
94
- return [{
95
- "method": "close",
96
- "name": "close",
97
- "bubbles": true,
98
- "cancelable": true,
99
- "composed": true,
100
- "docs": {
101
- "tags": [],
102
- "text": ""
103
- },
104
- "complexType": {
105
- "original": "MouseEvent",
106
- "resolved": "MouseEvent",
107
- "references": {
108
- "MouseEvent": {
109
- "location": "global",
110
- "id": "global::MouseEvent"
111
- }
112
- }
113
- }
114
- }];
115
- }
116
- static get elementRef() { return "el"; }
117
- }
118
- //# sourceMappingURL=xv-notification.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"xv-notification.js","sourceRoot":"","sources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,KAAK,EAAE,GAAG,EAAE,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,aAAa;wBACvE,YACE,CAAC,EAAC,yTAAyT,GAAG,CAC5T,CACP,CAAC;gBACJ,CAAC;gBACD;oBACE,OAAO,IAAI,CAAC;YAChB,CAAC;QACH,CAAC,CAAC;KACH;IAxDC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAE,IAAI,CAAC,OAAO;YAC7C,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC;YAE9B,4DAAK,KAAK,EAAC,SAAS;gBAClB,4DAAK,KAAK,EAAC,iBAAiB;oBACzB,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,2DAAI,KAAK,EAAC,eAAe,IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,CAAM;oBAChE,8DAAa,CACT;gBACN,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB;YAEL,IAAI,CAAC,WAAW,IAAI,+DAAQ,KAAK,EAAC,OAAO,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW,GAAI,CACnE,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCF","sourcesContent":["import { Component, Host, h, Prop, Element, Event, EventEmitter } from '@stencil/core';\nimport { NOTIFICATION_VARIANTS } from './_vars';\n\n@Component({\n tag: 'xv-notification-v2',\n styleUrl: 'xv-notification.scss',\n shadow: true,\n assetsDirs: ['xv-notification/icons']\n})\nexport class XvNotification {\n @Element() el: HTMLElement;\n @Prop({ reflect: true }) variant: NOTIFICATION_VARIANTS = NOTIFICATION_VARIANTS.INFO;\n @Prop({ reflect: true }) dismissible: boolean = false;\n @Event() close: EventEmitter<MouseEvent>;\n\n private closeHandle = (e: MouseEvent) => this.close.emit(e);\n\n render() {\n return (\n <Host class=\"xv-notification\" type={this.variant}>\n {this.renderIcon(this.variant)}\n\n <div class=\"content\">\n <div class=\"content_wrapper\">\n {this.el.title && <h5 class=\"content_title\">{this.el.title}</h5>}\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </div>\n\n {this.dismissible && <button class=\"close\" onClick={this.closeHandle} />}\n </Host>\n );\n }\n\n private renderIcon = (variant: NOTIFICATION_VARIANTS, cls: string = 'icon') => {\n switch (variant) {\n case NOTIFICATION_VARIANTS.ERROR: {\n return (\n <svg class={cls} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n <path\n d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z\" />\n </svg>\n );\n }\n case NOTIFICATION_VARIANTS.INFO: {\n return (\n <svg class={cls} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n <path\n d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336l24 0 0-64-24 0c-13.3 0-24-10.7-24-24s10.7-24 24-24l48 0c13.3 0 24 10.7 24 24l0 88 8 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-80 0c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z\" />\n </svg>\n );\n }\n case NOTIFICATION_VARIANTS.SUCCESS: {\n return (\n <svg class={cls} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n <path\n d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z\" />\n </svg>\n )\n }\n case NOTIFICATION_VARIANTS.WARNING: {\n return (\n <svg class={cls} xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\">\n <path\n d=\"M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z\" />\n </svg>\n );\n }\n default:\n return null;\n }\n };\n}\n"]}
@@ -1,128 +0,0 @@
1
- :host {
2
- display: inline-block;
3
- text-align: left;
4
- }
5
- :host .control_label {
6
- display: block;
7
- margin-bottom: var(--spacing-03);
8
- color: var(--text-secondary, #515151);
9
- font-family: var(--ff-body, Tahoma);
10
- font-size: var(--fz-sm, 12px);
11
- font-style: normal;
12
- font-weight: 700;
13
- line-height: var(--fz-md);
14
- letter-spacing: 0.32px;
15
- }
16
- :host .control_input {
17
- display: flex;
18
- border: 1px solid var(--border-subtle-01);
19
- outline: 2px solid transparent;
20
- background-color: transparent;
21
- border-radius: 3px;
22
- transition: 250ms ease-in-out border-color, 250ms ease-in-out outline-color;
23
- }
24
- :host .control_input:hover {
25
- border-color: var(--border-subtle-selected-01);
26
- }
27
- :host .control_input:focus-within {
28
- outline-color: var(--focus);
29
- }
30
- :host .control_input.error {
31
- outline-color: var(--support-error);
32
- }
33
- :host .control_input.readonly {
34
- border-radius: 0;
35
- border-top-width: 0;
36
- border-left-width: 0;
37
- border-right-width: 0;
38
- outline-color: transparent;
39
- }
40
- :host .control_input input[type=number] {
41
- flex: 1;
42
- border: none;
43
- outline: none;
44
- -moz-appearance: textfield;
45
- background-color: transparent;
46
- margin: 0;
47
- padding-block: 0;
48
- padding-inline: var(--spacing-05);
49
- box-sizing: border-box;
50
- color: var(--text-primary);
51
- min-width: 20px;
52
- font-style: normal;
53
- font-weight: 400;
54
- letter-spacing: 0.16px;
55
- }
56
- :host .control_input input[type=number]::-webkit-inner-spin-button, :host .control_input input[type=number]::-webkit-outer-spin-button {
57
- -webkit-appearance: none;
58
- margin: 0;
59
- }
60
- :host .control_input__icons {
61
- display: inline-flex;
62
- align-items: stretch;
63
- column-gap: 2px;
64
- }
65
- :host .control_input__icons .status-icon {
66
- display: inline-flex;
67
- align-items: center;
68
- align-self: center;
69
- font-size: 1.35em;
70
- }
71
- :host .control_input__icons .status-icon.error {
72
- background-color: var(--support-error);
73
- color: white;
74
- width: 16px;
75
- height: 16px;
76
- border-radius: 8px;
77
- font-size: 12px;
78
- font-weight: bold;
79
- align-items: center;
80
- justify-content: center;
81
- }
82
- :host .control_input__icons .status-icon.warning {
83
- color: var(--support-warning);
84
- }
85
- :host .control_input__icons hr {
86
- border: none;
87
- outline: none;
88
- width: 2px;
89
- height: 60%;
90
- align-self: center;
91
- background-color: var(--border-subtle-01);
92
- display: inline-flex;
93
- }
94
- :host .message {
95
- margin: var(--spacing-02) 0 0;
96
- color: var(--text-helper, #646464);
97
- font-size: var(--fz-sm, 12px);
98
- font-style: normal;
99
- font-weight: 400;
100
- line-height: var(--fz-md, 16px);
101
- letter-spacing: 0.32px;
102
- }
103
- :host .message.error {
104
- color: var(--text-error);
105
- }
106
- :host .message.warning {
107
- color: var(--text-secondary, #515151);
108
- }
109
-
110
- :host(.disabled) {
111
- cursor: not-allowed;
112
- }
113
- :host(.disabled) .control_label,
114
- :host(.disabled) .control_input input[type=number],
115
- :host(.disabled) .control_input input[type=number]::placeholder,
116
- :host(.disabled) .message:not(.error) {
117
- color: var(--text-disabled);
118
- cursor: not-allowed;
119
- }
120
- :host(.disabled) .control_input__icons,
121
- :host(.disabled) .message.error {
122
- opacity: 0.5;
123
- cursor: not-allowed;
124
- }
125
-
126
- :host([block]) {
127
- display: block;
128
- }
@@ -1,373 +0,0 @@
1
- import { Host, h } from "@stencil/core";
2
- import { SIZE_VAR } from "../../types/enum";
3
- export class XvNumberInput {
4
- constructor() {
5
- this.step = 10;
6
- this.loading = false;
7
- this.size = SIZE_VAR.MD;
8
- this.increment = () => {
9
- const newValue = (this.value || 0) + this.step;
10
- if (this.max !== undefined && newValue > this.max)
11
- return;
12
- this.setValue(newValue);
13
- };
14
- this.decrement = () => {
15
- const newValue = (this.value || 0) - this.step;
16
- if (this.min !== undefined && newValue < this.min)
17
- return;
18
- this.setValue(newValue);
19
- };
20
- this.handleInput = (event) => {
21
- const input = event.target;
22
- const num = parseFloat(input.value) || 0;
23
- if (isNaN(num))
24
- return;
25
- this.setValue(num);
26
- };
27
- }
28
- setValue(value) {
29
- var _a;
30
- this.value = value;
31
- this.internals.setFormValue((_a = this.value) === null || _a === void 0 ? void 0 : _a.toString());
32
- this.valueChange.emit(this.value);
33
- }
34
- render() {
35
- return (h(Host, { key: '9e9d338c9ff5f2191a7b93d75473455fcd0595e3', class: { disabled: !!this.disabled } }, h("label", { key: '94743e62549da23b3c63280d9a228bb7bab4dc86', class: "control" }, this.label && h("span", { key: 'a7feadfdb33ac4305a58b0634fafdfab56293a1e', class: "control_label" }, this.label), h("div", { key: '7e87334966533108284fad892e219c3d6e320da0', class: {
36
- 'control_input': true,
37
- readonly: !!this.readonly,
38
- error: !!this.error,
39
- warning: !!this.warning
40
- } }, h("input", { key: 'b241be77f4f61110fc00911bacf58f493a6dc648', type: "number", placeholder: this.placeholder, disabled: this.disabled, readonly: this.readonly, onInput: this.handleInput, name: this.name, min: this.min, max: this.max, step: this.step, value: this.value }), h("div", { key: '4c13d73fa8ad210f1561ca9d924dc37b5d25f058', class: "control_input__icons" }, this.loading ? (h("xv-loader-v2", { size: SIZE_VAR.XS })) : !!this.error ? (h("span", { class: "status-icon error", "aria-hidden": "true" }, "!")) : !!this.warning ? (h("span", { class: "status-icon warning", "aria-hidden": "true" }, "\u26A0")) : null, h("xv-button-v2", { key: 'ded5d2e74f4ff8544d025ce2862422ac69f54f9b', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.decrement, "aria-label": "Decrease" }, h("span", { key: '84bebcdd58a31c59d52685c589361532033074ba', slot: "icon-left", class: "status-icon" }, "\u2212")), h("hr", { key: 'ec34eb763fd84994fd3dde49dbb53c5472ff46ed' }), h("xv-button-v2", { key: '2275bbefc228ab1147c002c204b93da04d2b001e', size: this.size, variant: "ghost", disabled: this.disabled || this.readonly, onClick: this.increment, "aria-label": "Increase" }, h("span", { key: 'c64d970edf867832d6ee74354df55aa1cf151007', slot: "icon-left", class: "status-icon" }, "+"))))), this.helper && h("p", { key: 'b463bea86f2fa93c89072898796d03a9cd6c03bd', class: "message" }, this.helper), typeof this.error === 'string' ? (h("p", { class: "message error" }, this.error)) : typeof this.warning === 'string' ? (h("p", { class: "message warning" }, this.warning)) : null));
41
- }
42
- static get is() { return "xv-number-input-v2"; }
43
- static get encapsulation() { return "shadow"; }
44
- static get formAssociated() { return true; }
45
- static get originalStyleUrls() {
46
- return {
47
- "$": ["xv-number-input.scss"]
48
- };
49
- }
50
- static get styleUrls() {
51
- return {
52
- "$": ["xv-number-input.css"]
53
- };
54
- }
55
- static get properties() {
56
- return {
57
- "label": {
58
- "type": "string",
59
- "attribute": "label",
60
- "mutable": false,
61
- "complexType": {
62
- "original": "string",
63
- "resolved": "string",
64
- "references": {}
65
- },
66
- "required": false,
67
- "optional": false,
68
- "docs": {
69
- "tags": [],
70
- "text": ""
71
- },
72
- "getter": false,
73
- "setter": false,
74
- "reflect": false
75
- },
76
- "placeholder": {
77
- "type": "string",
78
- "attribute": "placeholder",
79
- "mutable": false,
80
- "complexType": {
81
- "original": "string",
82
- "resolved": "string",
83
- "references": {}
84
- },
85
- "required": false,
86
- "optional": true,
87
- "docs": {
88
- "tags": [],
89
- "text": ""
90
- },
91
- "getter": false,
92
- "setter": false,
93
- "reflect": true
94
- },
95
- "name": {
96
- "type": "string",
97
- "attribute": "name",
98
- "mutable": false,
99
- "complexType": {
100
- "original": "string",
101
- "resolved": "string",
102
- "references": {}
103
- },
104
- "required": false,
105
- "optional": false,
106
- "docs": {
107
- "tags": [],
108
- "text": ""
109
- },
110
- "getter": false,
111
- "setter": false,
112
- "reflect": true
113
- },
114
- "value": {
115
- "type": "number",
116
- "attribute": "value",
117
- "mutable": true,
118
- "complexType": {
119
- "original": "number",
120
- "resolved": "number",
121
- "references": {}
122
- },
123
- "required": false,
124
- "optional": false,
125
- "docs": {
126
- "tags": [],
127
- "text": ""
128
- },
129
- "getter": false,
130
- "setter": false,
131
- "reflect": true
132
- },
133
- "helper": {
134
- "type": "string",
135
- "attribute": "helper",
136
- "mutable": false,
137
- "complexType": {
138
- "original": "string",
139
- "resolved": "string",
140
- "references": {}
141
- },
142
- "required": false,
143
- "optional": true,
144
- "docs": {
145
- "tags": [],
146
- "text": ""
147
- },
148
- "getter": false,
149
- "setter": false,
150
- "reflect": false
151
- },
152
- "error": {
153
- "type": "any",
154
- "attribute": "error",
155
- "mutable": false,
156
- "complexType": {
157
- "original": "string | boolean",
158
- "resolved": "boolean | string",
159
- "references": {}
160
- },
161
- "required": false,
162
- "optional": true,
163
- "docs": {
164
- "tags": [],
165
- "text": ""
166
- },
167
- "getter": false,
168
- "setter": false,
169
- "reflect": false
170
- },
171
- "warning": {
172
- "type": "any",
173
- "attribute": "warning",
174
- "mutable": false,
175
- "complexType": {
176
- "original": "string | boolean",
177
- "resolved": "boolean | string",
178
- "references": {}
179
- },
180
- "required": false,
181
- "optional": true,
182
- "docs": {
183
- "tags": [],
184
- "text": ""
185
- },
186
- "getter": false,
187
- "setter": false,
188
- "reflect": false
189
- },
190
- "step": {
191
- "type": "number",
192
- "attribute": "step",
193
- "mutable": false,
194
- "complexType": {
195
- "original": "number",
196
- "resolved": "number",
197
- "references": {}
198
- },
199
- "required": false,
200
- "optional": false,
201
- "docs": {
202
- "tags": [],
203
- "text": ""
204
- },
205
- "getter": false,
206
- "setter": false,
207
- "reflect": false,
208
- "defaultValue": "10"
209
- },
210
- "max": {
211
- "type": "number",
212
- "attribute": "max",
213
- "mutable": false,
214
- "complexType": {
215
- "original": "number",
216
- "resolved": "number",
217
- "references": {}
218
- },
219
- "required": false,
220
- "optional": true,
221
- "docs": {
222
- "tags": [],
223
- "text": ""
224
- },
225
- "getter": false,
226
- "setter": false,
227
- "reflect": false
228
- },
229
- "min": {
230
- "type": "number",
231
- "attribute": "min",
232
- "mutable": false,
233
- "complexType": {
234
- "original": "number",
235
- "resolved": "number",
236
- "references": {}
237
- },
238
- "required": false,
239
- "optional": true,
240
- "docs": {
241
- "tags": [],
242
- "text": ""
243
- },
244
- "getter": false,
245
- "setter": false,
246
- "reflect": false
247
- },
248
- "readonly": {
249
- "type": "boolean",
250
- "attribute": "readonly",
251
- "mutable": false,
252
- "complexType": {
253
- "original": "boolean",
254
- "resolved": "boolean",
255
- "references": {}
256
- },
257
- "required": false,
258
- "optional": true,
259
- "docs": {
260
- "tags": [],
261
- "text": ""
262
- },
263
- "getter": false,
264
- "setter": false,
265
- "reflect": false
266
- },
267
- "disabled": {
268
- "type": "boolean",
269
- "attribute": "disabled",
270
- "mutable": false,
271
- "complexType": {
272
- "original": "boolean",
273
- "resolved": "boolean",
274
- "references": {}
275
- },
276
- "required": false,
277
- "optional": true,
278
- "docs": {
279
- "tags": [],
280
- "text": ""
281
- },
282
- "getter": false,
283
- "setter": false,
284
- "reflect": false
285
- },
286
- "loading": {
287
- "type": "boolean",
288
- "attribute": "loading",
289
- "mutable": false,
290
- "complexType": {
291
- "original": "boolean",
292
- "resolved": "boolean",
293
- "references": {}
294
- },
295
- "required": false,
296
- "optional": false,
297
- "docs": {
298
- "tags": [],
299
- "text": ""
300
- },
301
- "getter": false,
302
- "setter": false,
303
- "reflect": false,
304
- "defaultValue": "false"
305
- },
306
- "block": {
307
- "type": "boolean",
308
- "attribute": "block",
309
- "mutable": false,
310
- "complexType": {
311
- "original": "boolean",
312
- "resolved": "boolean",
313
- "references": {}
314
- },
315
- "required": false,
316
- "optional": true,
317
- "docs": {
318
- "tags": [],
319
- "text": ""
320
- },
321
- "getter": false,
322
- "setter": false,
323
- "reflect": false
324
- },
325
- "size": {
326
- "type": "string",
327
- "attribute": "size",
328
- "mutable": false,
329
- "complexType": {
330
- "original": "SIZE_VAR",
331
- "resolved": "SIZE_VAR.LG | SIZE_VAR.MD | SIZE_VAR.SM | SIZE_VAR.XL | SIZE_VAR.XS",
332
- "references": {
333
- "SIZE_VAR": {
334
- "location": "import",
335
- "path": "../../types/enum",
336
- "id": "src/types/enum.ts::SIZE_VAR"
337
- }
338
- }
339
- },
340
- "required": false,
341
- "optional": false,
342
- "docs": {
343
- "tags": [],
344
- "text": ""
345
- },
346
- "getter": false,
347
- "setter": false,
348
- "reflect": true,
349
- "defaultValue": "SIZE_VAR.MD"
350
- }
351
- };
352
- }
353
- static get events() {
354
- return [{
355
- "method": "valueChange",
356
- "name": "valueChange",
357
- "bubbles": true,
358
- "cancelable": true,
359
- "composed": true,
360
- "docs": {
361
- "tags": [],
362
- "text": ""
363
- },
364
- "complexType": {
365
- "original": "number",
366
- "resolved": "number",
367
- "references": {}
368
- }
369
- }];
370
- }
371
- static get attachInternalsMemberName() { return "internals"; }
372
- }
373
- //# sourceMappingURL=xv-number-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"xv-number-input.js","sourceRoot":"","sources":["../../../src/components/xv-number-input/xv-number-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAgB,eAAe,EAAE,MAAM,eAAe,CAAC;AAC/F,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAQ5C,MAAM,OAAO,aAAa;IAN1B;QAeU,SAAI,GAAW,EAAE,CAAC;QAKlB,YAAO,GAAY,KAA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;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop, Event, EventEmitter, AttachInternals } from '@stencil/core';\nimport { SIZE_VAR } from '../../types/enum';\n\n@Component({\n tag: 'xv-number-input-v2',\n styleUrl: 'xv-number-input.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class XvNumberInput {\n @Prop() label: string;\n @Prop({ reflect: true }) placeholder?: string;\n @Prop({ reflect: true }) name: string;\n @Prop({ reflect: true, mutable: true }) value: number;\n @Event({ eventName: 'valueChange' }) valueChange: EventEmitter<number>;\n @Prop() helper?: string;\n @Prop() error?: string | boolean;\n @Prop() warning?: string | boolean;\n @Prop() step: number = 10;\n @Prop() max?: number;\n @Prop() min?: number;\n @Prop() readonly?: boolean;\n @Prop() disabled?: boolean;\n @Prop() loading: boolean = false;\n @Prop() block?: boolean;\n @Prop({ reflect: true }) size: SIZE_VAR = SIZE_VAR.MD;\n\n @AttachInternals() internals: ElementInternals;\n\n private increment = () => {\n const newValue = (this.value || 0) + this.step;\n if (this.max !== undefined && newValue > this.max) return;\n this.setValue(newValue)\n };\n\n private decrement = () => {\n const newValue = (this.value || 0) - this.step;\n if (this.min !== undefined && newValue < this.min) return;\n this.setValue(newValue)\n };\n\n private handleInput = (event: Event) => {\n const input = event.target as HTMLInputElement;\n const num = parseFloat(input.value) || 0;\n\n if (isNaN(num)) return;\n\n this.setValue(num);\n };\n\n private setValue(value: number) {\n this.value = value;\n this.internals.setFormValue(this.value?.toString());\n this.valueChange.emit(this.value);\n }\n\n render() {\n return (\n <Host class={{ disabled: !!this.disabled }}>\n <label class=\"control\">\n {this.label && <span class=\"control_label\">{this.label}</span>}\n\n <div class={{\n 'control_input': true,\n readonly: !!this.readonly,\n error: !!this.error,\n warning: !!this.warning\n }}>\n <input\n type=\"number\"\n placeholder={this.placeholder}\n disabled={this.disabled}\n readonly={this.readonly}\n onInput={this.handleInput}\n name={this.name}\n min={this.min}\n max={this.max}\n step={this.step}\n value={this.value}\n />\n\n <div class=\"control_input__icons\">\n {this.loading ? (\n <xv-loader-v2 size={SIZE_VAR.XS} />\n ) : !!this.error ? (\n <span class=\"status-icon error\" aria-hidden=\"true\">!</span>\n ) : !!this.warning ? (\n <span class=\"status-icon warning\" aria-hidden=\"true\">⚠</span>\n ) : null}\n <xv-button-v2\n size={this.size}\n variant=\"ghost\"\n disabled={this.disabled || this.readonly}\n onClick={this.decrement}\n aria-label=\"Decrease\"\n ><span slot=\"icon-left\" class=\"status-icon\">−</span></xv-button-v2>\n <hr />\n <xv-button-v2\n size={this.size}\n variant=\"ghost\"\n disabled={this.disabled || this.readonly}\n onClick={this.increment}\n aria-label=\"Increase\"\n ><span slot=\"icon-left\" class=\"status-icon\">+</span></xv-button-v2>\n </div>\n </div>\n </label>\n\n\n {this.helper && <p class=\"message\">{this.helper}</p>}\n {typeof this.error === 'string' ? (\n <p class=\"message error\">{this.error}</p>\n ) : typeof this.warning === 'string' ? (\n <p class=\"message warning\">{this.warning}</p>\n ) : null}\n </Host>\n );\n }\n}\n"]}
@@ -1,6 +0,0 @@
1
- export var OverflowMenuVariant;
2
- (function (OverflowMenuVariant) {
3
- OverflowMenuVariant["DEFAULT"] = "";
4
- OverflowMenuVariant["DANGER"] = "danger";
5
- })(OverflowMenuVariant || (OverflowMenuVariant = {}));
6
- //# sourceMappingURL=_vars.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_vars.js","sourceRoot":"","sources":["../../../src/components/xv-overflow-menu/_vars.ts"],"names":[],"mappings":"AAKA,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,mCAAY,CAAA;IACZ,wCAAiB,CAAA;AACnB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B","sourcesContent":["export interface OverflowMenuEvent {\n value: string | number | object | undefined;\n event: PointerEvent;\n}\n\nexport enum OverflowMenuVariant {\n DEFAULT = '',\n DANGER = 'danger',\n}\n"]}