@kong/icons 1.24.0 → 1.24.1-pr.600.ad46ef9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (873) hide show
  1. package/dist/kong-icons.es10.js.map +1 -1
  2. package/dist/kong-icons.es100.js.map +1 -1
  3. package/dist/kong-icons.es102.js.map +1 -1
  4. package/dist/kong-icons.es104.js.map +1 -1
  5. package/dist/kong-icons.es106.js.map +1 -1
  6. package/dist/kong-icons.es108.js.map +1 -1
  7. package/dist/kong-icons.es110.js.map +1 -1
  8. package/dist/kong-icons.es112.js.map +1 -1
  9. package/dist/kong-icons.es114.js.map +1 -1
  10. package/dist/kong-icons.es116.js.map +1 -1
  11. package/dist/kong-icons.es118.js.map +1 -1
  12. package/dist/kong-icons.es12.js.map +1 -1
  13. package/dist/kong-icons.es120.js.map +1 -1
  14. package/dist/kong-icons.es122.js.map +1 -1
  15. package/dist/kong-icons.es124.js.map +1 -1
  16. package/dist/kong-icons.es126.js.map +1 -1
  17. package/dist/kong-icons.es128.js.map +1 -1
  18. package/dist/kong-icons.es130.js.map +1 -1
  19. package/dist/kong-icons.es132.js.map +1 -1
  20. package/dist/kong-icons.es134.js.map +1 -1
  21. package/dist/kong-icons.es136.js.map +1 -1
  22. package/dist/kong-icons.es138.js.map +1 -1
  23. package/dist/kong-icons.es14.js.map +1 -1
  24. package/dist/kong-icons.es140.js.map +1 -1
  25. package/dist/kong-icons.es142.js.map +1 -1
  26. package/dist/kong-icons.es144.js.map +1 -1
  27. package/dist/kong-icons.es146.js.map +1 -1
  28. package/dist/kong-icons.es148.js.map +1 -1
  29. package/dist/kong-icons.es150.js.map +1 -1
  30. package/dist/kong-icons.es152.js.map +1 -1
  31. package/dist/kong-icons.es154.js.map +1 -1
  32. package/dist/kong-icons.es156.js.map +1 -1
  33. package/dist/kong-icons.es158.js.map +1 -1
  34. package/dist/kong-icons.es16.js.map +1 -1
  35. package/dist/kong-icons.es160.js.map +1 -1
  36. package/dist/kong-icons.es162.js.map +1 -1
  37. package/dist/kong-icons.es164.js.map +1 -1
  38. package/dist/kong-icons.es166.js.map +1 -1
  39. package/dist/kong-icons.es168.js.map +1 -1
  40. package/dist/kong-icons.es170.js.map +1 -1
  41. package/dist/kong-icons.es172.js.map +1 -1
  42. package/dist/kong-icons.es174.js.map +1 -1
  43. package/dist/kong-icons.es176.js.map +1 -1
  44. package/dist/kong-icons.es178.js.map +1 -1
  45. package/dist/kong-icons.es18.js.map +1 -1
  46. package/dist/kong-icons.es180.js.map +1 -1
  47. package/dist/kong-icons.es182.js.map +1 -1
  48. package/dist/kong-icons.es184.js.map +1 -1
  49. package/dist/kong-icons.es186.js.map +1 -1
  50. package/dist/kong-icons.es188.js.map +1 -1
  51. package/dist/kong-icons.es190.js.map +1 -1
  52. package/dist/kong-icons.es192.js.map +1 -1
  53. package/dist/kong-icons.es194.js.map +1 -1
  54. package/dist/kong-icons.es196.js.map +1 -1
  55. package/dist/kong-icons.es198.js.map +1 -1
  56. package/dist/kong-icons.es2.js.map +1 -1
  57. package/dist/kong-icons.es20.js.map +1 -1
  58. package/dist/kong-icons.es200.js.map +1 -1
  59. package/dist/kong-icons.es202.js.map +1 -1
  60. package/dist/kong-icons.es204.js.map +1 -1
  61. package/dist/kong-icons.es206.js.map +1 -1
  62. package/dist/kong-icons.es208.js.map +1 -1
  63. package/dist/kong-icons.es210.js.map +1 -1
  64. package/dist/kong-icons.es212.js.map +1 -1
  65. package/dist/kong-icons.es214.js.map +1 -1
  66. package/dist/kong-icons.es216.js.map +1 -1
  67. package/dist/kong-icons.es218.js.map +1 -1
  68. package/dist/kong-icons.es22.js.map +1 -1
  69. package/dist/kong-icons.es220.js.map +1 -1
  70. package/dist/kong-icons.es222.js.map +1 -1
  71. package/dist/kong-icons.es224.js.map +1 -1
  72. package/dist/kong-icons.es226.js.map +1 -1
  73. package/dist/kong-icons.es228.js.map +1 -1
  74. package/dist/kong-icons.es230.js.map +1 -1
  75. package/dist/kong-icons.es232.js.map +1 -1
  76. package/dist/kong-icons.es234.js.map +1 -1
  77. package/dist/kong-icons.es236.js.map +1 -1
  78. package/dist/kong-icons.es238.js.map +1 -1
  79. package/dist/kong-icons.es24.js.map +1 -1
  80. package/dist/kong-icons.es240.js.map +1 -1
  81. package/dist/kong-icons.es242.js.map +1 -1
  82. package/dist/kong-icons.es244.js.map +1 -1
  83. package/dist/kong-icons.es246.js.map +1 -1
  84. package/dist/kong-icons.es248.js.map +1 -1
  85. package/dist/kong-icons.es250.js.map +1 -1
  86. package/dist/kong-icons.es252.js.map +1 -1
  87. package/dist/kong-icons.es254.js.map +1 -1
  88. package/dist/kong-icons.es256.js.map +1 -1
  89. package/dist/kong-icons.es258.js.map +1 -1
  90. package/dist/kong-icons.es26.js.map +1 -1
  91. package/dist/kong-icons.es260.js.map +1 -1
  92. package/dist/kong-icons.es262.js.map +1 -1
  93. package/dist/kong-icons.es264.js.map +1 -1
  94. package/dist/kong-icons.es266.js.map +1 -1
  95. package/dist/kong-icons.es268.js.map +1 -1
  96. package/dist/kong-icons.es270.js.map +1 -1
  97. package/dist/kong-icons.es272.js.map +1 -1
  98. package/dist/kong-icons.es274.js.map +1 -1
  99. package/dist/kong-icons.es276.js.map +1 -1
  100. package/dist/kong-icons.es278.js.map +1 -1
  101. package/dist/kong-icons.es28.js.map +1 -1
  102. package/dist/kong-icons.es280.js.map +1 -1
  103. package/dist/kong-icons.es282.js.map +1 -1
  104. package/dist/kong-icons.es284.js.map +1 -1
  105. package/dist/kong-icons.es286.js.map +1 -1
  106. package/dist/kong-icons.es288.js.map +1 -1
  107. package/dist/kong-icons.es290.js.map +1 -1
  108. package/dist/kong-icons.es292.js.map +1 -1
  109. package/dist/kong-icons.es294.js.map +1 -1
  110. package/dist/kong-icons.es296.js.map +1 -1
  111. package/dist/kong-icons.es298.js.map +1 -1
  112. package/dist/kong-icons.es30.js.map +1 -1
  113. package/dist/kong-icons.es300.js.map +1 -1
  114. package/dist/kong-icons.es302.js.map +1 -1
  115. package/dist/kong-icons.es304.js.map +1 -1
  116. package/dist/kong-icons.es306.js.map +1 -1
  117. package/dist/kong-icons.es308.js.map +1 -1
  118. package/dist/kong-icons.es310.js.map +1 -1
  119. package/dist/kong-icons.es312.js.map +1 -1
  120. package/dist/kong-icons.es314.js.map +1 -1
  121. package/dist/kong-icons.es316.js.map +1 -1
  122. package/dist/kong-icons.es318.js.map +1 -1
  123. package/dist/kong-icons.es32.js.map +1 -1
  124. package/dist/kong-icons.es320.js.map +1 -1
  125. package/dist/kong-icons.es322.js.map +1 -1
  126. package/dist/kong-icons.es324.js.map +1 -1
  127. package/dist/kong-icons.es326.js.map +1 -1
  128. package/dist/kong-icons.es328.js.map +1 -1
  129. package/dist/kong-icons.es330.js.map +1 -1
  130. package/dist/kong-icons.es332.js.map +1 -1
  131. package/dist/kong-icons.es334.js.map +1 -1
  132. package/dist/kong-icons.es336.js.map +1 -1
  133. package/dist/kong-icons.es338.js.map +1 -1
  134. package/dist/kong-icons.es34.js.map +1 -1
  135. package/dist/kong-icons.es340.js.map +1 -1
  136. package/dist/kong-icons.es342.js.map +1 -1
  137. package/dist/kong-icons.es344.js.map +1 -1
  138. package/dist/kong-icons.es346.js.map +1 -1
  139. package/dist/kong-icons.es348.js.map +1 -1
  140. package/dist/kong-icons.es350.js.map +1 -1
  141. package/dist/kong-icons.es352.js.map +1 -1
  142. package/dist/kong-icons.es354.js.map +1 -1
  143. package/dist/kong-icons.es356.js.map +1 -1
  144. package/dist/kong-icons.es358.js.map +1 -1
  145. package/dist/kong-icons.es36.js.map +1 -1
  146. package/dist/kong-icons.es360.js.map +1 -1
  147. package/dist/kong-icons.es362.js.map +1 -1
  148. package/dist/kong-icons.es364.js.map +1 -1
  149. package/dist/kong-icons.es366.js.map +1 -1
  150. package/dist/kong-icons.es368.js.map +1 -1
  151. package/dist/kong-icons.es370.js.map +1 -1
  152. package/dist/kong-icons.es372.js.map +1 -1
  153. package/dist/kong-icons.es374.js.map +1 -1
  154. package/dist/kong-icons.es376.js.map +1 -1
  155. package/dist/kong-icons.es378.js.map +1 -1
  156. package/dist/kong-icons.es38.js.map +1 -1
  157. package/dist/kong-icons.es380.js.map +1 -1
  158. package/dist/kong-icons.es382.js.map +1 -1
  159. package/dist/kong-icons.es384.js.map +1 -1
  160. package/dist/kong-icons.es386.js.map +1 -1
  161. package/dist/kong-icons.es388.js.map +1 -1
  162. package/dist/kong-icons.es390.js.map +1 -1
  163. package/dist/kong-icons.es392.js.map +1 -1
  164. package/dist/kong-icons.es394.js.map +1 -1
  165. package/dist/kong-icons.es396.js.map +1 -1
  166. package/dist/kong-icons.es398.js.map +1 -1
  167. package/dist/kong-icons.es4.js.map +1 -1
  168. package/dist/kong-icons.es40.js.map +1 -1
  169. package/dist/kong-icons.es400.js.map +1 -1
  170. package/dist/kong-icons.es402.js.map +1 -1
  171. package/dist/kong-icons.es404.js.map +1 -1
  172. package/dist/kong-icons.es406.js.map +1 -1
  173. package/dist/kong-icons.es408.js.map +1 -1
  174. package/dist/kong-icons.es410.js.map +1 -1
  175. package/dist/kong-icons.es412.js.map +1 -1
  176. package/dist/kong-icons.es414.js.map +1 -1
  177. package/dist/kong-icons.es416.js.map +1 -1
  178. package/dist/kong-icons.es418.js.map +1 -1
  179. package/dist/kong-icons.es42.js.map +1 -1
  180. package/dist/kong-icons.es420.js.map +1 -1
  181. package/dist/kong-icons.es422.js.map +1 -1
  182. package/dist/kong-icons.es424.js.map +1 -1
  183. package/dist/kong-icons.es426.js.map +1 -1
  184. package/dist/kong-icons.es428.js.map +1 -1
  185. package/dist/kong-icons.es430.js.map +1 -1
  186. package/dist/kong-icons.es432.js.map +1 -1
  187. package/dist/kong-icons.es434.js.map +1 -1
  188. package/dist/kong-icons.es436.js.map +1 -1
  189. package/dist/kong-icons.es438.js.map +1 -1
  190. package/dist/kong-icons.es44.js.map +1 -1
  191. package/dist/kong-icons.es440.js.map +1 -1
  192. package/dist/kong-icons.es442.js.map +1 -1
  193. package/dist/kong-icons.es444.js.map +1 -1
  194. package/dist/kong-icons.es446.js.map +1 -1
  195. package/dist/kong-icons.es448.js.map +1 -1
  196. package/dist/kong-icons.es450.js.map +1 -1
  197. package/dist/kong-icons.es452.js.map +1 -1
  198. package/dist/kong-icons.es454.js.map +1 -1
  199. package/dist/kong-icons.es456.js.map +1 -1
  200. package/dist/kong-icons.es458.js.map +1 -1
  201. package/dist/kong-icons.es46.js.map +1 -1
  202. package/dist/kong-icons.es460.js.map +1 -1
  203. package/dist/kong-icons.es462.js.map +1 -1
  204. package/dist/kong-icons.es464.js.map +1 -1
  205. package/dist/kong-icons.es466.js.map +1 -1
  206. package/dist/kong-icons.es468.js.map +1 -1
  207. package/dist/kong-icons.es470.js.map +1 -1
  208. package/dist/kong-icons.es472.js.map +1 -1
  209. package/dist/kong-icons.es474.js.map +1 -1
  210. package/dist/kong-icons.es476.js.map +1 -1
  211. package/dist/kong-icons.es478.js.map +1 -1
  212. package/dist/kong-icons.es48.js.map +1 -1
  213. package/dist/kong-icons.es480.js.map +1 -1
  214. package/dist/kong-icons.es482.js.map +1 -1
  215. package/dist/kong-icons.es484.js.map +1 -1
  216. package/dist/kong-icons.es486.js.map +1 -1
  217. package/dist/kong-icons.es488.js.map +1 -1
  218. package/dist/kong-icons.es490.js.map +1 -1
  219. package/dist/kong-icons.es492.js.map +1 -1
  220. package/dist/kong-icons.es494.js.map +1 -1
  221. package/dist/kong-icons.es496.js.map +1 -1
  222. package/dist/kong-icons.es498.js.map +1 -1
  223. package/dist/kong-icons.es50.js.map +1 -1
  224. package/dist/kong-icons.es500.js.map +1 -1
  225. package/dist/kong-icons.es502.js.map +1 -1
  226. package/dist/kong-icons.es504.js.map +1 -1
  227. package/dist/kong-icons.es506.js.map +1 -1
  228. package/dist/kong-icons.es508.js.map +1 -1
  229. package/dist/kong-icons.es510.js.map +1 -1
  230. package/dist/kong-icons.es512.js.map +1 -1
  231. package/dist/kong-icons.es514.js.map +1 -1
  232. package/dist/kong-icons.es516.js.map +1 -1
  233. package/dist/kong-icons.es518.js.map +1 -1
  234. package/dist/kong-icons.es52.js.map +1 -1
  235. package/dist/kong-icons.es520.js.map +1 -1
  236. package/dist/kong-icons.es522.js.map +1 -1
  237. package/dist/kong-icons.es524.js.map +1 -1
  238. package/dist/kong-icons.es526.js.map +1 -1
  239. package/dist/kong-icons.es528.js.map +1 -1
  240. package/dist/kong-icons.es530.js.map +1 -1
  241. package/dist/kong-icons.es532.js.map +1 -1
  242. package/dist/kong-icons.es534.js.map +1 -1
  243. package/dist/kong-icons.es536.js.map +1 -1
  244. package/dist/kong-icons.es538.js.map +1 -1
  245. package/dist/kong-icons.es54.js.map +1 -1
  246. package/dist/kong-icons.es540.js.map +1 -1
  247. package/dist/kong-icons.es542.js.map +1 -1
  248. package/dist/kong-icons.es544.js.map +1 -1
  249. package/dist/kong-icons.es546.js.map +1 -1
  250. package/dist/kong-icons.es548.js.map +1 -1
  251. package/dist/kong-icons.es550.js.map +1 -1
  252. package/dist/kong-icons.es552.js.map +1 -1
  253. package/dist/kong-icons.es554.js.map +1 -1
  254. package/dist/kong-icons.es556.js.map +1 -1
  255. package/dist/kong-icons.es558.js.map +1 -1
  256. package/dist/kong-icons.es56.js.map +1 -1
  257. package/dist/kong-icons.es560.js.map +1 -1
  258. package/dist/kong-icons.es562.js.map +1 -1
  259. package/dist/kong-icons.es564.js.map +1 -1
  260. package/dist/kong-icons.es566.js.map +1 -1
  261. package/dist/kong-icons.es568.js.map +1 -1
  262. package/dist/kong-icons.es570.js.map +1 -1
  263. package/dist/kong-icons.es572.js.map +1 -1
  264. package/dist/kong-icons.es574.js.map +1 -1
  265. package/dist/kong-icons.es576.js.map +1 -1
  266. package/dist/kong-icons.es578.js.map +1 -1
  267. package/dist/kong-icons.es58.js.map +1 -1
  268. package/dist/kong-icons.es580.js.map +1 -1
  269. package/dist/kong-icons.es582.js.map +1 -1
  270. package/dist/kong-icons.es584.js.map +1 -1
  271. package/dist/kong-icons.es586.js.map +1 -1
  272. package/dist/kong-icons.es588.js.map +1 -1
  273. package/dist/kong-icons.es590.js.map +1 -1
  274. package/dist/kong-icons.es592.js.map +1 -1
  275. package/dist/kong-icons.es594.js.map +1 -1
  276. package/dist/kong-icons.es596.js.map +1 -1
  277. package/dist/kong-icons.es598.js.map +1 -1
  278. package/dist/kong-icons.es6.js.map +1 -1
  279. package/dist/kong-icons.es60.js.map +1 -1
  280. package/dist/kong-icons.es600.js.map +1 -1
  281. package/dist/kong-icons.es602.js.map +1 -1
  282. package/dist/kong-icons.es604.js.map +1 -1
  283. package/dist/kong-icons.es606.js.map +1 -1
  284. package/dist/kong-icons.es608.js.map +1 -1
  285. package/dist/kong-icons.es610.js.map +1 -1
  286. package/dist/kong-icons.es612.js.map +1 -1
  287. package/dist/kong-icons.es614.js.map +1 -1
  288. package/dist/kong-icons.es616.js.map +1 -1
  289. package/dist/kong-icons.es618.js.map +1 -1
  290. package/dist/kong-icons.es62.js.map +1 -1
  291. package/dist/kong-icons.es620.js.map +1 -1
  292. package/dist/kong-icons.es622.js.map +1 -1
  293. package/dist/kong-icons.es624.js.map +1 -1
  294. package/dist/kong-icons.es626.js.map +1 -1
  295. package/dist/kong-icons.es628.js.map +1 -1
  296. package/dist/kong-icons.es630.js.map +1 -1
  297. package/dist/kong-icons.es632.js.map +1 -1
  298. package/dist/kong-icons.es634.js.map +1 -1
  299. package/dist/kong-icons.es636.js.map +1 -1
  300. package/dist/kong-icons.es638.js.map +1 -1
  301. package/dist/kong-icons.es64.js.map +1 -1
  302. package/dist/kong-icons.es640.js.map +1 -1
  303. package/dist/kong-icons.es642.js.map +1 -1
  304. package/dist/kong-icons.es644.js.map +1 -1
  305. package/dist/kong-icons.es646.js.map +1 -1
  306. package/dist/kong-icons.es648.js.map +1 -1
  307. package/dist/kong-icons.es650.js.map +1 -1
  308. package/dist/kong-icons.es652.js.map +1 -1
  309. package/dist/kong-icons.es654.js.map +1 -1
  310. package/dist/kong-icons.es656.js.map +1 -1
  311. package/dist/kong-icons.es658.js.map +1 -1
  312. package/dist/kong-icons.es66.js.map +1 -1
  313. package/dist/kong-icons.es660.js.map +1 -1
  314. package/dist/kong-icons.es662.js.map +1 -1
  315. package/dist/kong-icons.es664.js.map +1 -1
  316. package/dist/kong-icons.es666.js.map +1 -1
  317. package/dist/kong-icons.es668.js.map +1 -1
  318. package/dist/kong-icons.es670.js.map +1 -1
  319. package/dist/kong-icons.es672.js.map +1 -1
  320. package/dist/kong-icons.es674.js.map +1 -1
  321. package/dist/kong-icons.es676.js.map +1 -1
  322. package/dist/kong-icons.es678.js.map +1 -1
  323. package/dist/kong-icons.es68.js.map +1 -1
  324. package/dist/kong-icons.es680.js.map +1 -1
  325. package/dist/kong-icons.es682.js.map +1 -1
  326. package/dist/kong-icons.es684.js.map +1 -1
  327. package/dist/kong-icons.es686.js.map +1 -1
  328. package/dist/kong-icons.es688.js.map +1 -1
  329. package/dist/kong-icons.es690.js.map +1 -1
  330. package/dist/kong-icons.es692.js.map +1 -1
  331. package/dist/kong-icons.es694.js.map +1 -1
  332. package/dist/kong-icons.es696.js.map +1 -1
  333. package/dist/kong-icons.es698.js.map +1 -1
  334. package/dist/kong-icons.es70.js.map +1 -1
  335. package/dist/kong-icons.es700.js.map +1 -1
  336. package/dist/kong-icons.es702.js.map +1 -1
  337. package/dist/kong-icons.es704.js.map +1 -1
  338. package/dist/kong-icons.es706.js.map +1 -1
  339. package/dist/kong-icons.es708.js.map +1 -1
  340. package/dist/kong-icons.es710.js.map +1 -1
  341. package/dist/kong-icons.es712.js.map +1 -1
  342. package/dist/kong-icons.es714.js.map +1 -1
  343. package/dist/kong-icons.es716.js.map +1 -1
  344. package/dist/kong-icons.es718.js.map +1 -1
  345. package/dist/kong-icons.es72.js.map +1 -1
  346. package/dist/kong-icons.es720.js.map +1 -1
  347. package/dist/kong-icons.es722.js.map +1 -1
  348. package/dist/kong-icons.es724.js.map +1 -1
  349. package/dist/kong-icons.es726.js.map +1 -1
  350. package/dist/kong-icons.es728.js.map +1 -1
  351. package/dist/kong-icons.es730.js.map +1 -1
  352. package/dist/kong-icons.es732.js.map +1 -1
  353. package/dist/kong-icons.es734.js.map +1 -1
  354. package/dist/kong-icons.es736.js.map +1 -1
  355. package/dist/kong-icons.es738.js.map +1 -1
  356. package/dist/kong-icons.es74.js.map +1 -1
  357. package/dist/kong-icons.es740.js.map +1 -1
  358. package/dist/kong-icons.es742.js.map +1 -1
  359. package/dist/kong-icons.es744.js.map +1 -1
  360. package/dist/kong-icons.es746.js.map +1 -1
  361. package/dist/kong-icons.es748.js.map +1 -1
  362. package/dist/kong-icons.es750.js.map +1 -1
  363. package/dist/kong-icons.es752.js.map +1 -1
  364. package/dist/kong-icons.es754.js.map +1 -1
  365. package/dist/kong-icons.es756.js.map +1 -1
  366. package/dist/kong-icons.es758.js.map +1 -1
  367. package/dist/kong-icons.es76.js.map +1 -1
  368. package/dist/kong-icons.es760.js.map +1 -1
  369. package/dist/kong-icons.es762.js.map +1 -1
  370. package/dist/kong-icons.es764.js.map +1 -1
  371. package/dist/kong-icons.es766.js.map +1 -1
  372. package/dist/kong-icons.es768.js.map +1 -1
  373. package/dist/kong-icons.es770.js.map +1 -1
  374. package/dist/kong-icons.es772.js.map +1 -1
  375. package/dist/kong-icons.es774.js.map +1 -1
  376. package/dist/kong-icons.es776.js.map +1 -1
  377. package/dist/kong-icons.es778.js.map +1 -1
  378. package/dist/kong-icons.es78.js.map +1 -1
  379. package/dist/kong-icons.es780.js.map +1 -1
  380. package/dist/kong-icons.es782.js.map +1 -1
  381. package/dist/kong-icons.es784.js.map +1 -1
  382. package/dist/kong-icons.es786.js.map +1 -1
  383. package/dist/kong-icons.es788.js.map +1 -1
  384. package/dist/kong-icons.es790.js.map +1 -1
  385. package/dist/kong-icons.es792.js.map +1 -1
  386. package/dist/kong-icons.es794.js.map +1 -1
  387. package/dist/kong-icons.es796.js.map +1 -1
  388. package/dist/kong-icons.es798.js.map +1 -1
  389. package/dist/kong-icons.es8.js.map +1 -1
  390. package/dist/kong-icons.es80.js.map +1 -1
  391. package/dist/kong-icons.es800.js.map +1 -1
  392. package/dist/kong-icons.es802.js.map +1 -1
  393. package/dist/kong-icons.es804.js.map +1 -1
  394. package/dist/kong-icons.es806.js.map +1 -1
  395. package/dist/kong-icons.es808.js.map +1 -1
  396. package/dist/kong-icons.es810.js.map +1 -1
  397. package/dist/kong-icons.es812.js.map +1 -1
  398. package/dist/kong-icons.es814.js.map +1 -1
  399. package/dist/kong-icons.es816.js.map +1 -1
  400. package/dist/kong-icons.es818.js.map +1 -1
  401. package/dist/kong-icons.es82.js.map +1 -1
  402. package/dist/kong-icons.es820.js.map +1 -1
  403. package/dist/kong-icons.es822.js.map +1 -1
  404. package/dist/kong-icons.es824.js.map +1 -1
  405. package/dist/kong-icons.es826.js.map +1 -1
  406. package/dist/kong-icons.es828.js.map +1 -1
  407. package/dist/kong-icons.es830.js.map +1 -1
  408. package/dist/kong-icons.es832.js.map +1 -1
  409. package/dist/kong-icons.es834.js.map +1 -1
  410. package/dist/kong-icons.es836.js.map +1 -1
  411. package/dist/kong-icons.es838.js.map +1 -1
  412. package/dist/kong-icons.es84.js.map +1 -1
  413. package/dist/kong-icons.es840.js.map +1 -1
  414. package/dist/kong-icons.es842.js.map +1 -1
  415. package/dist/kong-icons.es844.js.map +1 -1
  416. package/dist/kong-icons.es846.js.map +1 -1
  417. package/dist/kong-icons.es848.js.map +1 -1
  418. package/dist/kong-icons.es850.js.map +1 -1
  419. package/dist/kong-icons.es852.js.map +1 -1
  420. package/dist/kong-icons.es854.js.map +1 -1
  421. package/dist/kong-icons.es856.js.map +1 -1
  422. package/dist/kong-icons.es858.js.map +1 -1
  423. package/dist/kong-icons.es86.js.map +1 -1
  424. package/dist/kong-icons.es860.js.map +1 -1
  425. package/dist/kong-icons.es862.js.map +1 -1
  426. package/dist/kong-icons.es864.js.map +1 -1
  427. package/dist/kong-icons.es866.js.map +1 -1
  428. package/dist/kong-icons.es868.js.map +1 -1
  429. package/dist/kong-icons.es88.js.map +1 -1
  430. package/dist/kong-icons.es90.js.map +1 -1
  431. package/dist/kong-icons.es92.js.map +1 -1
  432. package/dist/kong-icons.es94.js.map +1 -1
  433. package/dist/kong-icons.es96.js.map +1 -1
  434. package/dist/kong-icons.es98.js.map +1 -1
  435. package/dist/kong-icons10.cjs.map +1 -1
  436. package/dist/kong-icons100.cjs.map +1 -1
  437. package/dist/kong-icons102.cjs.map +1 -1
  438. package/dist/kong-icons104.cjs.map +1 -1
  439. package/dist/kong-icons106.cjs.map +1 -1
  440. package/dist/kong-icons108.cjs.map +1 -1
  441. package/dist/kong-icons110.cjs.map +1 -1
  442. package/dist/kong-icons112.cjs.map +1 -1
  443. package/dist/kong-icons114.cjs.map +1 -1
  444. package/dist/kong-icons116.cjs.map +1 -1
  445. package/dist/kong-icons118.cjs.map +1 -1
  446. package/dist/kong-icons12.cjs.map +1 -1
  447. package/dist/kong-icons120.cjs.map +1 -1
  448. package/dist/kong-icons122.cjs.map +1 -1
  449. package/dist/kong-icons124.cjs.map +1 -1
  450. package/dist/kong-icons126.cjs.map +1 -1
  451. package/dist/kong-icons128.cjs.map +1 -1
  452. package/dist/kong-icons130.cjs.map +1 -1
  453. package/dist/kong-icons132.cjs.map +1 -1
  454. package/dist/kong-icons134.cjs.map +1 -1
  455. package/dist/kong-icons136.cjs.map +1 -1
  456. package/dist/kong-icons138.cjs.map +1 -1
  457. package/dist/kong-icons14.cjs.map +1 -1
  458. package/dist/kong-icons140.cjs.map +1 -1
  459. package/dist/kong-icons142.cjs.map +1 -1
  460. package/dist/kong-icons144.cjs.map +1 -1
  461. package/dist/kong-icons146.cjs.map +1 -1
  462. package/dist/kong-icons148.cjs.map +1 -1
  463. package/dist/kong-icons150.cjs.map +1 -1
  464. package/dist/kong-icons152.cjs.map +1 -1
  465. package/dist/kong-icons154.cjs.map +1 -1
  466. package/dist/kong-icons156.cjs.map +1 -1
  467. package/dist/kong-icons158.cjs.map +1 -1
  468. package/dist/kong-icons16.cjs.map +1 -1
  469. package/dist/kong-icons160.cjs.map +1 -1
  470. package/dist/kong-icons162.cjs.map +1 -1
  471. package/dist/kong-icons164.cjs.map +1 -1
  472. package/dist/kong-icons166.cjs.map +1 -1
  473. package/dist/kong-icons168.cjs.map +1 -1
  474. package/dist/kong-icons170.cjs.map +1 -1
  475. package/dist/kong-icons172.cjs.map +1 -1
  476. package/dist/kong-icons174.cjs.map +1 -1
  477. package/dist/kong-icons176.cjs.map +1 -1
  478. package/dist/kong-icons178.cjs.map +1 -1
  479. package/dist/kong-icons18.cjs.map +1 -1
  480. package/dist/kong-icons180.cjs.map +1 -1
  481. package/dist/kong-icons182.cjs.map +1 -1
  482. package/dist/kong-icons184.cjs.map +1 -1
  483. package/dist/kong-icons186.cjs.map +1 -1
  484. package/dist/kong-icons188.cjs.map +1 -1
  485. package/dist/kong-icons190.cjs.map +1 -1
  486. package/dist/kong-icons192.cjs.map +1 -1
  487. package/dist/kong-icons194.cjs.map +1 -1
  488. package/dist/kong-icons196.cjs.map +1 -1
  489. package/dist/kong-icons198.cjs.map +1 -1
  490. package/dist/kong-icons2.cjs.map +1 -1
  491. package/dist/kong-icons20.cjs.map +1 -1
  492. package/dist/kong-icons200.cjs.map +1 -1
  493. package/dist/kong-icons202.cjs.map +1 -1
  494. package/dist/kong-icons204.cjs.map +1 -1
  495. package/dist/kong-icons206.cjs.map +1 -1
  496. package/dist/kong-icons208.cjs.map +1 -1
  497. package/dist/kong-icons210.cjs.map +1 -1
  498. package/dist/kong-icons212.cjs.map +1 -1
  499. package/dist/kong-icons214.cjs.map +1 -1
  500. package/dist/kong-icons216.cjs.map +1 -1
  501. package/dist/kong-icons218.cjs.map +1 -1
  502. package/dist/kong-icons22.cjs.map +1 -1
  503. package/dist/kong-icons220.cjs.map +1 -1
  504. package/dist/kong-icons222.cjs.map +1 -1
  505. package/dist/kong-icons224.cjs.map +1 -1
  506. package/dist/kong-icons226.cjs.map +1 -1
  507. package/dist/kong-icons228.cjs.map +1 -1
  508. package/dist/kong-icons230.cjs.map +1 -1
  509. package/dist/kong-icons232.cjs.map +1 -1
  510. package/dist/kong-icons234.cjs.map +1 -1
  511. package/dist/kong-icons236.cjs.map +1 -1
  512. package/dist/kong-icons238.cjs.map +1 -1
  513. package/dist/kong-icons24.cjs.map +1 -1
  514. package/dist/kong-icons240.cjs.map +1 -1
  515. package/dist/kong-icons242.cjs.map +1 -1
  516. package/dist/kong-icons244.cjs.map +1 -1
  517. package/dist/kong-icons246.cjs.map +1 -1
  518. package/dist/kong-icons248.cjs.map +1 -1
  519. package/dist/kong-icons250.cjs.map +1 -1
  520. package/dist/kong-icons252.cjs.map +1 -1
  521. package/dist/kong-icons254.cjs.map +1 -1
  522. package/dist/kong-icons256.cjs.map +1 -1
  523. package/dist/kong-icons258.cjs.map +1 -1
  524. package/dist/kong-icons26.cjs.map +1 -1
  525. package/dist/kong-icons260.cjs.map +1 -1
  526. package/dist/kong-icons262.cjs.map +1 -1
  527. package/dist/kong-icons264.cjs.map +1 -1
  528. package/dist/kong-icons266.cjs.map +1 -1
  529. package/dist/kong-icons268.cjs.map +1 -1
  530. package/dist/kong-icons270.cjs.map +1 -1
  531. package/dist/kong-icons272.cjs.map +1 -1
  532. package/dist/kong-icons274.cjs.map +1 -1
  533. package/dist/kong-icons276.cjs.map +1 -1
  534. package/dist/kong-icons278.cjs.map +1 -1
  535. package/dist/kong-icons28.cjs.map +1 -1
  536. package/dist/kong-icons280.cjs.map +1 -1
  537. package/dist/kong-icons282.cjs.map +1 -1
  538. package/dist/kong-icons284.cjs.map +1 -1
  539. package/dist/kong-icons286.cjs.map +1 -1
  540. package/dist/kong-icons288.cjs.map +1 -1
  541. package/dist/kong-icons290.cjs.map +1 -1
  542. package/dist/kong-icons292.cjs.map +1 -1
  543. package/dist/kong-icons294.cjs.map +1 -1
  544. package/dist/kong-icons296.cjs.map +1 -1
  545. package/dist/kong-icons298.cjs.map +1 -1
  546. package/dist/kong-icons30.cjs.map +1 -1
  547. package/dist/kong-icons300.cjs.map +1 -1
  548. package/dist/kong-icons302.cjs.map +1 -1
  549. package/dist/kong-icons304.cjs.map +1 -1
  550. package/dist/kong-icons306.cjs.map +1 -1
  551. package/dist/kong-icons308.cjs.map +1 -1
  552. package/dist/kong-icons310.cjs.map +1 -1
  553. package/dist/kong-icons312.cjs.map +1 -1
  554. package/dist/kong-icons314.cjs.map +1 -1
  555. package/dist/kong-icons316.cjs.map +1 -1
  556. package/dist/kong-icons318.cjs.map +1 -1
  557. package/dist/kong-icons32.cjs.map +1 -1
  558. package/dist/kong-icons320.cjs.map +1 -1
  559. package/dist/kong-icons322.cjs.map +1 -1
  560. package/dist/kong-icons324.cjs.map +1 -1
  561. package/dist/kong-icons326.cjs.map +1 -1
  562. package/dist/kong-icons328.cjs.map +1 -1
  563. package/dist/kong-icons330.cjs.map +1 -1
  564. package/dist/kong-icons332.cjs.map +1 -1
  565. package/dist/kong-icons334.cjs.map +1 -1
  566. package/dist/kong-icons336.cjs.map +1 -1
  567. package/dist/kong-icons338.cjs.map +1 -1
  568. package/dist/kong-icons34.cjs.map +1 -1
  569. package/dist/kong-icons340.cjs.map +1 -1
  570. package/dist/kong-icons342.cjs.map +1 -1
  571. package/dist/kong-icons344.cjs.map +1 -1
  572. package/dist/kong-icons346.cjs.map +1 -1
  573. package/dist/kong-icons348.cjs.map +1 -1
  574. package/dist/kong-icons350.cjs.map +1 -1
  575. package/dist/kong-icons352.cjs.map +1 -1
  576. package/dist/kong-icons354.cjs.map +1 -1
  577. package/dist/kong-icons356.cjs.map +1 -1
  578. package/dist/kong-icons358.cjs.map +1 -1
  579. package/dist/kong-icons36.cjs.map +1 -1
  580. package/dist/kong-icons360.cjs.map +1 -1
  581. package/dist/kong-icons362.cjs.map +1 -1
  582. package/dist/kong-icons364.cjs.map +1 -1
  583. package/dist/kong-icons366.cjs.map +1 -1
  584. package/dist/kong-icons368.cjs.map +1 -1
  585. package/dist/kong-icons370.cjs.map +1 -1
  586. package/dist/kong-icons372.cjs.map +1 -1
  587. package/dist/kong-icons374.cjs.map +1 -1
  588. package/dist/kong-icons376.cjs.map +1 -1
  589. package/dist/kong-icons378.cjs.map +1 -1
  590. package/dist/kong-icons38.cjs.map +1 -1
  591. package/dist/kong-icons380.cjs.map +1 -1
  592. package/dist/kong-icons382.cjs.map +1 -1
  593. package/dist/kong-icons384.cjs.map +1 -1
  594. package/dist/kong-icons386.cjs.map +1 -1
  595. package/dist/kong-icons388.cjs.map +1 -1
  596. package/dist/kong-icons390.cjs.map +1 -1
  597. package/dist/kong-icons392.cjs.map +1 -1
  598. package/dist/kong-icons394.cjs.map +1 -1
  599. package/dist/kong-icons396.cjs.map +1 -1
  600. package/dist/kong-icons398.cjs.map +1 -1
  601. package/dist/kong-icons4.cjs.map +1 -1
  602. package/dist/kong-icons40.cjs.map +1 -1
  603. package/dist/kong-icons400.cjs.map +1 -1
  604. package/dist/kong-icons402.cjs.map +1 -1
  605. package/dist/kong-icons404.cjs.map +1 -1
  606. package/dist/kong-icons406.cjs.map +1 -1
  607. package/dist/kong-icons408.cjs.map +1 -1
  608. package/dist/kong-icons410.cjs.map +1 -1
  609. package/dist/kong-icons412.cjs.map +1 -1
  610. package/dist/kong-icons414.cjs.map +1 -1
  611. package/dist/kong-icons416.cjs.map +1 -1
  612. package/dist/kong-icons418.cjs.map +1 -1
  613. package/dist/kong-icons42.cjs.map +1 -1
  614. package/dist/kong-icons420.cjs.map +1 -1
  615. package/dist/kong-icons422.cjs.map +1 -1
  616. package/dist/kong-icons424.cjs.map +1 -1
  617. package/dist/kong-icons426.cjs.map +1 -1
  618. package/dist/kong-icons428.cjs.map +1 -1
  619. package/dist/kong-icons430.cjs.map +1 -1
  620. package/dist/kong-icons432.cjs.map +1 -1
  621. package/dist/kong-icons434.cjs.map +1 -1
  622. package/dist/kong-icons436.cjs.map +1 -1
  623. package/dist/kong-icons438.cjs.map +1 -1
  624. package/dist/kong-icons44.cjs.map +1 -1
  625. package/dist/kong-icons440.cjs.map +1 -1
  626. package/dist/kong-icons442.cjs.map +1 -1
  627. package/dist/kong-icons444.cjs.map +1 -1
  628. package/dist/kong-icons446.cjs.map +1 -1
  629. package/dist/kong-icons448.cjs.map +1 -1
  630. package/dist/kong-icons450.cjs.map +1 -1
  631. package/dist/kong-icons452.cjs.map +1 -1
  632. package/dist/kong-icons454.cjs.map +1 -1
  633. package/dist/kong-icons456.cjs.map +1 -1
  634. package/dist/kong-icons458.cjs.map +1 -1
  635. package/dist/kong-icons46.cjs.map +1 -1
  636. package/dist/kong-icons460.cjs.map +1 -1
  637. package/dist/kong-icons462.cjs.map +1 -1
  638. package/dist/kong-icons464.cjs.map +1 -1
  639. package/dist/kong-icons466.cjs.map +1 -1
  640. package/dist/kong-icons468.cjs.map +1 -1
  641. package/dist/kong-icons470.cjs.map +1 -1
  642. package/dist/kong-icons472.cjs.map +1 -1
  643. package/dist/kong-icons474.cjs.map +1 -1
  644. package/dist/kong-icons476.cjs.map +1 -1
  645. package/dist/kong-icons478.cjs.map +1 -1
  646. package/dist/kong-icons48.cjs.map +1 -1
  647. package/dist/kong-icons480.cjs.map +1 -1
  648. package/dist/kong-icons482.cjs.map +1 -1
  649. package/dist/kong-icons484.cjs.map +1 -1
  650. package/dist/kong-icons486.cjs.map +1 -1
  651. package/dist/kong-icons488.cjs.map +1 -1
  652. package/dist/kong-icons490.cjs.map +1 -1
  653. package/dist/kong-icons492.cjs.map +1 -1
  654. package/dist/kong-icons494.cjs.map +1 -1
  655. package/dist/kong-icons496.cjs.map +1 -1
  656. package/dist/kong-icons498.cjs.map +1 -1
  657. package/dist/kong-icons50.cjs.map +1 -1
  658. package/dist/kong-icons500.cjs.map +1 -1
  659. package/dist/kong-icons502.cjs.map +1 -1
  660. package/dist/kong-icons504.cjs.map +1 -1
  661. package/dist/kong-icons506.cjs.map +1 -1
  662. package/dist/kong-icons508.cjs.map +1 -1
  663. package/dist/kong-icons510.cjs.map +1 -1
  664. package/dist/kong-icons512.cjs.map +1 -1
  665. package/dist/kong-icons514.cjs.map +1 -1
  666. package/dist/kong-icons516.cjs.map +1 -1
  667. package/dist/kong-icons518.cjs.map +1 -1
  668. package/dist/kong-icons52.cjs.map +1 -1
  669. package/dist/kong-icons520.cjs.map +1 -1
  670. package/dist/kong-icons522.cjs.map +1 -1
  671. package/dist/kong-icons524.cjs.map +1 -1
  672. package/dist/kong-icons526.cjs.map +1 -1
  673. package/dist/kong-icons528.cjs.map +1 -1
  674. package/dist/kong-icons530.cjs.map +1 -1
  675. package/dist/kong-icons532.cjs.map +1 -1
  676. package/dist/kong-icons534.cjs.map +1 -1
  677. package/dist/kong-icons536.cjs.map +1 -1
  678. package/dist/kong-icons538.cjs.map +1 -1
  679. package/dist/kong-icons54.cjs.map +1 -1
  680. package/dist/kong-icons540.cjs.map +1 -1
  681. package/dist/kong-icons542.cjs.map +1 -1
  682. package/dist/kong-icons544.cjs.map +1 -1
  683. package/dist/kong-icons546.cjs.map +1 -1
  684. package/dist/kong-icons548.cjs.map +1 -1
  685. package/dist/kong-icons550.cjs.map +1 -1
  686. package/dist/kong-icons552.cjs.map +1 -1
  687. package/dist/kong-icons554.cjs.map +1 -1
  688. package/dist/kong-icons556.cjs.map +1 -1
  689. package/dist/kong-icons558.cjs.map +1 -1
  690. package/dist/kong-icons56.cjs.map +1 -1
  691. package/dist/kong-icons560.cjs.map +1 -1
  692. package/dist/kong-icons562.cjs.map +1 -1
  693. package/dist/kong-icons564.cjs.map +1 -1
  694. package/dist/kong-icons566.cjs.map +1 -1
  695. package/dist/kong-icons568.cjs.map +1 -1
  696. package/dist/kong-icons570.cjs.map +1 -1
  697. package/dist/kong-icons572.cjs.map +1 -1
  698. package/dist/kong-icons574.cjs.map +1 -1
  699. package/dist/kong-icons576.cjs.map +1 -1
  700. package/dist/kong-icons578.cjs.map +1 -1
  701. package/dist/kong-icons58.cjs.map +1 -1
  702. package/dist/kong-icons580.cjs.map +1 -1
  703. package/dist/kong-icons582.cjs.map +1 -1
  704. package/dist/kong-icons584.cjs.map +1 -1
  705. package/dist/kong-icons586.cjs.map +1 -1
  706. package/dist/kong-icons588.cjs.map +1 -1
  707. package/dist/kong-icons590.cjs.map +1 -1
  708. package/dist/kong-icons592.cjs.map +1 -1
  709. package/dist/kong-icons594.cjs.map +1 -1
  710. package/dist/kong-icons596.cjs.map +1 -1
  711. package/dist/kong-icons598.cjs.map +1 -1
  712. package/dist/kong-icons6.cjs.map +1 -1
  713. package/dist/kong-icons60.cjs.map +1 -1
  714. package/dist/kong-icons600.cjs.map +1 -1
  715. package/dist/kong-icons602.cjs.map +1 -1
  716. package/dist/kong-icons604.cjs.map +1 -1
  717. package/dist/kong-icons606.cjs.map +1 -1
  718. package/dist/kong-icons608.cjs.map +1 -1
  719. package/dist/kong-icons610.cjs.map +1 -1
  720. package/dist/kong-icons612.cjs.map +1 -1
  721. package/dist/kong-icons614.cjs.map +1 -1
  722. package/dist/kong-icons616.cjs.map +1 -1
  723. package/dist/kong-icons618.cjs.map +1 -1
  724. package/dist/kong-icons62.cjs.map +1 -1
  725. package/dist/kong-icons620.cjs.map +1 -1
  726. package/dist/kong-icons622.cjs.map +1 -1
  727. package/dist/kong-icons624.cjs.map +1 -1
  728. package/dist/kong-icons626.cjs.map +1 -1
  729. package/dist/kong-icons628.cjs.map +1 -1
  730. package/dist/kong-icons630.cjs.map +1 -1
  731. package/dist/kong-icons632.cjs.map +1 -1
  732. package/dist/kong-icons634.cjs.map +1 -1
  733. package/dist/kong-icons636.cjs.map +1 -1
  734. package/dist/kong-icons638.cjs.map +1 -1
  735. package/dist/kong-icons64.cjs.map +1 -1
  736. package/dist/kong-icons640.cjs.map +1 -1
  737. package/dist/kong-icons642.cjs.map +1 -1
  738. package/dist/kong-icons644.cjs.map +1 -1
  739. package/dist/kong-icons646.cjs.map +1 -1
  740. package/dist/kong-icons648.cjs.map +1 -1
  741. package/dist/kong-icons650.cjs.map +1 -1
  742. package/dist/kong-icons652.cjs.map +1 -1
  743. package/dist/kong-icons654.cjs.map +1 -1
  744. package/dist/kong-icons656.cjs.map +1 -1
  745. package/dist/kong-icons658.cjs.map +1 -1
  746. package/dist/kong-icons66.cjs.map +1 -1
  747. package/dist/kong-icons660.cjs.map +1 -1
  748. package/dist/kong-icons662.cjs.map +1 -1
  749. package/dist/kong-icons664.cjs.map +1 -1
  750. package/dist/kong-icons666.cjs.map +1 -1
  751. package/dist/kong-icons668.cjs.map +1 -1
  752. package/dist/kong-icons670.cjs.map +1 -1
  753. package/dist/kong-icons672.cjs.map +1 -1
  754. package/dist/kong-icons674.cjs.map +1 -1
  755. package/dist/kong-icons676.cjs.map +1 -1
  756. package/dist/kong-icons678.cjs.map +1 -1
  757. package/dist/kong-icons68.cjs.map +1 -1
  758. package/dist/kong-icons680.cjs.map +1 -1
  759. package/dist/kong-icons682.cjs.map +1 -1
  760. package/dist/kong-icons684.cjs.map +1 -1
  761. package/dist/kong-icons686.cjs.map +1 -1
  762. package/dist/kong-icons688.cjs.map +1 -1
  763. package/dist/kong-icons690.cjs.map +1 -1
  764. package/dist/kong-icons692.cjs.map +1 -1
  765. package/dist/kong-icons694.cjs.map +1 -1
  766. package/dist/kong-icons696.cjs.map +1 -1
  767. package/dist/kong-icons698.cjs.map +1 -1
  768. package/dist/kong-icons70.cjs.map +1 -1
  769. package/dist/kong-icons700.cjs.map +1 -1
  770. package/dist/kong-icons702.cjs.map +1 -1
  771. package/dist/kong-icons704.cjs.map +1 -1
  772. package/dist/kong-icons706.cjs.map +1 -1
  773. package/dist/kong-icons708.cjs.map +1 -1
  774. package/dist/kong-icons710.cjs.map +1 -1
  775. package/dist/kong-icons712.cjs.map +1 -1
  776. package/dist/kong-icons714.cjs.map +1 -1
  777. package/dist/kong-icons716.cjs.map +1 -1
  778. package/dist/kong-icons718.cjs.map +1 -1
  779. package/dist/kong-icons72.cjs.map +1 -1
  780. package/dist/kong-icons720.cjs.map +1 -1
  781. package/dist/kong-icons722.cjs.map +1 -1
  782. package/dist/kong-icons724.cjs.map +1 -1
  783. package/dist/kong-icons726.cjs.map +1 -1
  784. package/dist/kong-icons728.cjs.map +1 -1
  785. package/dist/kong-icons730.cjs.map +1 -1
  786. package/dist/kong-icons732.cjs.map +1 -1
  787. package/dist/kong-icons734.cjs.map +1 -1
  788. package/dist/kong-icons736.cjs.map +1 -1
  789. package/dist/kong-icons738.cjs.map +1 -1
  790. package/dist/kong-icons74.cjs.map +1 -1
  791. package/dist/kong-icons740.cjs.map +1 -1
  792. package/dist/kong-icons742.cjs.map +1 -1
  793. package/dist/kong-icons744.cjs.map +1 -1
  794. package/dist/kong-icons746.cjs.map +1 -1
  795. package/dist/kong-icons748.cjs.map +1 -1
  796. package/dist/kong-icons750.cjs.map +1 -1
  797. package/dist/kong-icons752.cjs.map +1 -1
  798. package/dist/kong-icons754.cjs.map +1 -1
  799. package/dist/kong-icons756.cjs.map +1 -1
  800. package/dist/kong-icons758.cjs.map +1 -1
  801. package/dist/kong-icons76.cjs.map +1 -1
  802. package/dist/kong-icons760.cjs.map +1 -1
  803. package/dist/kong-icons762.cjs.map +1 -1
  804. package/dist/kong-icons764.cjs.map +1 -1
  805. package/dist/kong-icons766.cjs.map +1 -1
  806. package/dist/kong-icons768.cjs.map +1 -1
  807. package/dist/kong-icons770.cjs.map +1 -1
  808. package/dist/kong-icons772.cjs.map +1 -1
  809. package/dist/kong-icons774.cjs.map +1 -1
  810. package/dist/kong-icons776.cjs.map +1 -1
  811. package/dist/kong-icons778.cjs.map +1 -1
  812. package/dist/kong-icons78.cjs.map +1 -1
  813. package/dist/kong-icons780.cjs.map +1 -1
  814. package/dist/kong-icons782.cjs.map +1 -1
  815. package/dist/kong-icons784.cjs.map +1 -1
  816. package/dist/kong-icons786.cjs.map +1 -1
  817. package/dist/kong-icons788.cjs.map +1 -1
  818. package/dist/kong-icons790.cjs.map +1 -1
  819. package/dist/kong-icons792.cjs.map +1 -1
  820. package/dist/kong-icons794.cjs.map +1 -1
  821. package/dist/kong-icons796.cjs.map +1 -1
  822. package/dist/kong-icons798.cjs.map +1 -1
  823. package/dist/kong-icons8.cjs.map +1 -1
  824. package/dist/kong-icons80.cjs.map +1 -1
  825. package/dist/kong-icons800.cjs.map +1 -1
  826. package/dist/kong-icons802.cjs.map +1 -1
  827. package/dist/kong-icons804.cjs.map +1 -1
  828. package/dist/kong-icons806.cjs.map +1 -1
  829. package/dist/kong-icons808.cjs.map +1 -1
  830. package/dist/kong-icons810.cjs.map +1 -1
  831. package/dist/kong-icons812.cjs.map +1 -1
  832. package/dist/kong-icons814.cjs.map +1 -1
  833. package/dist/kong-icons816.cjs.map +1 -1
  834. package/dist/kong-icons818.cjs.map +1 -1
  835. package/dist/kong-icons82.cjs.map +1 -1
  836. package/dist/kong-icons820.cjs.map +1 -1
  837. package/dist/kong-icons822.cjs.map +1 -1
  838. package/dist/kong-icons824.cjs.map +1 -1
  839. package/dist/kong-icons826.cjs.map +1 -1
  840. package/dist/kong-icons828.cjs.map +1 -1
  841. package/dist/kong-icons830.cjs.map +1 -1
  842. package/dist/kong-icons832.cjs.map +1 -1
  843. package/dist/kong-icons834.cjs.map +1 -1
  844. package/dist/kong-icons836.cjs.map +1 -1
  845. package/dist/kong-icons838.cjs.map +1 -1
  846. package/dist/kong-icons84.cjs.map +1 -1
  847. package/dist/kong-icons840.cjs.map +1 -1
  848. package/dist/kong-icons842.cjs.map +1 -1
  849. package/dist/kong-icons844.cjs.map +1 -1
  850. package/dist/kong-icons846.cjs.map +1 -1
  851. package/dist/kong-icons848.cjs.map +1 -1
  852. package/dist/kong-icons850.cjs.map +1 -1
  853. package/dist/kong-icons852.cjs.map +1 -1
  854. package/dist/kong-icons854.cjs.map +1 -1
  855. package/dist/kong-icons856.cjs.map +1 -1
  856. package/dist/kong-icons858.cjs.map +1 -1
  857. package/dist/kong-icons86.cjs.map +1 -1
  858. package/dist/kong-icons860.cjs.map +1 -1
  859. package/dist/kong-icons862.cjs.map +1 -1
  860. package/dist/kong-icons864.cjs.map +1 -1
  861. package/dist/kong-icons866.cjs.map +1 -1
  862. package/dist/kong-icons868.cjs.map +1 -1
  863. package/dist/kong-icons88.cjs.map +1 -1
  864. package/dist/kong-icons90.cjs.map +1 -1
  865. package/dist/kong-icons92.cjs.map +1 -1
  866. package/dist/kong-icons94.cjs.map +1 -1
  867. package/dist/kong-icons96.cjs.map +1 -1
  868. package/dist/kong-icons98.cjs.map +1 -1
  869. package/dist/types/components/flags/index.d.ts +1 -1
  870. package/dist/types/components/index.d.ts +1 -1
  871. package/dist/types/components/multi-color/index.d.ts +1 -1
  872. package/dist/types/components/solid/index.d.ts +1 -1
  873. package/package.json +4 -4
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es118.js","sources":["../src/components/flags/FlagEgIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEgIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2320)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 0C6.84043 0 2.44191 3.2565 0.746399 7.82611H23.2537C21.5581 3.2565 17.1596 0 12 0V0Z\" fill=\"#D80027\"/>\n<path d=\"M12 23.9999C17.1596 23.9999 21.5581 20.7434 23.2536 16.1738H0.746399C2.44191 20.7434 6.84043 23.9999 12 23.9999Z\" fill=\"black\"/>\n<path d=\"M16.1739 10.6958H13.0434C13.0434 10.1195 12.5762 9.65234 11.9999 9.65234C11.4236 9.65234 10.9564 10.1195 10.9564 10.6958H7.82599C7.82599 11.2722 8.32797 11.7393 8.90425 11.7393H8.86947C8.86947 12.3156 9.33663 12.7828 9.91296 12.7828C9.91296 13.3591 10.3801 13.8263 10.9564 13.8263H13.0434C13.6197 13.8263 14.0869 13.3591 14.0869 12.7828C14.6632 12.7828 15.1304 12.3156 15.1304 11.7393H15.0956C15.6719 11.7393 16.1739 11.2722 16.1739 10.6958V10.6958Z\" fill=\"#FF9811\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2320\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-eg-icon\"\n data-testid=\"kui-icon-wrapper-flag-eg-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-eg-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAiBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es118.js","sources":["../src/components/flags/FlagEgIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEgIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2320)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 0C6.84043 0 2.44191 3.2565 0.746399 7.82611H23.2537C21.5581 3.2565 17.1596 0 12 0V0Z\" fill=\"#D80027\"/>\n<path d=\"M12 23.9999C17.1596 23.9999 21.5581 20.7434 23.2536 16.1738H0.746399C2.44191 20.7434 6.84043 23.9999 12 23.9999Z\" fill=\"black\"/>\n<path d=\"M16.1739 10.6958H13.0434C13.0434 10.1195 12.5762 9.65234 11.9999 9.65234C11.4236 9.65234 10.9564 10.1195 10.9564 10.6958H7.82599C7.82599 11.2722 8.32797 11.7393 8.90425 11.7393H8.86947C8.86947 12.3156 9.33663 12.7828 9.91296 12.7828C9.91296 13.3591 10.3801 13.8263 10.9564 13.8263H13.0434C13.6197 13.8263 14.0869 13.3591 14.0869 12.7828C14.6632 12.7828 15.1304 12.3156 15.1304 11.7393H15.0956C15.6719 11.7393 16.1739 11.2722 16.1739 10.6958V10.6958Z\" fill=\"#FF9811\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2320\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-eg-icon\"\n data-testid=\"kui-icon-wrapper-flag-eg-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-eg-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAiBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es12.js","sources":["../src/components/flags/FlagAlIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagAlIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2251)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#D80027\"/>\n<path d=\"M18.7826 8.90651H14.4361C14.7044 8.62554 14.8695 8.24515 14.8695 7.82595C14.8695 6.96152 14.1688 6.26074 13.3043 6.26074C12.7598 6.26074 12.2804 6.53899 12 6.96091C11.7196 6.53899 11.2402 6.26074 10.6957 6.26074C9.83123 6.26074 9.13045 6.96152 9.13045 7.82595C9.13045 8.24515 9.29559 8.62559 9.56391 8.90651H5.21742C5.21742 10.0591 6.22134 10.9934 7.37386 10.9934H7.3043C7.3043 12.1461 8.23866 13.0804 9.39131 13.0804C9.39131 13.4538 9.4897 13.8037 9.66145 14.1067L7.93036 15.8379L9.25852 17.1659L11.1425 15.282C11.2163 15.309 11.2927 15.3307 11.3715 15.3455L10.233 17.9159L12 19.8259L13.767 17.9158L12.6285 15.3454C12.7074 15.3306 12.7837 15.309 12.8575 15.2819L14.7415 17.1658L16.0696 15.8377L14.3385 14.1066C14.5103 13.8036 14.6087 13.4536 14.6087 13.0803C15.7613 13.0803 16.6957 12.146 16.6957 10.9933H16.6261C17.7787 10.9934 18.7826 10.0591 18.7826 8.90651V8.90651Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2251\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-al-icon\"\n data-testid=\"kui-icon-wrapper-flag-al-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-al-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAezDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es12.js","sources":["../src/components/flags/FlagAlIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagAlIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2251)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#D80027\"/>\n<path d=\"M18.7826 8.90651H14.4361C14.7044 8.62554 14.8695 8.24515 14.8695 7.82595C14.8695 6.96152 14.1688 6.26074 13.3043 6.26074C12.7598 6.26074 12.2804 6.53899 12 6.96091C11.7196 6.53899 11.2402 6.26074 10.6957 6.26074C9.83123 6.26074 9.13045 6.96152 9.13045 7.82595C9.13045 8.24515 9.29559 8.62559 9.56391 8.90651H5.21742C5.21742 10.0591 6.22134 10.9934 7.37386 10.9934H7.3043C7.3043 12.1461 8.23866 13.0804 9.39131 13.0804C9.39131 13.4538 9.4897 13.8037 9.66145 14.1067L7.93036 15.8379L9.25852 17.1659L11.1425 15.282C11.2163 15.309 11.2927 15.3307 11.3715 15.3455L10.233 17.9159L12 19.8259L13.767 17.9158L12.6285 15.3454C12.7074 15.3306 12.7837 15.309 12.8575 15.2819L14.7415 17.1658L16.0696 15.8377L14.3385 14.1066C14.5103 13.8036 14.6087 13.4536 14.6087 13.0803C15.7613 13.0803 16.6957 12.146 16.6957 10.9933H16.6261C17.7787 10.9934 18.7826 10.0591 18.7826 8.90651V8.90651Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2251\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-al-icon\"\n data-testid=\"kui-icon-wrapper-flag-al-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-al-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAezDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es120.js","sources":["../src/components/flags/FlagErIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagErIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2324)\">\n<path d=\"M10.9565 10.9565C10.9565 10.9565 3.52174 20.487 3.51471 20.4853C5.68624 22.6569 8.68629 24 12 24C18.6274 24 24 18.6274 24 12L10.9565 10.9565Z\" fill=\"#338AF3\"/>\n<path d=\"M10.9565 12C10.9565 12 3.52174 3.51305 3.51471 3.51473C5.68624 1.34316 8.68629 0 12 0C18.6274 0 24 5.37262 24 12H10.9565Z\" fill=\"#6DA544\"/>\n<path d=\"M3.51471 3.51465C-1.17157 8.20093 -1.17157 15.7989 3.51471 20.4853C3.51438 20.4872 24 12 24 12L3.51471 3.51465Z\" fill=\"#D80027\"/>\n<path d=\"M6.26087 7.04346C3.95935 7.04346 2.08698 8.91588 2.08698 11.2173V12.7826C2.08698 15.0841 3.9594 16.9564 6.26087 16.9564C8.56233 16.9564 10.4348 15.084 10.4348 12.7826V11.2173C10.4348 8.91588 8.56238 7.04346 6.26087 7.04346ZM8.86955 12.7826C8.86955 13.9485 8.10071 14.938 7.04344 15.2712V13.5652L8.15082 12.4578L7.04405 11.3511L7.04344 10.9572V10.4348H5.47829V12L4.37166 13.1066L5.47829 14.2131V15.2712C4.42102 14.938 3.65218 13.9485 3.65218 12.7826V11.2174C3.65218 9.77899 4.82246 8.60875 6.26087 8.60875C7.69927 8.60875 8.86955 9.77904 8.86955 11.2174V12.7826Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2324\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-er-icon\"\n data-testid=\"kui-icon-wrapper-flag-er-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-er-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAiBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es120.js","sources":["../src/components/flags/FlagErIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagErIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2324)\">\n<path d=\"M10.9565 10.9565C10.9565 10.9565 3.52174 20.487 3.51471 20.4853C5.68624 22.6569 8.68629 24 12 24C18.6274 24 24 18.6274 24 12L10.9565 10.9565Z\" fill=\"#338AF3\"/>\n<path d=\"M10.9565 12C10.9565 12 3.52174 3.51305 3.51471 3.51473C5.68624 1.34316 8.68629 0 12 0C18.6274 0 24 5.37262 24 12H10.9565Z\" fill=\"#6DA544\"/>\n<path d=\"M3.51471 3.51465C-1.17157 8.20093 -1.17157 15.7989 3.51471 20.4853C3.51438 20.4872 24 12 24 12L3.51471 3.51465Z\" fill=\"#D80027\"/>\n<path d=\"M6.26087 7.04346C3.95935 7.04346 2.08698 8.91588 2.08698 11.2173V12.7826C2.08698 15.0841 3.9594 16.9564 6.26087 16.9564C8.56233 16.9564 10.4348 15.084 10.4348 12.7826V11.2173C10.4348 8.91588 8.56238 7.04346 6.26087 7.04346ZM8.86955 12.7826C8.86955 13.9485 8.10071 14.938 7.04344 15.2712V13.5652L8.15082 12.4578L7.04405 11.3511L7.04344 10.9572V10.4348H5.47829V12L4.37166 13.1066L5.47829 14.2131V15.2712C4.42102 14.938 3.65218 13.9485 3.65218 12.7826V11.2174C3.65218 9.77899 4.82246 8.60875 6.26087 8.60875C7.69927 8.60875 8.86955 9.77904 8.86955 11.2174V12.7826Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2324\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-er-icon\"\n data-testid=\"kui-icon-wrapper-flag-er-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-er-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAiBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es122.js","sources":["../src/components/flags/FlagEsIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEsIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_246_5334)\">\n<path d=\"M0 12C0 13.4679 0.264047 14.8739 0.746391 16.1739L12 17.2174L23.2536 16.1739C23.736 14.8739 24 13.4679 24 12C24 10.5322 23.736 9.12612 23.2536 7.82614L12 6.78265L0.746391 7.82614C0.264047 9.12612 0 10.5322 0 12H0Z\" fill=\"#FFDA44\"/>\n<path d=\"M23.2538 7.82611C21.5583 3.25655 17.1598 0 12.0002 0C6.84061 0 2.4421 3.25655 0.746582 7.82611H23.2538Z\" fill=\"#D80027\"/>\n<path d=\"M0.746582 16.1739C2.4421 20.7435 6.84061 24 12.0002 24C17.1598 24 21.5583 20.7435 23.2538 16.1739H0.746582Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_5334\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-es-icon\"\n data-testid=\"kui-icon-wrapper-flag-es-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-es-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAgBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es122.js","sources":["../src/components/flags/FlagEsIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEsIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_246_5334)\">\n<path d=\"M0 12C0 13.4679 0.264047 14.8739 0.746391 16.1739L12 17.2174L23.2536 16.1739C23.736 14.8739 24 13.4679 24 12C24 10.5322 23.736 9.12612 23.2536 7.82614L12 6.78265L0.746391 7.82614C0.264047 9.12612 0 10.5322 0 12H0Z\" fill=\"#FFDA44\"/>\n<path d=\"M23.2538 7.82611C21.5583 3.25655 17.1598 0 12.0002 0C6.84061 0 2.4421 3.25655 0.746582 7.82611H23.2538Z\" fill=\"#D80027\"/>\n<path d=\"M0.746582 16.1739C2.4421 20.7435 6.84061 24 12.0002 24C17.1598 24 21.5583 20.7435 23.2538 16.1739H0.746582Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_5334\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-es-icon\"\n data-testid=\"kui-icon-wrapper-flag-es-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-es-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAgBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es124.js","sources":["../src/components/flags/FlagEtIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEtIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2327)\">\n<path d=\"M0 12.0001C0 13.468 0.264047 14.8741 0.746437 16.1741L12 17.2175L23.2536 16.1741C23.736 14.8741 24 13.468 24 12.0001C24 10.5524 23.7435 9.16453 23.2737 7.87954L12 6.78271L0.726281 7.87959C0.256453 9.16453 0 10.5524 0 12.0001H0Z\" fill=\"#FFDA44\"/>\n<path d=\"M12 23.9999C17.1596 23.9999 21.5581 20.7434 23.2536 16.1738H0.746391C2.44191 20.7434 6.84042 23.9999 12 23.9999Z\" fill=\"#D80027\"/>\n<path d=\"M12 0C6.84042 0 2.44191 3.2565 0.746391 7.82611H23.2537C21.5581 3.2565 17.1596 0 12 0V0Z\" fill=\"#6DA544\"/>\n<path d=\"M12 17.739C15.1696 17.739 17.7391 15.1695 17.7391 11.9999C17.7391 8.83024 15.1696 6.26074 12 6.26074C8.83036 6.26074 6.26086 8.83024 6.26086 11.9999C6.26086 15.1695 8.83036 17.739 12 17.739Z\" fill=\"#0052B4\"/>\n<path d=\"M11.9988 7.55566L13.0348 10.7442H16.3928L13.6751 12.7149L14.7193 15.9129L11.9988 13.9328L9.28247 15.9092L10.3224 12.7149L7.6072 10.7442H10.9627L11.9988 7.55566Z\" fill=\"#FFDA44\"/>\n<path d=\"M16.1308 12.7934L12.8441 11.7254L14.8754 8.92981L14.0312 8.31641L11.9999 11.1122L9.96876 8.31645L9.12455 8.92977L11.1557 11.7256L7.86919 12.7934L8.19159 13.7859L11.4783 12.718V16.1737H12.5217V12.718L15.8083 13.7859L16.1308 12.7934Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2327\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-et-icon\"\n data-testid=\"kui-icon-wrapper-flag-et-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-et-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAmBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es124.js","sources":["../src/components/flags/FlagEtIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEtIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2327)\">\n<path d=\"M0 12.0001C0 13.468 0.264047 14.8741 0.746437 16.1741L12 17.2175L23.2536 16.1741C23.736 14.8741 24 13.468 24 12.0001C24 10.5524 23.7435 9.16453 23.2737 7.87954L12 6.78271L0.726281 7.87959C0.256453 9.16453 0 10.5524 0 12.0001H0Z\" fill=\"#FFDA44\"/>\n<path d=\"M12 23.9999C17.1596 23.9999 21.5581 20.7434 23.2536 16.1738H0.746391C2.44191 20.7434 6.84042 23.9999 12 23.9999Z\" fill=\"#D80027\"/>\n<path d=\"M12 0C6.84042 0 2.44191 3.2565 0.746391 7.82611H23.2537C21.5581 3.2565 17.1596 0 12 0V0Z\" fill=\"#6DA544\"/>\n<path d=\"M12 17.739C15.1696 17.739 17.7391 15.1695 17.7391 11.9999C17.7391 8.83024 15.1696 6.26074 12 6.26074C8.83036 6.26074 6.26086 8.83024 6.26086 11.9999C6.26086 15.1695 8.83036 17.739 12 17.739Z\" fill=\"#0052B4\"/>\n<path d=\"M11.9988 7.55566L13.0348 10.7442H16.3928L13.6751 12.7149L14.7193 15.9129L11.9988 13.9328L9.28247 15.9092L10.3224 12.7149L7.6072 10.7442H10.9627L11.9988 7.55566Z\" fill=\"#FFDA44\"/>\n<path d=\"M16.1308 12.7934L12.8441 11.7254L14.8754 8.92981L14.0312 8.31641L11.9999 11.1122L9.96876 8.31645L9.12455 8.92977L11.1557 11.7256L7.86919 12.7934L8.19159 13.7859L11.4783 12.718V16.1737H12.5217V12.718L15.8083 13.7859L16.1308 12.7934Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2327\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-et-icon\"\n data-testid=\"kui-icon-wrapper-flag-et-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-et-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAmBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es126.js","sources":["../src/components/flags/FlagEuIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEuIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_246_4298)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#0052B4\"/>\n<path d=\"M12.0003 4.69565L12.3888 5.89138H13.646L12.6289 6.63037L13.0174 7.8261L12.0003 7.08707L10.9831 7.8261L11.3716 6.63037L10.3545 5.89138H11.6117L12.0003 4.69565Z\" fill=\"#FFDA44\"/>\n<path d=\"M6.83523 6.83503L7.95554 7.40578L8.84453 6.51685L8.64779 7.75856L9.76806 8.32936L8.52629 8.52605L8.32961 9.76786L7.75881 8.6476L6.51709 8.84433L7.40607 7.95535L6.83523 6.83503Z\" fill=\"#FFDA44\"/>\n<path d=\"M4.6958 12L5.89153 11.6115V10.3542L6.63047 11.3714L7.82625 10.9829L7.08718 12L7.82625 13.0171L6.63047 12.6286L5.89153 13.6458V12.3885L4.6958 12Z\" fill=\"#FFDA44\"/>\n<path d=\"M6.83523 17.165L7.40603 16.0446L6.51709 15.1557L7.75886 15.3524L8.32956 14.2322L8.52629 15.4739L9.76801 15.6706L8.64789 16.2414L8.84453 17.4831L7.95554 16.5942L6.83523 17.165Z\" fill=\"#FFDA44\"/>\n<path d=\"M12.0003 19.3043L11.6117 18.1086H10.3545L11.3717 17.3696L10.9831 16.174L12.0003 16.9129L13.0174 16.174L12.6289 17.3696L13.646 18.1086H12.3888L12.0003 19.3043Z\" fill=\"#FFDA44\"/>\n<path d=\"M17.1652 17.165L16.0449 16.5942L15.1559 17.4832L15.3526 16.2414L14.2324 15.6706L15.4741 15.4739L15.6708 14.2322L16.2416 15.3524L17.4833 15.1557L16.5943 16.0447L17.1652 17.165Z\" fill=\"#FFDA44\"/>\n<path d=\"M19.3047 12L18.1089 12.3885V13.6458L17.37 12.6286L16.1743 13.0171L16.9133 12L16.1743 10.9829L17.37 11.3714L18.1089 10.3542V11.6115L19.3047 12Z\" fill=\"#FFDA44\"/>\n<path d=\"M17.1652 6.83502L16.5944 7.95533L17.4833 8.84431L16.2415 8.64753L15.6708 9.7678L15.4741 8.52603L14.2324 8.3293L15.3526 7.75855L15.1559 6.51688L16.0449 7.40581L17.1652 6.83502Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_4298\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-eu-icon\"\n data-testid=\"kui-icon-wrapper-flag-eu-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-eu-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAsBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es126.js","sources":["../src/components/flags/FlagEuIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagEuIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_246_4298)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#0052B4\"/>\n<path d=\"M12.0003 4.69565L12.3888 5.89138H13.646L12.6289 6.63037L13.0174 7.8261L12.0003 7.08707L10.9831 7.8261L11.3716 6.63037L10.3545 5.89138H11.6117L12.0003 4.69565Z\" fill=\"#FFDA44\"/>\n<path d=\"M6.83523 6.83503L7.95554 7.40578L8.84453 6.51685L8.64779 7.75856L9.76806 8.32936L8.52629 8.52605L8.32961 9.76786L7.75881 8.6476L6.51709 8.84433L7.40607 7.95535L6.83523 6.83503Z\" fill=\"#FFDA44\"/>\n<path d=\"M4.6958 12L5.89153 11.6115V10.3542L6.63047 11.3714L7.82625 10.9829L7.08718 12L7.82625 13.0171L6.63047 12.6286L5.89153 13.6458V12.3885L4.6958 12Z\" fill=\"#FFDA44\"/>\n<path d=\"M6.83523 17.165L7.40603 16.0446L6.51709 15.1557L7.75886 15.3524L8.32956 14.2322L8.52629 15.4739L9.76801 15.6706L8.64789 16.2414L8.84453 17.4831L7.95554 16.5942L6.83523 17.165Z\" fill=\"#FFDA44\"/>\n<path d=\"M12.0003 19.3043L11.6117 18.1086H10.3545L11.3717 17.3696L10.9831 16.174L12.0003 16.9129L13.0174 16.174L12.6289 17.3696L13.646 18.1086H12.3888L12.0003 19.3043Z\" fill=\"#FFDA44\"/>\n<path d=\"M17.1652 17.165L16.0449 16.5942L15.1559 17.4832L15.3526 16.2414L14.2324 15.6706L15.4741 15.4739L15.6708 14.2322L16.2416 15.3524L17.4833 15.1557L16.5943 16.0447L17.1652 17.165Z\" fill=\"#FFDA44\"/>\n<path d=\"M19.3047 12L18.1089 12.3885V13.6458L17.37 12.6286L16.1743 13.0171L16.9133 12L16.1743 10.9829L17.37 11.3714L18.1089 10.3542V11.6115L19.3047 12Z\" fill=\"#FFDA44\"/>\n<path d=\"M17.1652 6.83502L16.5944 7.95533L17.4833 8.84431L16.2415 8.64753L15.6708 9.7678L15.4741 8.52603L14.2324 8.3293L15.3526 7.75855L15.1559 6.51688L16.0449 7.40581L17.1652 6.83502Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_4298\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-eu-icon\"\n data-testid=\"kui-icon-wrapper-flag-eu-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-eu-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAsBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es128.js","sources":["../src/components/flags/FlagFiIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFiIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2332)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M23.8984 10.4347H9.39136H9.39131V0.285156C8.28234 0.531062 7.23098 0.929641 6.26086 1.459V10.4346V10.4347H0.101578C0.0347813 10.9471 0 11.4694 0 11.9999C0 12.5304 0.0347813 13.0528 0.101578 13.5651H6.26081H6.26086V22.5408C7.23098 23.0701 8.28234 23.4688 9.39131 23.7146V13.5653V13.5652H23.8984C23.9651 13.0528 24 12.5304 24 11.9999C24 11.4694 23.9651 10.9471 23.8984 10.4347V10.4347Z\" fill=\"#0052B4\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2332\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fi-icon\"\n data-testid=\"kui-icon-wrapper-flag-fi-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fi-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAezDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es128.js","sources":["../src/components/flags/FlagFiIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFiIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2332)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M23.8984 10.4347H9.39136H9.39131V0.285156C8.28234 0.531062 7.23098 0.929641 6.26086 1.459V10.4346V10.4347H0.101578C0.0347813 10.9471 0 11.4694 0 11.9999C0 12.5304 0.0347813 13.0528 0.101578 13.5651H6.26081H6.26086V22.5408C7.23098 23.0701 8.28234 23.4688 9.39131 23.7146V13.5653V13.5652H23.8984C23.9651 13.0528 24 12.5304 24 11.9999C24 11.4694 23.9651 10.9471 23.8984 10.4347V10.4347Z\" fill=\"#0052B4\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2332\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fi-icon\"\n data-testid=\"kui-icon-wrapper-flag-fi-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fi-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAezDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es130.js","sources":["../src/components/flags/FlagFjIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFjIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2331)\">\n<path d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12C0 12.0029 12 0.0013125 12 0C18.6274 0 24 5.37262 24 12Z\" fill=\"#338AF3\"/>\n<path d=\"M12 5.73926V9.78659L7.82611 5.73926H12Z\" fill=\"#0052B4\"/>\n<path d=\"M6.26086 12.0003H9.78642L6.26086 7.30469L5.73914 10.9569L6.26086 12.0003Z\" fill=\"#0052B4\"/>\n<path d=\"M11.9679 11.9999H12C12 11.9891 12 11.9786 12 11.9678C11.9893 11.9785 11.9786 11.9892 11.9679 11.9999Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 6.26086C12 4.14938 12 2.76586 12 0H11.998C5.3715 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78642 12H11.968C11.9787 11.9893 11.9894 11.9786 12.0001 11.9679C12.0001 11.1594 12.0001 10.4381 12.0001 9.78647L8.47444 6.26086H12Z\" fill=\"#F0F0F0\"/>\n<path d=\"M6.07101 1.56543C4.19419 2.63413 2.6339 4.19441 1.5652 6.07124V12.0002H4.69565V4.69598V4.69588H12C12 3.70855 12 2.76796 12 1.56543H6.07101Z\" fill=\"#D80027\"/>\n<path d=\"M12 10.5247L7.73657 6.26123H6.2609V6.26132L11.9999 12.0003H12C12 12.0003 12 10.9828 12 10.5247Z\" fill=\"#D80027\"/>\n<path d=\"M13.5652 7.8262V12C13.5652 14.7957 17.2174 15.6523 17.2174 15.6523C17.2174 15.6523 20.8695 14.7957 20.8695 12V7.8262L17.2174 6.78271L13.5652 7.8262Z\" fill=\"#F3F3F3\"/>\n<path d=\"M20.8695 7.82595V6.26074H13.5652V7.82595H16.6956V10.9564H13.5652V11.9998V11.9999L16.6956 12V15.492C17.0105 15.6034 17.2174 15.6521 17.2174 15.6521C17.2174 15.6521 17.4242 15.6035 17.739 15.492V11.9999H20.8695V11.9998V10.9564H17.739V7.8259H20.8695V7.82595Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2331\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fj-icon\"\n data-testid=\"kui-icon-wrapper-flag-fj-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fj-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAsBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es130.js","sources":["../src/components/flags/FlagFjIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFjIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2331)\">\n<path d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12C0 12.0029 12 0.0013125 12 0C18.6274 0 24 5.37262 24 12Z\" fill=\"#338AF3\"/>\n<path d=\"M12 5.73926V9.78659L7.82611 5.73926H12Z\" fill=\"#0052B4\"/>\n<path d=\"M6.26086 12.0003H9.78642L6.26086 7.30469L5.73914 10.9569L6.26086 12.0003Z\" fill=\"#0052B4\"/>\n<path d=\"M11.9679 11.9999H12C12 11.9891 12 11.9786 12 11.9678C11.9893 11.9785 11.9786 11.9892 11.9679 11.9999Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 6.26086C12 4.14938 12 2.76586 12 0H11.998C5.3715 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78642 12H11.968C11.9787 11.9893 11.9894 11.9786 12.0001 11.9679C12.0001 11.1594 12.0001 10.4381 12.0001 9.78647L8.47444 6.26086H12Z\" fill=\"#F0F0F0\"/>\n<path d=\"M6.07101 1.56543C4.19419 2.63413 2.6339 4.19441 1.5652 6.07124V12.0002H4.69565V4.69598V4.69588H12C12 3.70855 12 2.76796 12 1.56543H6.07101Z\" fill=\"#D80027\"/>\n<path d=\"M12 10.5247L7.73657 6.26123H6.2609V6.26132L11.9999 12.0003H12C12 12.0003 12 10.9828 12 10.5247Z\" fill=\"#D80027\"/>\n<path d=\"M13.5652 7.8262V12C13.5652 14.7957 17.2174 15.6523 17.2174 15.6523C17.2174 15.6523 20.8695 14.7957 20.8695 12V7.8262L17.2174 6.78271L13.5652 7.8262Z\" fill=\"#F3F3F3\"/>\n<path d=\"M20.8695 7.82595V6.26074H13.5652V7.82595H16.6956V10.9564H13.5652V11.9998V11.9999L16.6956 12V15.492C17.0105 15.6034 17.2174 15.6521 17.2174 15.6521C17.2174 15.6521 17.4242 15.6035 17.739 15.492V11.9999H20.8695V11.9998V10.9564H17.739V7.8259H20.8695V7.82595Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2331\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fj-icon\"\n data-testid=\"kui-icon-wrapper-flag-fj-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fj-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAsBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es132.js","sources":["../src/components/flags/FlagFkIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFkIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2329)\">\n<path d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12C0 12.0029 12 0.0013125 12 0C18.6274 0 24 5.37262 24 12Z\" fill=\"#0052B4\"/>\n<path d=\"M11.9679 11.9999H12C12 11.9891 12 11.9786 12 11.9678C11.9893 11.9785 11.9786 11.9892 11.9679 11.9999Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 6.26086C12 4.14938 12 2.76586 12 0H11.998C5.3715 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78642 12H11.9679L12 11.9679C12 11.1594 12 10.4381 12 9.78647L8.47444 6.26086H12Z\" fill=\"#F0F0F0\"/>\n<path d=\"M6.07102 1.56543C4.19419 2.63413 2.63391 4.19441 1.5652 6.07124V12.0002H4.69566V4.69598V4.69588H12C12 3.70855 12 2.76796 12 1.56543H6.07102Z\" fill=\"#D80027\"/>\n<path d=\"M12 10.5247L7.73658 6.26123H6.26091V6.26132L11.9999 12.0003H12C12 12.0003 12 10.9828 12 10.5247Z\" fill=\"#D80027\"/>\n<path d=\"M19.3043 14.0869V14.6086H15.1305V14.0869H13.5652V16.1738H14.6087V16.6956H19.8261V16.1738H20.8695V14.0869H19.3043Z\" fill=\"#FFDA44\"/>\n<path d=\"M13.5652 6.26074V11.9999C13.5652 14.7955 17.2174 15.6521 17.2174 15.6521C17.2174 15.6521 20.8695 14.7955 20.8695 11.9999V6.26074H13.5652Z\" fill=\"#338AF3\"/>\n<path d=\"M17.2172 10.5415C16.3042 10.5415 16.3042 11.3763 15.3912 11.3763C14.4782 11.3763 14.4782 10.5415 13.5653 10.5415V12.0024C14.4782 12.0024 14.4782 12.8372 15.3912 12.8372C16.3042 12.8372 16.3042 12.0024 17.2172 12.0024C18.1303 12.0024 18.1303 12.8372 19.0434 12.8372C19.9565 12.8372 19.9565 12.0024 20.8696 12.0024V10.5415C19.9565 10.5415 19.9565 11.3763 19.0434 11.3763C18.1303 11.3763 18.1303 10.5415 17.2172 10.5415V10.5415Z\" fill=\"#F3F3F3\"/>\n<path d=\"M17.2172 7.61719C16.3042 7.61719 16.3042 8.45198 15.3912 8.45198C14.4782 8.45198 14.4782 7.61719 13.5653 7.61719V9.07805C14.4782 9.07805 14.4782 9.91284 15.3912 9.91284C16.3042 9.91284 16.3042 9.07805 17.2172 9.07805C18.1303 9.07805 18.1303 9.91284 19.0434 9.91284C19.9565 9.91284 19.9565 9.07805 20.8696 9.07805V7.61719C19.9565 7.61719 19.9565 8.45198 19.0434 8.45198C18.1303 8.45198 18.1303 7.61719 17.2172 7.61719Z\" fill=\"#F3F3F3\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2329\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fk-icon\"\n data-testid=\"kui-icon-wrapper-flag-fk-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fk-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAsBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es132.js","sources":["../src/components/flags/FlagFkIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFkIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2329)\">\n<path d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12C0 12.0029 12 0.0013125 12 0C18.6274 0 24 5.37262 24 12Z\" fill=\"#0052B4\"/>\n<path d=\"M11.9679 11.9999H12C12 11.9891 12 11.9786 12 11.9678C11.9893 11.9785 11.9786 11.9892 11.9679 11.9999Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 6.26086C12 4.14938 12 2.76586 12 0H11.998C5.3715 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78642 12H11.9679L12 11.9679C12 11.1594 12 10.4381 12 9.78647L8.47444 6.26086H12Z\" fill=\"#F0F0F0\"/>\n<path d=\"M6.07102 1.56543C4.19419 2.63413 2.63391 4.19441 1.5652 6.07124V12.0002H4.69566V4.69598V4.69588H12C12 3.70855 12 2.76796 12 1.56543H6.07102Z\" fill=\"#D80027\"/>\n<path d=\"M12 10.5247L7.73658 6.26123H6.26091V6.26132L11.9999 12.0003H12C12 12.0003 12 10.9828 12 10.5247Z\" fill=\"#D80027\"/>\n<path d=\"M19.3043 14.0869V14.6086H15.1305V14.0869H13.5652V16.1738H14.6087V16.6956H19.8261V16.1738H20.8695V14.0869H19.3043Z\" fill=\"#FFDA44\"/>\n<path d=\"M13.5652 6.26074V11.9999C13.5652 14.7955 17.2174 15.6521 17.2174 15.6521C17.2174 15.6521 20.8695 14.7955 20.8695 11.9999V6.26074H13.5652Z\" fill=\"#338AF3\"/>\n<path d=\"M17.2172 10.5415C16.3042 10.5415 16.3042 11.3763 15.3912 11.3763C14.4782 11.3763 14.4782 10.5415 13.5653 10.5415V12.0024C14.4782 12.0024 14.4782 12.8372 15.3912 12.8372C16.3042 12.8372 16.3042 12.0024 17.2172 12.0024C18.1303 12.0024 18.1303 12.8372 19.0434 12.8372C19.9565 12.8372 19.9565 12.0024 20.8696 12.0024V10.5415C19.9565 10.5415 19.9565 11.3763 19.0434 11.3763C18.1303 11.3763 18.1303 10.5415 17.2172 10.5415V10.5415Z\" fill=\"#F3F3F3\"/>\n<path d=\"M17.2172 7.61719C16.3042 7.61719 16.3042 8.45198 15.3912 8.45198C14.4782 8.45198 14.4782 7.61719 13.5653 7.61719V9.07805C14.4782 9.07805 14.4782 9.91284 15.3912 9.91284C16.3042 9.91284 16.3042 9.07805 17.2172 9.07805C18.1303 9.07805 18.1303 9.91284 19.0434 9.91284C19.9565 9.91284 19.9565 9.07805 20.8696 9.07805V7.61719C19.9565 7.61719 19.9565 8.45198 19.0434 8.45198C18.1303 8.45198 18.1303 7.61719 17.2172 7.61719Z\" fill=\"#F3F3F3\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2329\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fk-icon\"\n data-testid=\"kui-icon-wrapper-flag-fk-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fk-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAsBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es134.js","sources":["../src/components/flags/FlagFmIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFmIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_246_4797)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#338AF3\"/>\n<path d=\"M12 5.21738L12.518 6.81169H14.1944L12.8382 7.79705L13.3562 9.39131L12 8.406L10.6438 9.39131L11.1619 7.79705L9.80566 6.81169H11.4821L12 5.21738Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.21729 12.0001L6.8116 11.482V9.8056L7.79696 11.1619L9.39122 10.6439L8.40591 12.0001L9.39122 13.3562L7.79696 12.8381L6.8116 14.1944V12.518L5.21729 12.0001Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12.0001 18.7826L11.4821 17.1883H9.80566L11.1619 16.203L10.6439 14.6087L12.0001 15.594L13.3563 14.6087L12.8382 16.203L14.1944 17.1883H12.5181L12.0001 18.7826Z\" fill=\"#F0F0F0\"/>\n<path d=\"M18.7823 12L17.188 12.518V14.1944L16.2027 12.8381L14.6084 13.3561L15.5937 12L14.6084 10.6438L16.2027 11.1619L17.188 9.8056V11.482L18.7823 12Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_4797\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fm-icon\"\n data-testid=\"kui-icon-wrapper-flag-fm-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fm-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAkBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es134.js","sources":["../src/components/flags/FlagFmIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFmIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_246_4797)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#338AF3\"/>\n<path d=\"M12 5.21738L12.518 6.81169H14.1944L12.8382 7.79705L13.3562 9.39131L12 8.406L10.6438 9.39131L11.1619 7.79705L9.80566 6.81169H11.4821L12 5.21738Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.21729 12.0001L6.8116 11.482V9.8056L7.79696 11.1619L9.39122 10.6439L8.40591 12.0001L9.39122 13.3562L7.79696 12.8381L6.8116 14.1944V12.518L5.21729 12.0001Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12.0001 18.7826L11.4821 17.1883H9.80566L11.1619 16.203L10.6439 14.6087L12.0001 15.594L13.3563 14.6087L12.8382 16.203L14.1944 17.1883H12.5181L12.0001 18.7826Z\" fill=\"#F0F0F0\"/>\n<path d=\"M18.7823 12L17.188 12.518V14.1944L16.2027 12.8381L14.6084 13.3561L15.5937 12L14.6084 10.6438L16.2027 11.1619L17.188 9.8056V11.482L18.7823 12Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_4797\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fm-icon\"\n data-testid=\"kui-icon-wrapper-flag-fm-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fm-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAkBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"kong-icons.es136.js","sources":["../src/components/flags/FlagFoIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFoIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Wed, 16 Apr 2025 17:21:15 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2330)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M23.4783 12.0002L23.8982 10.435C23.8285 9.90155 23.7239 9.37899 23.5867 8.86984H10.9565V0.0458984C10.424 0.0917422 9.90159 0.172789 9.39131 0.285945L7.30434 1.56545L6.26086 1.46012C5.71172 1.75974 5.18855 2.10099 4.69566 2.4797V8.86979H0.41339C0.276187 9.37895 0.171562 9.90151 0.101812 10.435L0.521718 12.0002L0.101765 13.5654C0.171515 14.0989 0.27614 14.6215 0.413343 15.1306H4.69561V21.5207C5.1885 21.8995 5.71172 22.2407 6.26081 22.5403L7.82602 22.435L9.39122 23.7145C9.90155 23.8276 10.424 23.9086 10.9564 23.9545V15.1307H23.5865C23.7237 14.6215 23.8283 14.099 23.8981 13.5655L23.4783 12.0002Z\" fill=\"#0052B4\"/>\n<path d=\"M23.8984 10.4347H9.39136H9.39131V0.285156C8.28234 0.531062 7.23098 0.929641 6.26086 1.459V10.4347H0.101578C0.034875 10.9471 0 11.4694 0 11.9999C0 12.5304 0.034875 13.0528 0.101578 13.5651H6.26081H6.26086V22.5408C7.23098 23.0701 8.28234 23.4688 9.39131 23.7146V13.5653V13.5652H23.8984C23.9651 13.0528 24 12.5304 24 11.9999C24 11.4694 23.9651 10.9471 23.8984 10.4347V10.4347Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2330\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fo-icon\"\n data-testid=\"kui-icon-wrapper-flag-fo-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fo-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAgBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kong-icons.es136.js","sources":["../src/components/flags/FlagFoIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagFoIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Mon, 21 Apr 2025 17:19:44 GMT\n *\n * GitHub: https://github.com/Kong/icons\n * License: Apache-2.0\n */\n\nimport { computed } from 'vue'\nimport { KUI_ICON_SIZE_50 } from '@kong/design-tokens'\n\nconst props = defineProps({\n /** The accessibility text provided to screen readers */\n title: {\n type: String,\n required: false,\n default: '',\n },\n /** The icon color. Defaults to `currentColor` which inherits text color from the parent element */\n color: {\n type: String,\n required: false,\n default: 'currentColor',\n },\n /** The CSS display property for the icon. Defaults to `block` */\n display: {\n type: String,\n required: false,\n default: 'block',\n },\n /** Whether the icon is just eye-candy or is meaningful to the page (should screen-readers ignore the icon?) */\n decorative: {\n type: Boolean,\n required: false,\n default: false,\n },\n /** The icon size */\n size: {\n type: [Number, String],\n required: false,\n default: KUI_ICON_SIZE_50, // if setting to the imported const fails, just pass a number of 24 as the default.\n validator: (sizeValue: number | string): boolean => {\n if (typeof sizeValue === 'number' && sizeValue > 0) {\n return true\n }\n\n if (typeof sizeValue === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(sizeValue).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return true\n }\n }\n\n return false\n },\n },\n /** The HTML tag to utilize for the icon's wrapper element. Defaults to `span` */\n as: {\n type: String,\n required: false,\n default: 'span',\n },\n /**\n * A boolean to disable prefixing any internal SVG ids with a unique string which is done to resolve the potential for multiple SVG instances on the same page and the SVG utilizing the same ids and references internally (e.g. in the `<defs>` tag).\n * Typically only set to `true` during snapshot testing.\n * Defaults to `false`.\n */\n staticIds: {\n type: Boolean,\n default: false,\n },\n})\n\nconst iconSize = computed((): string => {\n // If props.size is a number, ensure it's greater than zero\n if (typeof props.size === 'number' && props.size > 0) {\n return `${props.size}px`\n }\n\n if (typeof props.size === 'string') {\n // Strip `px` from the string\n const sanitizedSize = String(props.size).replace(/px/gi, '')\n const sizeNumber = Number(sanitizedSize)\n if (sizeNumber && !isNaN(sizeNumber) && Number.isInteger(sizeNumber) && sizeNumber > 0) {\n return `${sizeNumber}px`\n }\n }\n\n // Return the default icon size\n return KUI_ICON_SIZE_50\n})\n\n/**\n * We are adding styles inline to avoid additional stylesheet imports in the host application/component.\n * All of the properties should be mapped to component props for customization.\n */\nconst rootElementStyles = computed((): Record<string, string | undefined> => ({\n boxSizing: 'border-box',\n color: props.color,\n display: props.display,\n flexShrink: '0',\n height: iconSize.value,\n lineHeight: '0',\n width: iconSize.value,\n pointerEvents: props.decorative ? 'none' : undefined,\n}))\n\n/**\n * Prefix all SVG IDs in the given SVG string with a random prefix to ensure uniqueness.\n *\n * This function performs the following steps:\n * 1. Generates a random prefix.\n * 2. Replaces all `id` attributes in the SVG string with the new prefixed IDs.\n * 3. Updates all ID references (e.g., `url(#id)`, `href=\"#id\"`, etc.) to use the new prefixed IDs.\n *\n * @param {string} svgString - The SVG string in which to prefix IDs.\n * @returns {string} - The SVG string with prefixed IDs.\n */\nconst prefixSvgIdsInString = (svgString: string): string => {\n const idMap: Record<string, string> = {}\n const randomPrefix = Math.random().toString(36).substring(2, 12)\n\n // Replace IDs in the SVG string\n const updatedSvgString = svgString.replace(/id=\"([^\"]+)\"/g, (match, originalId) => {\n const newId = `${randomPrefix}-${originalId}`\n idMap[originalId] = newId\n return `id=\"${newId}\"`\n })\n\n // Replace ID references (e.g., url(#id), href=\"#id\", etc.)\n const processedSvgString = updatedSvgString.replace(/#([^\\s^\")]+)/g, (match, originalId) => idMap[originalId] ? `#${idMap[originalId]}` : match)\n\n // Return the processed SVG string\n return processedSvgString\n}\n\nconst htmlEntities: { [key: string]: string } = {\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n '&': '&amp;',\n}\nconst escapeHtml = (str: string) => {\n return str.replace(/[<>\"'&]/g, (match) => htmlEntities[match])\n}\n\n// The `svgOriginalContent` template string will be replaced with the SVG innerHTML in the generate script.\n\nconst svgOriginalContent = `<g clip-path=\"url(#clip0_1_2330)\">\n<path d=\"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M23.4783 12.0002L23.8982 10.435C23.8285 9.90155 23.7239 9.37899 23.5867 8.86984H10.9565V0.0458984C10.424 0.0917422 9.90159 0.172789 9.39131 0.285945L7.30434 1.56545L6.26086 1.46012C5.71172 1.75974 5.18855 2.10099 4.69566 2.4797V8.86979H0.41339C0.276187 9.37895 0.171562 9.90151 0.101812 10.435L0.521718 12.0002L0.101765 13.5654C0.171515 14.0989 0.27614 14.6215 0.413343 15.1306H4.69561V21.5207C5.1885 21.8995 5.71172 22.2407 6.26081 22.5403L7.82602 22.435L9.39122 23.7145C9.90155 23.8276 10.424 23.9086 10.9564 23.9545V15.1307H23.5865C23.7237 14.6215 23.8283 14.099 23.8981 13.5655L23.4783 12.0002Z\" fill=\"#0052B4\"/>\n<path d=\"M23.8984 10.4347H9.39136H9.39131V0.285156C8.28234 0.531062 7.23098 0.929641 6.26086 1.459V10.4347H0.101578C0.034875 10.9471 0 11.4694 0 11.9999C0 12.5304 0.034875 13.0528 0.101578 13.5651H6.26081H6.26086V22.5408C7.23098 23.0701 8.28234 23.4688 9.39131 23.7146V13.5653V13.5652H23.8984C23.9651 13.0528 24 12.5304 24 11.9999C24 11.4694 23.9651 10.9471 23.8984 10.4347V10.4347Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2330\">\n<rect width=\"24\" height=\"24\" fill=\"white\"/>\n</clipPath>\n</defs>`\nconst svgTitleContent = props.title ? `<title data-testid=\"kui-icon-svg-title\">${escapeHtml(props.title)}</title>` : ''\nconst svgProcessedContent = `${svgTitleContent}${!props.staticIds ? prefixSvgIdsInString(svgOriginalContent) : svgOriginalContent}`\n</script>\n\n<template>\n <component\n :is=\"as\"\n :aria-hidden=\"decorative ? 'true' : undefined\"\n class=\"kui-icon flag-fo-icon\"\n data-testid=\"kui-icon-wrapper-flag-fo-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-flag-fo-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAgBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}