@department-of-veterans-affairs/component-library 54.3.0 → 54.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/Modal.js +1 -1
  2. package/Modal.unit.spec.js +1 -0
  3. package/contacts.js +1 -1
  4. package/dist/1214.app.bundle.js +1 -0
  5. package/dist/1339.app.bundle.js +2 -0
  6. package/dist/{6850.app.bundle.js → 1351.app.bundle.js} +1 -1
  7. package/dist/{6830.app.bundle.js → 1365.app.bundle.js} +1 -1
  8. package/dist/{7481.app.bundle.js → 1450.app.bundle.js} +1 -1
  9. package/dist/2222.app.bundle.js +2 -0
  10. package/dist/2387.app.bundle.js +1 -0
  11. package/dist/{4157.app.bundle.js → 2472.app.bundle.js} +1 -1
  12. package/dist/2654.app.bundle.js +2 -0
  13. package/dist/2664.app.bundle.js +2 -0
  14. package/dist/2801.app.bundle.js +2 -0
  15. package/dist/{3601.app.bundle.js → 2858.app.bundle.js} +2 -2
  16. package/dist/{6832.app.bundle.js → 3071.app.bundle.js} +1 -1
  17. package/dist/3126.app.bundle.js +1 -0
  18. package/dist/{4351.app.bundle.js → 3156.app.bundle.js} +1 -1
  19. package/dist/{7267.app.bundle.js → 3238.app.bundle.js} +1 -1
  20. package/dist/4064.app.bundle.js +1 -0
  21. package/dist/4117.app.bundle.js +2 -0
  22. package/dist/{2205.app.bundle.js → 4140.app.bundle.js} +1 -1
  23. package/dist/415.app.bundle.js +1 -0
  24. package/dist/{4569.app.bundle.js → 4164.app.bundle.js} +2 -2
  25. package/dist/4708.app.bundle.js +2 -0
  26. package/dist/4715.app.bundle.js +2 -0
  27. package/dist/5019.app.bundle.js +2 -0
  28. package/dist/5155.app.bundle.js +1 -0
  29. package/dist/5189.app.bundle.js +2 -0
  30. package/dist/5306.app.bundle.js +2 -0
  31. package/dist/{5689.app.bundle.js → 5610.app.bundle.js} +1 -1
  32. package/dist/5699.app.bundle.js +2 -0
  33. package/dist/575.app.bundle.js +2 -0
  34. package/dist/{5119.app.bundle.js → 5830.app.bundle.js} +2 -2
  35. package/dist/{7495.app.bundle.js → 6034.app.bundle.js} +2 -2
  36. package/dist/6246.app.bundle.js +2 -0
  37. package/dist/{2482.app.bundle.js → 6247.app.bundle.js} +1 -1
  38. package/dist/6349.app.bundle.js +2 -0
  39. package/dist/641.app.bundle.js +1 -0
  40. package/dist/6527.app.bundle.js +2 -0
  41. package/dist/6633.app.bundle.js +2 -0
  42. package/dist/{1966.app.bundle.js → 6655.app.bundle.js} +2 -2
  43. package/dist/6683.app.bundle.js +2 -0
  44. package/dist/6771.app.bundle.js +1 -0
  45. package/dist/{8915.app.bundle.js → 6824.app.bundle.js} +2 -2
  46. package/dist/712.app.bundle.js +2 -0
  47. package/dist/7367.app.bundle.js +2 -0
  48. package/dist/7531.app.bundle.js +1 -0
  49. package/dist/7663.app.bundle.js +1 -0
  50. package/dist/7814.app.bundle.js +2 -0
  51. package/dist/7821.app.bundle.js +1 -0
  52. package/dist/8175.app.bundle.js +2 -0
  53. package/dist/82.app.bundle.js +2 -0
  54. package/dist/8206.app.bundle.js +1 -0
  55. package/dist/8495.app.bundle.js +2 -0
  56. package/dist/{4996.app.bundle.js → 8735.app.bundle.js} +2 -2
  57. package/dist/8762.app.bundle.js +2 -1
  58. package/dist/8859.app.bundle.js +1 -0
  59. package/dist/890.app.bundle.js +2 -0
  60. package/dist/9288.app.bundle.js +1 -0
  61. package/dist/{7084.app.bundle.js → 9409.app.bundle.js} +1 -1
  62. package/dist/9463.app.bundle.js +1 -0
  63. package/dist/{8463.app.bundle.js → 9670.app.bundle.js} +1 -1
  64. package/dist/9724.app.bundle.js +2 -0
  65. package/dist/9755.app.bundle.js +2 -0
  66. package/dist/9794.app.bundle.js +2 -0
  67. package/dist/9800.app.bundle.js +2 -0
  68. package/dist/9915.app.bundle.js +1 -0
  69. package/dist/{5705.app.bundle.js → 9966.app.bundle.js} +2 -2
  70. package/dist/app.bundle.js +1 -1
  71. package/dist/app.bundle.js.LICENSE.txt +1 -1
  72. package/dist/components/index.js +1 -1
  73. package/dist/components/p-0311e4e3.js +1 -0
  74. package/dist/components/p-067d7618.js +1 -0
  75. package/dist/components/p-3962731f.js +1 -0
  76. package/dist/components/p-40738d84.js +1 -0
  77. package/dist/components/p-494b538e.js +1 -0
  78. package/dist/components/p-6a3cf3d7.js +1 -0
  79. package/dist/components/p-6b349d85.js +1 -0
  80. package/dist/components/p-6e4b9401.js +1 -0
  81. package/dist/components/p-70a619e9.js +1 -0
  82. package/dist/components/p-7129443f.js +1 -0
  83. package/dist/components/p-784bed9b.js +1 -0
  84. package/dist/components/p-a12014b1.js +1 -0
  85. package/dist/components/{index2.js → p-a5dce9e6.js} +1 -1
  86. package/dist/components/p-a836c3e1.js +1 -0
  87. package/dist/components/{parsePhoneNumber_.js → p-b276cef8.js} +1 -1
  88. package/dist/components/p-b92d2c38.js +1 -0
  89. package/dist/components/p-bac94659.js +1 -0
  90. package/dist/components/p-bea05aab.js +1 -0
  91. package/dist/components/p-c3fdb782.js +1 -0
  92. package/dist/components/p-ce1b8abc.js +1 -0
  93. package/dist/components/p-cf580be9.js +1 -0
  94. package/dist/components/p-d20739b4.js +20 -0
  95. package/dist/components/p-d4b7abf9.js +1 -0
  96. package/dist/components/p-d9f21f0d.js +1 -0
  97. package/dist/components/p-dffbc03b.js +1 -0
  98. package/dist/components/p-e1092a04.js +1 -0
  99. package/dist/components/p-ef5c0d66.js +1 -0
  100. package/dist/components/p-f3a1dcd5.js +1 -0
  101. package/dist/components/p-fda59844.js +1 -0
  102. package/dist/components/types/components.d.ts +2 -2
  103. package/dist/components/types/index.d.ts +2 -0
  104. package/dist/components/va-accordion-item.js +1 -1
  105. package/dist/components/va-accordion.js +1 -1
  106. package/dist/components/va-additional-info.js +1 -1
  107. package/dist/components/va-alert-expandable.js +1 -1
  108. package/dist/components/va-alert-sign-in.js +1 -1
  109. package/dist/components/va-alert.js +1 -1
  110. package/dist/components/va-back-to-top.js +1 -1
  111. package/dist/components/va-banner.js +1 -1
  112. package/dist/components/va-breadcrumbs.js +1 -1
  113. package/dist/components/va-button-icon.js +1 -1
  114. package/dist/components/va-button-pair.js +1 -1
  115. package/dist/components/va-button-segmented.js +1 -1
  116. package/dist/components/va-button.js +1 -1
  117. package/dist/components/va-card.js +1 -1
  118. package/dist/components/va-checkbox-group.js +1 -1
  119. package/dist/components/va-checkbox.js +1 -1
  120. package/dist/components/va-combo-box.js +1 -1
  121. package/dist/components/va-crisis-line-modal.js +1 -1
  122. package/dist/components/va-critical-action.js +1 -1
  123. package/dist/components/va-date.js +1 -1
  124. package/dist/components/va-file-input-multiple.js +1 -1
  125. package/dist/components/va-file-input.js +1 -1
  126. package/dist/components/va-header-minimal.js +1 -1
  127. package/dist/components/va-icon.js +1 -1
  128. package/dist/components/va-language-toggle.js +1 -1
  129. package/dist/components/va-link-action.js +1 -1
  130. package/dist/components/va-link.js +1 -1
  131. package/dist/components/va-loading-indicator.js +1 -1
  132. package/dist/components/va-maintenance-banner.js +1 -1
  133. package/dist/components/va-memorable-date.js +1 -1
  134. package/dist/components/va-minimal-footer.js +1 -1
  135. package/dist/components/va-modal.js +1 -1
  136. package/dist/components/va-need-help.js +1 -1
  137. package/dist/components/va-notification.js +1 -1
  138. package/dist/components/va-official-gov-banner.js +1 -1
  139. package/dist/components/va-omb-info.js +1 -1
  140. package/dist/components/va-on-this-page.js +1 -1
  141. package/dist/components/va-pagination.js +1 -1
  142. package/dist/components/va-privacy-agreement.js +1 -1
  143. package/dist/components/va-process-list-item.js +1 -1
  144. package/dist/components/va-process-list.js +1 -1
  145. package/dist/components/va-progress-bar.js +1 -1
  146. package/dist/components/va-promo-banner.js +1 -1
  147. package/dist/components/va-radio-option.js +1 -1
  148. package/dist/components/va-radio.js +1 -1
  149. package/dist/components/va-search-filter.js +1 -1
  150. package/dist/components/va-search-input.js +1 -1
  151. package/dist/components/va-segmented-progress-bar.js +1 -1
  152. package/dist/components/va-select.js +1 -1
  153. package/dist/components/va-service-list-item.js +1 -1
  154. package/dist/components/va-sidenav-item.js +1 -1
  155. package/dist/components/va-sidenav-submenu.js +1 -1
  156. package/dist/components/va-sidenav.js +1 -1
  157. package/dist/components/va-statement-of-truth.js +1 -1
  158. package/dist/components/va-summary-box.js +1 -1
  159. package/dist/components/va-tab-item.js +1 -1
  160. package/dist/components/va-tab-panel.js +1 -1
  161. package/dist/components/va-table-inner.js +1 -1
  162. package/dist/components/va-table-row.js +1 -1
  163. package/dist/components/va-table.js +1 -1
  164. package/dist/components/va-tabs.js +1 -1
  165. package/dist/components/va-tag-status.js +1 -1
  166. package/dist/components/va-telephone-input.js +1 -1
  167. package/dist/components/va-telephone.js +1 -1
  168. package/dist/components/va-text-input.js +1 -1
  169. package/dist/components/va-textarea.js +1 -1
  170. package/dist/react-bindings/components.d.ts +336 -0
  171. package/dist/react-bindings/components.js +1 -0
  172. package/dist/react-bindings/components.js.map +1 -0
  173. package/dist/react-bindings/components.ts +961 -0
  174. package/dist/react-bindings/index.d.ts +6 -67
  175. package/dist/react-bindings/index.js +1 -1
  176. package/dist/react-bindings/index.js.map +1 -1
  177. package/dist/react-bindings/index.ts +6 -75
  178. package/format-date.js +1 -1
  179. package/format-date.unit.spec.js +1 -1
  180. package/package.json +16 -15
  181. package/test-helpers.js +1 -1
  182. package/utilities.unit.spec.js +1 -1
  183. package/validations.js +1 -1
  184. package/dist/0.app.bundle.js +0 -2
  185. package/dist/12.app.bundle.js +0 -1
  186. package/dist/141.app.bundle.js +0 -2
  187. package/dist/1822.app.bundle.js +0 -2
  188. package/dist/2236.app.bundle.js +0 -1
  189. package/dist/251.app.bundle.js +0 -1
  190. package/dist/272.app.bundle.js +0 -2
  191. package/dist/2923.app.bundle.js +0 -2
  192. package/dist/2986.app.bundle.js +0 -1
  193. package/dist/323.app.bundle.js +0 -2
  194. package/dist/3305.app.bundle.js +0 -2
  195. package/dist/3397.app.bundle.js +0 -1
  196. package/dist/3589.app.bundle.js +0 -2
  197. package/dist/3600.app.bundle.js +0 -1
  198. package/dist/4400.app.bundle.js +0 -2
  199. package/dist/4432.app.bundle.js +0 -2
  200. package/dist/4475.app.bundle.js +0 -1
  201. package/dist/4780.app.bundle.js +0 -2
  202. package/dist/5341.app.bundle.js +0 -2
  203. package/dist/5348.app.bundle.js +0 -2
  204. package/dist/5663.app.bundle.js +0 -2
  205. package/dist/5845.app.bundle.js +0 -2
  206. package/dist/5938.app.bundle.js +0 -2
  207. package/dist/5990.app.bundle.js +0 -2
  208. package/dist/6043.app.bundle.js +0 -1
  209. package/dist/606.app.bundle.js +0 -1
  210. package/dist/6095.app.bundle.js +0 -2
  211. package/dist/6308.app.bundle.js +0 -2
  212. package/dist/6498.app.bundle.js +0 -1
  213. package/dist/6555.app.bundle.js +0 -1
  214. package/dist/6650.app.bundle.js +0 -2
  215. package/dist/6696.app.bundle.js +0 -1
  216. package/dist/6718.app.bundle.js +0 -1
  217. package/dist/6849.app.bundle.js +0 -2
  218. package/dist/7166.app.bundle.js +0 -2
  219. package/dist/7307.app.bundle.js +0 -2
  220. package/dist/7372.app.bundle.js +0 -2
  221. package/dist/7734.app.bundle.js +0 -1
  222. package/dist/8255.app.bundle.js +0 -2
  223. package/dist/8913.app.bundle.js +0 -2
  224. package/dist/9186.app.bundle.js +0 -2
  225. package/dist/9376.app.bundle.js +0 -2
  226. package/dist/9496.app.bundle.js +0 -2
  227. package/dist/960.app.bundle.js +0 -1
  228. package/dist/9851.app.bundle.js +0 -2
  229. package/dist/components/contacts.js +0 -1
  230. package/dist/components/date-utils.js +0 -1
  231. package/dist/components/i18next.js +0 -1
  232. package/dist/components/utils.js +0 -1
  233. package/dist/components/va-accordion-item2.js +0 -1
  234. package/dist/components/va-accordion2.js +0 -1
  235. package/dist/components/va-alert2.js +0 -1
  236. package/dist/components/va-button-icon2.js +0 -1
  237. package/dist/components/va-button2.js +0 -1
  238. package/dist/components/va-card2.js +0 -1
  239. package/dist/components/va-checkbox-group2.js +0 -1
  240. package/dist/components/va-checkbox2.js +0 -1
  241. package/dist/components/va-combo-box2.js +0 -20
  242. package/dist/components/va-crisis-line-modal2.js +0 -1
  243. package/dist/components/va-critical-action2.js +0 -1
  244. package/dist/components/va-file-input2.js +0 -1
  245. package/dist/components/va-icon2.js +0 -1
  246. package/dist/components/va-link2.js +0 -1
  247. package/dist/components/va-modal2.js +0 -1
  248. package/dist/components/va-official-gov-banner2.js +0 -1
  249. package/dist/components/va-progress-bar2.js +0 -1
  250. package/dist/components/va-select2.js +0 -1
  251. package/dist/components/va-table-inner2.js +0 -1
  252. package/dist/components/va-telephone2.js +0 -1
  253. package/dist/components/va-text-input2.js +0 -1
  254. package/dist/react-bindings/react-component-lib/createComponent.d.ts +0 -10
  255. package/dist/react-bindings/react-component-lib/createComponent.js +0 -1
  256. package/dist/react-bindings/react-component-lib/createComponent.js.map +0 -1
  257. package/dist/react-bindings/react-component-lib/createComponent.tsx +0 -106
  258. package/dist/react-bindings/react-component-lib/createOverlayComponent.d.ts +0 -21
  259. package/dist/react-bindings/react-component-lib/createOverlayComponent.js +0 -1
  260. package/dist/react-bindings/react-component-lib/createOverlayComponent.js.map +0 -1
  261. package/dist/react-bindings/react-component-lib/createOverlayComponent.tsx +0 -142
  262. package/dist/react-bindings/react-component-lib/index.d.ts +0 -2
  263. package/dist/react-bindings/react-component-lib/index.js +0 -1
  264. package/dist/react-bindings/react-component-lib/index.js.map +0 -1
  265. package/dist/react-bindings/react-component-lib/index.ts +0 -2
  266. package/dist/react-bindings/react-component-lib/interfaces.d.ts +0 -29
  267. package/dist/react-bindings/react-component-lib/interfaces.js +0 -1
  268. package/dist/react-bindings/react-component-lib/interfaces.js.map +0 -1
  269. package/dist/react-bindings/react-component-lib/interfaces.ts +0 -34
  270. package/dist/react-bindings/react-component-lib/utils/attachProps.d.ts +0 -16
  271. package/dist/react-bindings/react-component-lib/utils/attachProps.js +0 -2
  272. package/dist/react-bindings/react-component-lib/utils/attachProps.js.LICENSE.txt +0 -4
  273. package/dist/react-bindings/react-component-lib/utils/attachProps.js.map +0 -1
  274. package/dist/react-bindings/react-component-lib/utils/attachProps.ts +0 -125
  275. package/dist/react-bindings/react-component-lib/utils/case.d.ts +0 -2
  276. package/dist/react-bindings/react-component-lib/utils/case.js +0 -1
  277. package/dist/react-bindings/react-component-lib/utils/case.js.map +0 -1
  278. package/dist/react-bindings/react-component-lib/utils/case.ts +0 -7
  279. package/dist/react-bindings/react-component-lib/utils/dev.d.ts +0 -2
  280. package/dist/react-bindings/react-component-lib/utils/dev.js +0 -1
  281. package/dist/react-bindings/react-component-lib/utils/dev.js.map +0 -1
  282. package/dist/react-bindings/react-component-lib/utils/dev.ts +0 -14
  283. package/dist/react-bindings/react-component-lib/utils/index.d.ts +0 -10
  284. package/dist/react-bindings/react-component-lib/utils/index.js +0 -1
  285. package/dist/react-bindings/react-component-lib/utils/index.js.map +0 -1
  286. package/dist/react-bindings/react-component-lib/utils/index.tsx +0 -50
  287. /package/dist/{0.app.bundle.js.LICENSE.txt → 1339.app.bundle.js.LICENSE.txt} +0 -0
  288. /package/dist/{141.app.bundle.js.LICENSE.txt → 2222.app.bundle.js.LICENSE.txt} +0 -0
  289. /package/dist/{1822.app.bundle.js.LICENSE.txt → 2654.app.bundle.js.LICENSE.txt} +0 -0
  290. /package/dist/{1966.app.bundle.js.LICENSE.txt → 2664.app.bundle.js.LICENSE.txt} +0 -0
  291. /package/dist/{272.app.bundle.js.LICENSE.txt → 2801.app.bundle.js.LICENSE.txt} +0 -0
  292. /package/dist/{2923.app.bundle.js.LICENSE.txt → 2858.app.bundle.js.LICENSE.txt} +0 -0
  293. /package/dist/{323.app.bundle.js.LICENSE.txt → 4117.app.bundle.js.LICENSE.txt} +0 -0
  294. /package/dist/{3305.app.bundle.js.LICENSE.txt → 4164.app.bundle.js.LICENSE.txt} +0 -0
  295. /package/dist/{3589.app.bundle.js.LICENSE.txt → 4708.app.bundle.js.LICENSE.txt} +0 -0
  296. /package/dist/{3601.app.bundle.js.LICENSE.txt → 4715.app.bundle.js.LICENSE.txt} +0 -0
  297. /package/dist/{4400.app.bundle.js.LICENSE.txt → 5019.app.bundle.js.LICENSE.txt} +0 -0
  298. /package/dist/{4432.app.bundle.js.LICENSE.txt → 5189.app.bundle.js.LICENSE.txt} +0 -0
  299. /package/dist/{4569.app.bundle.js.LICENSE.txt → 5306.app.bundle.js.LICENSE.txt} +0 -0
  300. /package/dist/{4780.app.bundle.js.LICENSE.txt → 5699.app.bundle.js.LICENSE.txt} +0 -0
  301. /package/dist/{4996.app.bundle.js.LICENSE.txt → 575.app.bundle.js.LICENSE.txt} +0 -0
  302. /package/dist/{5119.app.bundle.js.LICENSE.txt → 5830.app.bundle.js.LICENSE.txt} +0 -0
  303. /package/dist/{5341.app.bundle.js.LICENSE.txt → 6034.app.bundle.js.LICENSE.txt} +0 -0
  304. /package/dist/{5348.app.bundle.js.LICENSE.txt → 6246.app.bundle.js.LICENSE.txt} +0 -0
  305. /package/dist/{5663.app.bundle.js.LICENSE.txt → 6349.app.bundle.js.LICENSE.txt} +0 -0
  306. /package/dist/{5705.app.bundle.js.LICENSE.txt → 6527.app.bundle.js.LICENSE.txt} +0 -0
  307. /package/dist/{5845.app.bundle.js.LICENSE.txt → 6633.app.bundle.js.LICENSE.txt} +0 -0
  308. /package/dist/{5938.app.bundle.js.LICENSE.txt → 6655.app.bundle.js.LICENSE.txt} +0 -0
  309. /package/dist/{5990.app.bundle.js.LICENSE.txt → 6683.app.bundle.js.LICENSE.txt} +0 -0
  310. /package/dist/{6095.app.bundle.js.LICENSE.txt → 6824.app.bundle.js.LICENSE.txt} +0 -0
  311. /package/dist/{6308.app.bundle.js.LICENSE.txt → 712.app.bundle.js.LICENSE.txt} +0 -0
  312. /package/dist/{6650.app.bundle.js.LICENSE.txt → 7367.app.bundle.js.LICENSE.txt} +0 -0
  313. /package/dist/{6849.app.bundle.js.LICENSE.txt → 7814.app.bundle.js.LICENSE.txt} +0 -0
  314. /package/dist/{7166.app.bundle.js.LICENSE.txt → 8175.app.bundle.js.LICENSE.txt} +0 -0
  315. /package/dist/{7307.app.bundle.js.LICENSE.txt → 82.app.bundle.js.LICENSE.txt} +0 -0
  316. /package/dist/{7372.app.bundle.js.LICENSE.txt → 8495.app.bundle.js.LICENSE.txt} +0 -0
  317. /package/dist/{7495.app.bundle.js.LICENSE.txt → 8735.app.bundle.js.LICENSE.txt} +0 -0
  318. /package/dist/{8255.app.bundle.js.LICENSE.txt → 8762.app.bundle.js.LICENSE.txt} +0 -0
  319. /package/dist/{8913.app.bundle.js.LICENSE.txt → 890.app.bundle.js.LICENSE.txt} +0 -0
  320. /package/dist/{8915.app.bundle.js.LICENSE.txt → 9724.app.bundle.js.LICENSE.txt} +0 -0
  321. /package/dist/{9186.app.bundle.js.LICENSE.txt → 9755.app.bundle.js.LICENSE.txt} +0 -0
  322. /package/dist/{9376.app.bundle.js.LICENSE.txt → 9794.app.bundle.js.LICENSE.txt} +0 -0
  323. /package/dist/{9496.app.bundle.js.LICENSE.txt → 9800.app.bundle.js.LICENSE.txt} +0 -0
  324. /package/dist/{9851.app.bundle.js.LICENSE.txt → 9966.app.bundle.js.LICENSE.txt} +0 -0
  325. /package/dist/components/{index2.js.LICENSE.txt → p-a5dce9e6.js.LICENSE.txt} +0 -0
  326. /package/dist/components/{va-combo-box2.js.LICENSE.txt → p-d20739b4.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.camelToDashCase=exports.dashToPascalCase=void 0;var dashToPascalCase=function(a){return a.toLowerCase().split("-").map((function(a){return a.charAt(0).toUpperCase()+a.slice(1)})).join("")};exports.dashToPascalCase=dashToPascalCase;var camelToDashCase=function(a){return a.replace(/([A-Z])/g,(function(a){return"-".concat(a[0].toLowerCase())}))};exports.camelToDashCase=camelToDashCase;
@@ -1 +0,0 @@
1
- {"version":3,"file":"case.js","sourceRoot":"","sources":["case.ts"],"names":[],"mappings":";;;AAAO,IAAM,gBAAgB,GAAG,UAAC,GAAW;IAC1C,OAAA,GAAG;SACA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,EAAlD,CAAkD,CAAC;SACpE,IAAI,CAAC,EAAE,CAAC;AAJX,CAIW,CAAC;AALD,QAAA,gBAAgB,oBAKf;AACP,IAAM,eAAe,GAAG,UAAC,GAAW,IAAK,OAAA,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,UAAC,CAAS,IAAK,OAAA,WAAI,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAE,EAAxB,CAAwB,CAAC,EAAhE,CAAgE,CAAC;AAApG,QAAA,eAAe,mBAAqF"}
@@ -1,7 +0,0 @@
1
- export const dashToPascalCase = (str: string) =>
2
- str
3
- .toLowerCase()
4
- .split('-')
5
- .map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))
6
- .join('');
7
- export const camelToDashCase = (str: string) => str.replace(/([A-Z])/g, (m: string) => `-${m[0].toLowerCase()}`);
@@ -1,2 +0,0 @@
1
- export declare const isDevMode: () => boolean;
2
- export declare const deprecationWarning: (key: string, message: string) => void;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.deprecationWarning=exports.isDevMode=void 0;var isDevMode=function(){return process&&process.env&&"development"===process.env.NODE_ENV};exports.isDevMode=isDevMode;var warnings={},deprecationWarning=function(e,n){(0,exports.isDevMode)()&&(warnings[e]||(console.warn(n),warnings[e]=!0))};exports.deprecationWarning=deprecationWarning;
@@ -1 +0,0 @@
1
- {"version":3,"file":"dev.js","sourceRoot":"","sources":["dev.ts"],"names":[],"mappings":";;;AAAO,IAAM,SAAS,GAAG;IACvB,OAAO,OAAO,IAAI,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,CAAC;AAC1E,CAAC,CAAC;AAFW,QAAA,SAAS,aAEpB;AAEF,IAAM,QAAQ,GAA+B,EAAE,CAAC;AAEzC,IAAM,kBAAkB,GAAG,UAAC,GAAW,EAAE,OAAe;IAC7D,IAAI,IAAA,iBAAS,GAAE,EAAE,CAAC;QAChB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACnB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACtB,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;QACvB,CAAC;IACH,CAAC;AACH,CAAC,CAAC;AAPW,QAAA,kBAAkB,sBAO7B"}
@@ -1,14 +0,0 @@
1
- export const isDevMode = () => {
2
- return process && process.env && process.env.NODE_ENV === 'development';
3
- };
4
-
5
- const warnings: { [key: string]: boolean } = {};
6
-
7
- export const deprecationWarning = (key: string, message: string) => {
8
- if (isDevMode()) {
9
- if (!warnings[key]) {
10
- console.warn(message);
11
- warnings[key] = true;
12
- }
13
- }
14
- };
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { StyleReactProps } from '../interfaces';
3
- export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
4
- export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
5
- export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
6
- export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
7
- export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<PropType & Omit<React.HTMLAttributes<ElementType>, "style"> & StyleReactProps> & React.RefAttributes<ElementType>>;
8
- export declare const defineCustomElement: (tagName: string, customElement: any) => void;
9
- export * from './attachProps';
10
- export * from './case';
@@ -1 +0,0 @@
1
- "use strict";var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)},__createBinding=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),__exportStar=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||__createBinding(t,e,r)},__importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.defineCustomElement=exports.createForwardRef=exports.mergeRefs=exports.setRef=void 0;var react_1=__importDefault(require("react")),setRef=function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)};exports.setRef=setRef;var mergeRefs=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){e.forEach((function(e){(0,exports.setRef)(e,t)}))}};exports.mergeRefs=mergeRefs;var createForwardRef=function(e,t){var r=function(t,r){return react_1.default.createElement(e,__assign({},t,{forwardedRef:r}))};return r.displayName=t,react_1.default.forwardRef(r)};exports.createForwardRef=createForwardRef;var defineCustomElement=function(e,t){void 0===t||"undefined"==typeof customElements||customElements.get(e)||customElements.define(e,t)};exports.defineCustomElement=defineCustomElement,__exportStar(require("./attachProps"),exports),__exportStar(require("./case"),exports);
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gDAA0B;AAWnB,IAAM,MAAM,GAAG,UAAC,GAA+D,EAAE,KAAU;IAChG,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE,CAAC;QAC9B,GAAG,CAAC,KAAK,CAAC,CAAC;IACb,CAAC;SAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,gDAAgD;QAC/C,GAAmC,CAAC,OAAO,GAAG,KAAK,CAAC;IACvD,CAAC;AACH,CAAC,CAAC;AAPW,QAAA,MAAM,UAOjB;AAEK,IAAM,SAAS,GAAG;IACvB,cAAuE;SAAvE,UAAuE,EAAvE,qBAAuE,EAAvE,IAAuE;QAAvE,yBAAuE;;IAEvE,OAAO,UAAC,KAAU;QAChB,IAAI,CAAC,OAAO,CAAC,UAAC,GAAG;YACf,IAAA,cAAM,EAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,SAAS,aAQpB;AAEK,IAAM,gBAAgB,GAAG,UAAwB,cAAmB,EAAE,WAAmB;IAC9F,IAAM,UAAU,GAAG,UACjB,KAAuD,EACvD,GAA0C;QAE1C,OAAO,8BAAC,cAAc,eAAK,KAAK,IAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAC1D,CAAC,CAAC;IACF,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;IAErC,OAAO,eAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AACtC,CAAC,CAAC;AAVW,QAAA,gBAAgB,oBAU3B;AAEK,IAAM,mBAAmB,GAAG,UAAC,OAAe,EAAE,aAAkB;IACrE,IAAI,aAAa,KAAK,SAAS,IAAI,OAAO,cAAc,KAAK,WAAW,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;QACzG,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAChD,CAAC;AACH,CAAC,CAAC;AAJW,QAAA,mBAAmB,uBAI9B;AAEF,gDAA8B;AAC9B,yCAAuB"}
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
-
3
- import type { StyleReactProps } from '../interfaces';
4
-
5
- export type StencilReactExternalProps<PropType, ElementType> = PropType &
6
- Omit<React.HTMLAttributes<ElementType>, 'style'> &
7
- StyleReactProps;
8
-
9
- // This will be replaced with React.ForwardedRef when react-output-target is upgraded to React v17
10
- export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
11
-
12
- export const setRef = (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => {
13
- if (typeof ref === 'function') {
14
- ref(value);
15
- } else if (ref != null) {
16
- // Cast as a MutableRef so we can assign current
17
- (ref as React.MutableRefObject<any>).current = value;
18
- }
19
- };
20
-
21
- export const mergeRefs = (
22
- ...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]
23
- ): React.RefCallback<any> => {
24
- return (value: any) => {
25
- refs.forEach((ref) => {
26
- setRef(ref, value);
27
- });
28
- };
29
- };
30
-
31
- export const createForwardRef = <PropType, ElementType>(ReactComponent: any, displayName: string) => {
32
- const forwardRef = (
33
- props: StencilReactExternalProps<PropType, ElementType>,
34
- ref: StencilReactForwardedRef<ElementType>
35
- ) => {
36
- return <ReactComponent {...props} forwardedRef={ref} />;
37
- };
38
- forwardRef.displayName = displayName;
39
-
40
- return React.forwardRef(forwardRef);
41
- };
42
-
43
- export const defineCustomElement = (tagName: string, customElement: any) => {
44
- if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
45
- customElements.define(tagName, customElement);
46
- }
47
- };
48
-
49
- export * from './attachProps';
50
- export * from './case';