@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.
- package/dist/kong-icons.es10.js.map +1 -1
- package/dist/kong-icons.es100.js.map +1 -1
- package/dist/kong-icons.es102.js.map +1 -1
- package/dist/kong-icons.es104.js.map +1 -1
- package/dist/kong-icons.es106.js.map +1 -1
- package/dist/kong-icons.es108.js.map +1 -1
- package/dist/kong-icons.es110.js.map +1 -1
- package/dist/kong-icons.es112.js.map +1 -1
- package/dist/kong-icons.es114.js.map +1 -1
- package/dist/kong-icons.es116.js.map +1 -1
- package/dist/kong-icons.es118.js.map +1 -1
- package/dist/kong-icons.es12.js.map +1 -1
- package/dist/kong-icons.es120.js.map +1 -1
- package/dist/kong-icons.es122.js.map +1 -1
- package/dist/kong-icons.es124.js.map +1 -1
- package/dist/kong-icons.es126.js.map +1 -1
- package/dist/kong-icons.es128.js.map +1 -1
- package/dist/kong-icons.es130.js.map +1 -1
- package/dist/kong-icons.es132.js.map +1 -1
- package/dist/kong-icons.es134.js.map +1 -1
- package/dist/kong-icons.es136.js.map +1 -1
- package/dist/kong-icons.es138.js.map +1 -1
- package/dist/kong-icons.es14.js.map +1 -1
- package/dist/kong-icons.es140.js.map +1 -1
- package/dist/kong-icons.es142.js.map +1 -1
- package/dist/kong-icons.es144.js.map +1 -1
- package/dist/kong-icons.es146.js.map +1 -1
- package/dist/kong-icons.es148.js.map +1 -1
- package/dist/kong-icons.es150.js.map +1 -1
- package/dist/kong-icons.es152.js.map +1 -1
- package/dist/kong-icons.es154.js.map +1 -1
- package/dist/kong-icons.es156.js.map +1 -1
- package/dist/kong-icons.es158.js.map +1 -1
- package/dist/kong-icons.es16.js.map +1 -1
- package/dist/kong-icons.es160.js.map +1 -1
- package/dist/kong-icons.es162.js.map +1 -1
- package/dist/kong-icons.es164.js.map +1 -1
- package/dist/kong-icons.es166.js.map +1 -1
- package/dist/kong-icons.es168.js.map +1 -1
- package/dist/kong-icons.es170.js.map +1 -1
- package/dist/kong-icons.es172.js.map +1 -1
- package/dist/kong-icons.es174.js.map +1 -1
- package/dist/kong-icons.es176.js.map +1 -1
- package/dist/kong-icons.es178.js.map +1 -1
- package/dist/kong-icons.es18.js.map +1 -1
- package/dist/kong-icons.es180.js.map +1 -1
- package/dist/kong-icons.es182.js.map +1 -1
- package/dist/kong-icons.es184.js.map +1 -1
- package/dist/kong-icons.es186.js.map +1 -1
- package/dist/kong-icons.es188.js.map +1 -1
- package/dist/kong-icons.es190.js.map +1 -1
- package/dist/kong-icons.es192.js.map +1 -1
- package/dist/kong-icons.es194.js.map +1 -1
- package/dist/kong-icons.es196.js.map +1 -1
- package/dist/kong-icons.es198.js.map +1 -1
- package/dist/kong-icons.es2.js.map +1 -1
- package/dist/kong-icons.es20.js.map +1 -1
- package/dist/kong-icons.es200.js.map +1 -1
- package/dist/kong-icons.es202.js.map +1 -1
- package/dist/kong-icons.es204.js.map +1 -1
- package/dist/kong-icons.es206.js.map +1 -1
- package/dist/kong-icons.es208.js.map +1 -1
- package/dist/kong-icons.es210.js.map +1 -1
- package/dist/kong-icons.es212.js.map +1 -1
- package/dist/kong-icons.es214.js.map +1 -1
- package/dist/kong-icons.es216.js.map +1 -1
- package/dist/kong-icons.es218.js.map +1 -1
- package/dist/kong-icons.es22.js.map +1 -1
- package/dist/kong-icons.es220.js.map +1 -1
- package/dist/kong-icons.es222.js.map +1 -1
- package/dist/kong-icons.es224.js.map +1 -1
- package/dist/kong-icons.es226.js.map +1 -1
- package/dist/kong-icons.es228.js.map +1 -1
- package/dist/kong-icons.es230.js.map +1 -1
- package/dist/kong-icons.es232.js.map +1 -1
- package/dist/kong-icons.es234.js.map +1 -1
- package/dist/kong-icons.es236.js.map +1 -1
- package/dist/kong-icons.es238.js.map +1 -1
- package/dist/kong-icons.es24.js.map +1 -1
- package/dist/kong-icons.es240.js.map +1 -1
- package/dist/kong-icons.es242.js.map +1 -1
- package/dist/kong-icons.es244.js.map +1 -1
- package/dist/kong-icons.es246.js.map +1 -1
- package/dist/kong-icons.es248.js.map +1 -1
- package/dist/kong-icons.es250.js.map +1 -1
- package/dist/kong-icons.es252.js.map +1 -1
- package/dist/kong-icons.es254.js.map +1 -1
- package/dist/kong-icons.es256.js.map +1 -1
- package/dist/kong-icons.es258.js.map +1 -1
- package/dist/kong-icons.es26.js.map +1 -1
- package/dist/kong-icons.es260.js.map +1 -1
- package/dist/kong-icons.es262.js.map +1 -1
- package/dist/kong-icons.es264.js.map +1 -1
- package/dist/kong-icons.es266.js.map +1 -1
- package/dist/kong-icons.es268.js.map +1 -1
- package/dist/kong-icons.es270.js.map +1 -1
- package/dist/kong-icons.es272.js.map +1 -1
- package/dist/kong-icons.es274.js.map +1 -1
- package/dist/kong-icons.es276.js.map +1 -1
- package/dist/kong-icons.es278.js.map +1 -1
- package/dist/kong-icons.es28.js.map +1 -1
- package/dist/kong-icons.es280.js.map +1 -1
- package/dist/kong-icons.es282.js.map +1 -1
- package/dist/kong-icons.es284.js.map +1 -1
- package/dist/kong-icons.es286.js.map +1 -1
- package/dist/kong-icons.es288.js.map +1 -1
- package/dist/kong-icons.es290.js.map +1 -1
- package/dist/kong-icons.es292.js.map +1 -1
- package/dist/kong-icons.es294.js.map +1 -1
- package/dist/kong-icons.es296.js.map +1 -1
- package/dist/kong-icons.es298.js.map +1 -1
- package/dist/kong-icons.es30.js.map +1 -1
- package/dist/kong-icons.es300.js.map +1 -1
- package/dist/kong-icons.es302.js.map +1 -1
- package/dist/kong-icons.es304.js.map +1 -1
- package/dist/kong-icons.es306.js.map +1 -1
- package/dist/kong-icons.es308.js.map +1 -1
- package/dist/kong-icons.es310.js.map +1 -1
- package/dist/kong-icons.es312.js.map +1 -1
- package/dist/kong-icons.es314.js.map +1 -1
- package/dist/kong-icons.es316.js.map +1 -1
- package/dist/kong-icons.es318.js.map +1 -1
- package/dist/kong-icons.es32.js.map +1 -1
- package/dist/kong-icons.es320.js.map +1 -1
- package/dist/kong-icons.es322.js.map +1 -1
- package/dist/kong-icons.es324.js.map +1 -1
- package/dist/kong-icons.es326.js.map +1 -1
- package/dist/kong-icons.es328.js.map +1 -1
- package/dist/kong-icons.es330.js.map +1 -1
- package/dist/kong-icons.es332.js.map +1 -1
- package/dist/kong-icons.es334.js.map +1 -1
- package/dist/kong-icons.es336.js.map +1 -1
- package/dist/kong-icons.es338.js.map +1 -1
- package/dist/kong-icons.es34.js.map +1 -1
- package/dist/kong-icons.es340.js.map +1 -1
- package/dist/kong-icons.es342.js.map +1 -1
- package/dist/kong-icons.es344.js.map +1 -1
- package/dist/kong-icons.es346.js.map +1 -1
- package/dist/kong-icons.es348.js.map +1 -1
- package/dist/kong-icons.es350.js.map +1 -1
- package/dist/kong-icons.es352.js.map +1 -1
- package/dist/kong-icons.es354.js.map +1 -1
- package/dist/kong-icons.es356.js.map +1 -1
- package/dist/kong-icons.es358.js.map +1 -1
- package/dist/kong-icons.es36.js.map +1 -1
- package/dist/kong-icons.es360.js.map +1 -1
- package/dist/kong-icons.es362.js.map +1 -1
- package/dist/kong-icons.es364.js.map +1 -1
- package/dist/kong-icons.es366.js.map +1 -1
- package/dist/kong-icons.es368.js.map +1 -1
- package/dist/kong-icons.es370.js.map +1 -1
- package/dist/kong-icons.es372.js.map +1 -1
- package/dist/kong-icons.es374.js.map +1 -1
- package/dist/kong-icons.es376.js.map +1 -1
- package/dist/kong-icons.es378.js.map +1 -1
- package/dist/kong-icons.es38.js.map +1 -1
- package/dist/kong-icons.es380.js.map +1 -1
- package/dist/kong-icons.es382.js.map +1 -1
- package/dist/kong-icons.es384.js.map +1 -1
- package/dist/kong-icons.es386.js.map +1 -1
- package/dist/kong-icons.es388.js.map +1 -1
- package/dist/kong-icons.es390.js.map +1 -1
- package/dist/kong-icons.es392.js.map +1 -1
- package/dist/kong-icons.es394.js.map +1 -1
- package/dist/kong-icons.es396.js.map +1 -1
- package/dist/kong-icons.es398.js.map +1 -1
- package/dist/kong-icons.es4.js.map +1 -1
- package/dist/kong-icons.es40.js.map +1 -1
- package/dist/kong-icons.es400.js.map +1 -1
- package/dist/kong-icons.es402.js.map +1 -1
- package/dist/kong-icons.es404.js.map +1 -1
- package/dist/kong-icons.es406.js.map +1 -1
- package/dist/kong-icons.es408.js.map +1 -1
- package/dist/kong-icons.es410.js.map +1 -1
- package/dist/kong-icons.es412.js.map +1 -1
- package/dist/kong-icons.es414.js.map +1 -1
- package/dist/kong-icons.es416.js.map +1 -1
- package/dist/kong-icons.es418.js.map +1 -1
- package/dist/kong-icons.es42.js.map +1 -1
- package/dist/kong-icons.es420.js.map +1 -1
- package/dist/kong-icons.es422.js.map +1 -1
- package/dist/kong-icons.es424.js.map +1 -1
- package/dist/kong-icons.es426.js.map +1 -1
- package/dist/kong-icons.es428.js.map +1 -1
- package/dist/kong-icons.es430.js.map +1 -1
- package/dist/kong-icons.es432.js.map +1 -1
- package/dist/kong-icons.es434.js.map +1 -1
- package/dist/kong-icons.es436.js.map +1 -1
- package/dist/kong-icons.es438.js.map +1 -1
- package/dist/kong-icons.es44.js.map +1 -1
- package/dist/kong-icons.es440.js.map +1 -1
- package/dist/kong-icons.es442.js.map +1 -1
- package/dist/kong-icons.es444.js.map +1 -1
- package/dist/kong-icons.es446.js.map +1 -1
- package/dist/kong-icons.es448.js.map +1 -1
- package/dist/kong-icons.es450.js.map +1 -1
- package/dist/kong-icons.es452.js.map +1 -1
- package/dist/kong-icons.es454.js.map +1 -1
- package/dist/kong-icons.es456.js.map +1 -1
- package/dist/kong-icons.es458.js.map +1 -1
- package/dist/kong-icons.es46.js.map +1 -1
- package/dist/kong-icons.es460.js.map +1 -1
- package/dist/kong-icons.es462.js.map +1 -1
- package/dist/kong-icons.es464.js.map +1 -1
- package/dist/kong-icons.es466.js.map +1 -1
- package/dist/kong-icons.es468.js.map +1 -1
- package/dist/kong-icons.es470.js.map +1 -1
- package/dist/kong-icons.es472.js.map +1 -1
- package/dist/kong-icons.es474.js.map +1 -1
- package/dist/kong-icons.es476.js.map +1 -1
- package/dist/kong-icons.es478.js.map +1 -1
- package/dist/kong-icons.es48.js.map +1 -1
- package/dist/kong-icons.es480.js.map +1 -1
- package/dist/kong-icons.es482.js.map +1 -1
- package/dist/kong-icons.es484.js.map +1 -1
- package/dist/kong-icons.es486.js.map +1 -1
- package/dist/kong-icons.es488.js.map +1 -1
- package/dist/kong-icons.es490.js.map +1 -1
- package/dist/kong-icons.es492.js.map +1 -1
- package/dist/kong-icons.es494.js.map +1 -1
- package/dist/kong-icons.es496.js.map +1 -1
- package/dist/kong-icons.es498.js.map +1 -1
- package/dist/kong-icons.es50.js.map +1 -1
- package/dist/kong-icons.es500.js.map +1 -1
- package/dist/kong-icons.es502.js.map +1 -1
- package/dist/kong-icons.es504.js.map +1 -1
- package/dist/kong-icons.es506.js.map +1 -1
- package/dist/kong-icons.es508.js.map +1 -1
- package/dist/kong-icons.es510.js.map +1 -1
- package/dist/kong-icons.es512.js.map +1 -1
- package/dist/kong-icons.es514.js.map +1 -1
- package/dist/kong-icons.es516.js.map +1 -1
- package/dist/kong-icons.es518.js.map +1 -1
- package/dist/kong-icons.es52.js.map +1 -1
- package/dist/kong-icons.es520.js.map +1 -1
- package/dist/kong-icons.es522.js.map +1 -1
- package/dist/kong-icons.es524.js.map +1 -1
- package/dist/kong-icons.es526.js.map +1 -1
- package/dist/kong-icons.es528.js.map +1 -1
- package/dist/kong-icons.es530.js.map +1 -1
- package/dist/kong-icons.es532.js.map +1 -1
- package/dist/kong-icons.es534.js.map +1 -1
- package/dist/kong-icons.es536.js.map +1 -1
- package/dist/kong-icons.es538.js.map +1 -1
- package/dist/kong-icons.es54.js.map +1 -1
- package/dist/kong-icons.es540.js.map +1 -1
- package/dist/kong-icons.es542.js.map +1 -1
- package/dist/kong-icons.es544.js.map +1 -1
- package/dist/kong-icons.es546.js.map +1 -1
- package/dist/kong-icons.es548.js.map +1 -1
- package/dist/kong-icons.es550.js.map +1 -1
- package/dist/kong-icons.es552.js.map +1 -1
- package/dist/kong-icons.es554.js.map +1 -1
- package/dist/kong-icons.es556.js.map +1 -1
- package/dist/kong-icons.es558.js.map +1 -1
- package/dist/kong-icons.es56.js.map +1 -1
- package/dist/kong-icons.es560.js.map +1 -1
- package/dist/kong-icons.es562.js.map +1 -1
- package/dist/kong-icons.es564.js.map +1 -1
- package/dist/kong-icons.es566.js.map +1 -1
- package/dist/kong-icons.es568.js.map +1 -1
- package/dist/kong-icons.es570.js.map +1 -1
- package/dist/kong-icons.es572.js.map +1 -1
- package/dist/kong-icons.es574.js.map +1 -1
- package/dist/kong-icons.es576.js.map +1 -1
- package/dist/kong-icons.es578.js.map +1 -1
- package/dist/kong-icons.es58.js.map +1 -1
- package/dist/kong-icons.es580.js.map +1 -1
- package/dist/kong-icons.es582.js.map +1 -1
- package/dist/kong-icons.es584.js.map +1 -1
- package/dist/kong-icons.es586.js.map +1 -1
- package/dist/kong-icons.es588.js.map +1 -1
- package/dist/kong-icons.es590.js.map +1 -1
- package/dist/kong-icons.es592.js.map +1 -1
- package/dist/kong-icons.es594.js.map +1 -1
- package/dist/kong-icons.es596.js.map +1 -1
- package/dist/kong-icons.es598.js.map +1 -1
- package/dist/kong-icons.es6.js.map +1 -1
- package/dist/kong-icons.es60.js.map +1 -1
- package/dist/kong-icons.es600.js.map +1 -1
- package/dist/kong-icons.es602.js.map +1 -1
- package/dist/kong-icons.es604.js.map +1 -1
- package/dist/kong-icons.es606.js.map +1 -1
- package/dist/kong-icons.es608.js.map +1 -1
- package/dist/kong-icons.es610.js.map +1 -1
- package/dist/kong-icons.es612.js.map +1 -1
- package/dist/kong-icons.es614.js.map +1 -1
- package/dist/kong-icons.es616.js.map +1 -1
- package/dist/kong-icons.es618.js.map +1 -1
- package/dist/kong-icons.es62.js.map +1 -1
- package/dist/kong-icons.es620.js.map +1 -1
- package/dist/kong-icons.es622.js.map +1 -1
- package/dist/kong-icons.es624.js.map +1 -1
- package/dist/kong-icons.es626.js.map +1 -1
- package/dist/kong-icons.es628.js.map +1 -1
- package/dist/kong-icons.es630.js.map +1 -1
- package/dist/kong-icons.es632.js.map +1 -1
- package/dist/kong-icons.es634.js.map +1 -1
- package/dist/kong-icons.es636.js.map +1 -1
- package/dist/kong-icons.es638.js.map +1 -1
- package/dist/kong-icons.es64.js.map +1 -1
- package/dist/kong-icons.es640.js.map +1 -1
- package/dist/kong-icons.es642.js.map +1 -1
- package/dist/kong-icons.es644.js.map +1 -1
- package/dist/kong-icons.es646.js.map +1 -1
- package/dist/kong-icons.es648.js.map +1 -1
- package/dist/kong-icons.es650.js.map +1 -1
- package/dist/kong-icons.es652.js.map +1 -1
- package/dist/kong-icons.es654.js.map +1 -1
- package/dist/kong-icons.es656.js.map +1 -1
- package/dist/kong-icons.es658.js.map +1 -1
- package/dist/kong-icons.es66.js.map +1 -1
- package/dist/kong-icons.es660.js.map +1 -1
- package/dist/kong-icons.es662.js.map +1 -1
- package/dist/kong-icons.es664.js.map +1 -1
- package/dist/kong-icons.es666.js.map +1 -1
- package/dist/kong-icons.es668.js.map +1 -1
- package/dist/kong-icons.es670.js.map +1 -1
- package/dist/kong-icons.es672.js.map +1 -1
- package/dist/kong-icons.es674.js.map +1 -1
- package/dist/kong-icons.es676.js.map +1 -1
- package/dist/kong-icons.es678.js.map +1 -1
- package/dist/kong-icons.es68.js.map +1 -1
- package/dist/kong-icons.es680.js.map +1 -1
- package/dist/kong-icons.es682.js.map +1 -1
- package/dist/kong-icons.es684.js.map +1 -1
- package/dist/kong-icons.es686.js.map +1 -1
- package/dist/kong-icons.es688.js.map +1 -1
- package/dist/kong-icons.es690.js.map +1 -1
- package/dist/kong-icons.es692.js.map +1 -1
- package/dist/kong-icons.es694.js.map +1 -1
- package/dist/kong-icons.es696.js.map +1 -1
- package/dist/kong-icons.es698.js.map +1 -1
- package/dist/kong-icons.es70.js.map +1 -1
- package/dist/kong-icons.es700.js.map +1 -1
- package/dist/kong-icons.es702.js.map +1 -1
- package/dist/kong-icons.es704.js.map +1 -1
- package/dist/kong-icons.es706.js.map +1 -1
- package/dist/kong-icons.es708.js.map +1 -1
- package/dist/kong-icons.es710.js.map +1 -1
- package/dist/kong-icons.es712.js.map +1 -1
- package/dist/kong-icons.es714.js.map +1 -1
- package/dist/kong-icons.es716.js.map +1 -1
- package/dist/kong-icons.es718.js.map +1 -1
- package/dist/kong-icons.es72.js.map +1 -1
- package/dist/kong-icons.es720.js.map +1 -1
- package/dist/kong-icons.es722.js.map +1 -1
- package/dist/kong-icons.es724.js.map +1 -1
- package/dist/kong-icons.es726.js.map +1 -1
- package/dist/kong-icons.es728.js.map +1 -1
- package/dist/kong-icons.es730.js.map +1 -1
- package/dist/kong-icons.es732.js.map +1 -1
- package/dist/kong-icons.es734.js.map +1 -1
- package/dist/kong-icons.es736.js.map +1 -1
- package/dist/kong-icons.es738.js.map +1 -1
- package/dist/kong-icons.es74.js.map +1 -1
- package/dist/kong-icons.es740.js.map +1 -1
- package/dist/kong-icons.es742.js.map +1 -1
- package/dist/kong-icons.es744.js.map +1 -1
- package/dist/kong-icons.es746.js.map +1 -1
- package/dist/kong-icons.es748.js.map +1 -1
- package/dist/kong-icons.es750.js.map +1 -1
- package/dist/kong-icons.es752.js.map +1 -1
- package/dist/kong-icons.es754.js.map +1 -1
- package/dist/kong-icons.es756.js.map +1 -1
- package/dist/kong-icons.es758.js.map +1 -1
- package/dist/kong-icons.es76.js.map +1 -1
- package/dist/kong-icons.es760.js.map +1 -1
- package/dist/kong-icons.es762.js.map +1 -1
- package/dist/kong-icons.es764.js.map +1 -1
- package/dist/kong-icons.es766.js.map +1 -1
- package/dist/kong-icons.es768.js.map +1 -1
- package/dist/kong-icons.es770.js.map +1 -1
- package/dist/kong-icons.es772.js.map +1 -1
- package/dist/kong-icons.es774.js.map +1 -1
- package/dist/kong-icons.es776.js.map +1 -1
- package/dist/kong-icons.es778.js.map +1 -1
- package/dist/kong-icons.es78.js.map +1 -1
- package/dist/kong-icons.es780.js.map +1 -1
- package/dist/kong-icons.es782.js.map +1 -1
- package/dist/kong-icons.es784.js.map +1 -1
- package/dist/kong-icons.es786.js.map +1 -1
- package/dist/kong-icons.es788.js.map +1 -1
- package/dist/kong-icons.es790.js.map +1 -1
- package/dist/kong-icons.es792.js.map +1 -1
- package/dist/kong-icons.es794.js.map +1 -1
- package/dist/kong-icons.es796.js.map +1 -1
- package/dist/kong-icons.es798.js.map +1 -1
- package/dist/kong-icons.es8.js.map +1 -1
- package/dist/kong-icons.es80.js.map +1 -1
- package/dist/kong-icons.es800.js.map +1 -1
- package/dist/kong-icons.es802.js.map +1 -1
- package/dist/kong-icons.es804.js.map +1 -1
- package/dist/kong-icons.es806.js.map +1 -1
- package/dist/kong-icons.es808.js.map +1 -1
- package/dist/kong-icons.es810.js.map +1 -1
- package/dist/kong-icons.es812.js.map +1 -1
- package/dist/kong-icons.es814.js.map +1 -1
- package/dist/kong-icons.es816.js.map +1 -1
- package/dist/kong-icons.es818.js.map +1 -1
- package/dist/kong-icons.es82.js.map +1 -1
- package/dist/kong-icons.es820.js.map +1 -1
- package/dist/kong-icons.es822.js.map +1 -1
- package/dist/kong-icons.es824.js.map +1 -1
- package/dist/kong-icons.es826.js.map +1 -1
- package/dist/kong-icons.es828.js.map +1 -1
- package/dist/kong-icons.es830.js.map +1 -1
- package/dist/kong-icons.es832.js.map +1 -1
- package/dist/kong-icons.es834.js.map +1 -1
- package/dist/kong-icons.es836.js.map +1 -1
- package/dist/kong-icons.es838.js.map +1 -1
- package/dist/kong-icons.es84.js.map +1 -1
- package/dist/kong-icons.es840.js.map +1 -1
- package/dist/kong-icons.es842.js.map +1 -1
- package/dist/kong-icons.es844.js.map +1 -1
- package/dist/kong-icons.es846.js.map +1 -1
- package/dist/kong-icons.es848.js.map +1 -1
- package/dist/kong-icons.es850.js.map +1 -1
- package/dist/kong-icons.es852.js.map +1 -1
- package/dist/kong-icons.es854.js.map +1 -1
- package/dist/kong-icons.es856.js.map +1 -1
- package/dist/kong-icons.es858.js.map +1 -1
- package/dist/kong-icons.es86.js.map +1 -1
- package/dist/kong-icons.es860.js.map +1 -1
- package/dist/kong-icons.es862.js.map +1 -1
- package/dist/kong-icons.es864.js.map +1 -1
- package/dist/kong-icons.es866.js.map +1 -1
- package/dist/kong-icons.es868.js.map +1 -1
- package/dist/kong-icons.es88.js.map +1 -1
- package/dist/kong-icons.es90.js.map +1 -1
- package/dist/kong-icons.es92.js.map +1 -1
- package/dist/kong-icons.es94.js.map +1 -1
- package/dist/kong-icons.es96.js.map +1 -1
- package/dist/kong-icons.es98.js.map +1 -1
- package/dist/kong-icons10.cjs.map +1 -1
- package/dist/kong-icons100.cjs.map +1 -1
- package/dist/kong-icons102.cjs.map +1 -1
- package/dist/kong-icons104.cjs.map +1 -1
- package/dist/kong-icons106.cjs.map +1 -1
- package/dist/kong-icons108.cjs.map +1 -1
- package/dist/kong-icons110.cjs.map +1 -1
- package/dist/kong-icons112.cjs.map +1 -1
- package/dist/kong-icons114.cjs.map +1 -1
- package/dist/kong-icons116.cjs.map +1 -1
- package/dist/kong-icons118.cjs.map +1 -1
- package/dist/kong-icons12.cjs.map +1 -1
- package/dist/kong-icons120.cjs.map +1 -1
- package/dist/kong-icons122.cjs.map +1 -1
- package/dist/kong-icons124.cjs.map +1 -1
- package/dist/kong-icons126.cjs.map +1 -1
- package/dist/kong-icons128.cjs.map +1 -1
- package/dist/kong-icons130.cjs.map +1 -1
- package/dist/kong-icons132.cjs.map +1 -1
- package/dist/kong-icons134.cjs.map +1 -1
- package/dist/kong-icons136.cjs.map +1 -1
- package/dist/kong-icons138.cjs.map +1 -1
- package/dist/kong-icons14.cjs.map +1 -1
- package/dist/kong-icons140.cjs.map +1 -1
- package/dist/kong-icons142.cjs.map +1 -1
- package/dist/kong-icons144.cjs.map +1 -1
- package/dist/kong-icons146.cjs.map +1 -1
- package/dist/kong-icons148.cjs.map +1 -1
- package/dist/kong-icons150.cjs.map +1 -1
- package/dist/kong-icons152.cjs.map +1 -1
- package/dist/kong-icons154.cjs.map +1 -1
- package/dist/kong-icons156.cjs.map +1 -1
- package/dist/kong-icons158.cjs.map +1 -1
- package/dist/kong-icons16.cjs.map +1 -1
- package/dist/kong-icons160.cjs.map +1 -1
- package/dist/kong-icons162.cjs.map +1 -1
- package/dist/kong-icons164.cjs.map +1 -1
- package/dist/kong-icons166.cjs.map +1 -1
- package/dist/kong-icons168.cjs.map +1 -1
- package/dist/kong-icons170.cjs.map +1 -1
- package/dist/kong-icons172.cjs.map +1 -1
- package/dist/kong-icons174.cjs.map +1 -1
- package/dist/kong-icons176.cjs.map +1 -1
- package/dist/kong-icons178.cjs.map +1 -1
- package/dist/kong-icons18.cjs.map +1 -1
- package/dist/kong-icons180.cjs.map +1 -1
- package/dist/kong-icons182.cjs.map +1 -1
- package/dist/kong-icons184.cjs.map +1 -1
- package/dist/kong-icons186.cjs.map +1 -1
- package/dist/kong-icons188.cjs.map +1 -1
- package/dist/kong-icons190.cjs.map +1 -1
- package/dist/kong-icons192.cjs.map +1 -1
- package/dist/kong-icons194.cjs.map +1 -1
- package/dist/kong-icons196.cjs.map +1 -1
- package/dist/kong-icons198.cjs.map +1 -1
- package/dist/kong-icons2.cjs.map +1 -1
- package/dist/kong-icons20.cjs.map +1 -1
- package/dist/kong-icons200.cjs.map +1 -1
- package/dist/kong-icons202.cjs.map +1 -1
- package/dist/kong-icons204.cjs.map +1 -1
- package/dist/kong-icons206.cjs.map +1 -1
- package/dist/kong-icons208.cjs.map +1 -1
- package/dist/kong-icons210.cjs.map +1 -1
- package/dist/kong-icons212.cjs.map +1 -1
- package/dist/kong-icons214.cjs.map +1 -1
- package/dist/kong-icons216.cjs.map +1 -1
- package/dist/kong-icons218.cjs.map +1 -1
- package/dist/kong-icons22.cjs.map +1 -1
- package/dist/kong-icons220.cjs.map +1 -1
- package/dist/kong-icons222.cjs.map +1 -1
- package/dist/kong-icons224.cjs.map +1 -1
- package/dist/kong-icons226.cjs.map +1 -1
- package/dist/kong-icons228.cjs.map +1 -1
- package/dist/kong-icons230.cjs.map +1 -1
- package/dist/kong-icons232.cjs.map +1 -1
- package/dist/kong-icons234.cjs.map +1 -1
- package/dist/kong-icons236.cjs.map +1 -1
- package/dist/kong-icons238.cjs.map +1 -1
- package/dist/kong-icons24.cjs.map +1 -1
- package/dist/kong-icons240.cjs.map +1 -1
- package/dist/kong-icons242.cjs.map +1 -1
- package/dist/kong-icons244.cjs.map +1 -1
- package/dist/kong-icons246.cjs.map +1 -1
- package/dist/kong-icons248.cjs.map +1 -1
- package/dist/kong-icons250.cjs.map +1 -1
- package/dist/kong-icons252.cjs.map +1 -1
- package/dist/kong-icons254.cjs.map +1 -1
- package/dist/kong-icons256.cjs.map +1 -1
- package/dist/kong-icons258.cjs.map +1 -1
- package/dist/kong-icons26.cjs.map +1 -1
- package/dist/kong-icons260.cjs.map +1 -1
- package/dist/kong-icons262.cjs.map +1 -1
- package/dist/kong-icons264.cjs.map +1 -1
- package/dist/kong-icons266.cjs.map +1 -1
- package/dist/kong-icons268.cjs.map +1 -1
- package/dist/kong-icons270.cjs.map +1 -1
- package/dist/kong-icons272.cjs.map +1 -1
- package/dist/kong-icons274.cjs.map +1 -1
- package/dist/kong-icons276.cjs.map +1 -1
- package/dist/kong-icons278.cjs.map +1 -1
- package/dist/kong-icons28.cjs.map +1 -1
- package/dist/kong-icons280.cjs.map +1 -1
- package/dist/kong-icons282.cjs.map +1 -1
- package/dist/kong-icons284.cjs.map +1 -1
- package/dist/kong-icons286.cjs.map +1 -1
- package/dist/kong-icons288.cjs.map +1 -1
- package/dist/kong-icons290.cjs.map +1 -1
- package/dist/kong-icons292.cjs.map +1 -1
- package/dist/kong-icons294.cjs.map +1 -1
- package/dist/kong-icons296.cjs.map +1 -1
- package/dist/kong-icons298.cjs.map +1 -1
- package/dist/kong-icons30.cjs.map +1 -1
- package/dist/kong-icons300.cjs.map +1 -1
- package/dist/kong-icons302.cjs.map +1 -1
- package/dist/kong-icons304.cjs.map +1 -1
- package/dist/kong-icons306.cjs.map +1 -1
- package/dist/kong-icons308.cjs.map +1 -1
- package/dist/kong-icons310.cjs.map +1 -1
- package/dist/kong-icons312.cjs.map +1 -1
- package/dist/kong-icons314.cjs.map +1 -1
- package/dist/kong-icons316.cjs.map +1 -1
- package/dist/kong-icons318.cjs.map +1 -1
- package/dist/kong-icons32.cjs.map +1 -1
- package/dist/kong-icons320.cjs.map +1 -1
- package/dist/kong-icons322.cjs.map +1 -1
- package/dist/kong-icons324.cjs.map +1 -1
- package/dist/kong-icons326.cjs.map +1 -1
- package/dist/kong-icons328.cjs.map +1 -1
- package/dist/kong-icons330.cjs.map +1 -1
- package/dist/kong-icons332.cjs.map +1 -1
- package/dist/kong-icons334.cjs.map +1 -1
- package/dist/kong-icons336.cjs.map +1 -1
- package/dist/kong-icons338.cjs.map +1 -1
- package/dist/kong-icons34.cjs.map +1 -1
- package/dist/kong-icons340.cjs.map +1 -1
- package/dist/kong-icons342.cjs.map +1 -1
- package/dist/kong-icons344.cjs.map +1 -1
- package/dist/kong-icons346.cjs.map +1 -1
- package/dist/kong-icons348.cjs.map +1 -1
- package/dist/kong-icons350.cjs.map +1 -1
- package/dist/kong-icons352.cjs.map +1 -1
- package/dist/kong-icons354.cjs.map +1 -1
- package/dist/kong-icons356.cjs.map +1 -1
- package/dist/kong-icons358.cjs.map +1 -1
- package/dist/kong-icons36.cjs.map +1 -1
- package/dist/kong-icons360.cjs.map +1 -1
- package/dist/kong-icons362.cjs.map +1 -1
- package/dist/kong-icons364.cjs.map +1 -1
- package/dist/kong-icons366.cjs.map +1 -1
- package/dist/kong-icons368.cjs.map +1 -1
- package/dist/kong-icons370.cjs.map +1 -1
- package/dist/kong-icons372.cjs.map +1 -1
- package/dist/kong-icons374.cjs.map +1 -1
- package/dist/kong-icons376.cjs.map +1 -1
- package/dist/kong-icons378.cjs.map +1 -1
- package/dist/kong-icons38.cjs.map +1 -1
- package/dist/kong-icons380.cjs.map +1 -1
- package/dist/kong-icons382.cjs.map +1 -1
- package/dist/kong-icons384.cjs.map +1 -1
- package/dist/kong-icons386.cjs.map +1 -1
- package/dist/kong-icons388.cjs.map +1 -1
- package/dist/kong-icons390.cjs.map +1 -1
- package/dist/kong-icons392.cjs.map +1 -1
- package/dist/kong-icons394.cjs.map +1 -1
- package/dist/kong-icons396.cjs.map +1 -1
- package/dist/kong-icons398.cjs.map +1 -1
- package/dist/kong-icons4.cjs.map +1 -1
- package/dist/kong-icons40.cjs.map +1 -1
- package/dist/kong-icons400.cjs.map +1 -1
- package/dist/kong-icons402.cjs.map +1 -1
- package/dist/kong-icons404.cjs.map +1 -1
- package/dist/kong-icons406.cjs.map +1 -1
- package/dist/kong-icons408.cjs.map +1 -1
- package/dist/kong-icons410.cjs.map +1 -1
- package/dist/kong-icons412.cjs.map +1 -1
- package/dist/kong-icons414.cjs.map +1 -1
- package/dist/kong-icons416.cjs.map +1 -1
- package/dist/kong-icons418.cjs.map +1 -1
- package/dist/kong-icons42.cjs.map +1 -1
- package/dist/kong-icons420.cjs.map +1 -1
- package/dist/kong-icons422.cjs.map +1 -1
- package/dist/kong-icons424.cjs.map +1 -1
- package/dist/kong-icons426.cjs.map +1 -1
- package/dist/kong-icons428.cjs.map +1 -1
- package/dist/kong-icons430.cjs.map +1 -1
- package/dist/kong-icons432.cjs.map +1 -1
- package/dist/kong-icons434.cjs.map +1 -1
- package/dist/kong-icons436.cjs.map +1 -1
- package/dist/kong-icons438.cjs.map +1 -1
- package/dist/kong-icons44.cjs.map +1 -1
- package/dist/kong-icons440.cjs.map +1 -1
- package/dist/kong-icons442.cjs.map +1 -1
- package/dist/kong-icons444.cjs.map +1 -1
- package/dist/kong-icons446.cjs.map +1 -1
- package/dist/kong-icons448.cjs.map +1 -1
- package/dist/kong-icons450.cjs.map +1 -1
- package/dist/kong-icons452.cjs.map +1 -1
- package/dist/kong-icons454.cjs.map +1 -1
- package/dist/kong-icons456.cjs.map +1 -1
- package/dist/kong-icons458.cjs.map +1 -1
- package/dist/kong-icons46.cjs.map +1 -1
- package/dist/kong-icons460.cjs.map +1 -1
- package/dist/kong-icons462.cjs.map +1 -1
- package/dist/kong-icons464.cjs.map +1 -1
- package/dist/kong-icons466.cjs.map +1 -1
- package/dist/kong-icons468.cjs.map +1 -1
- package/dist/kong-icons470.cjs.map +1 -1
- package/dist/kong-icons472.cjs.map +1 -1
- package/dist/kong-icons474.cjs.map +1 -1
- package/dist/kong-icons476.cjs.map +1 -1
- package/dist/kong-icons478.cjs.map +1 -1
- package/dist/kong-icons48.cjs.map +1 -1
- package/dist/kong-icons480.cjs.map +1 -1
- package/dist/kong-icons482.cjs.map +1 -1
- package/dist/kong-icons484.cjs.map +1 -1
- package/dist/kong-icons486.cjs.map +1 -1
- package/dist/kong-icons488.cjs.map +1 -1
- package/dist/kong-icons490.cjs.map +1 -1
- package/dist/kong-icons492.cjs.map +1 -1
- package/dist/kong-icons494.cjs.map +1 -1
- package/dist/kong-icons496.cjs.map +1 -1
- package/dist/kong-icons498.cjs.map +1 -1
- package/dist/kong-icons50.cjs.map +1 -1
- package/dist/kong-icons500.cjs.map +1 -1
- package/dist/kong-icons502.cjs.map +1 -1
- package/dist/kong-icons504.cjs.map +1 -1
- package/dist/kong-icons506.cjs.map +1 -1
- package/dist/kong-icons508.cjs.map +1 -1
- package/dist/kong-icons510.cjs.map +1 -1
- package/dist/kong-icons512.cjs.map +1 -1
- package/dist/kong-icons514.cjs.map +1 -1
- package/dist/kong-icons516.cjs.map +1 -1
- package/dist/kong-icons518.cjs.map +1 -1
- package/dist/kong-icons52.cjs.map +1 -1
- package/dist/kong-icons520.cjs.map +1 -1
- package/dist/kong-icons522.cjs.map +1 -1
- package/dist/kong-icons524.cjs.map +1 -1
- package/dist/kong-icons526.cjs.map +1 -1
- package/dist/kong-icons528.cjs.map +1 -1
- package/dist/kong-icons530.cjs.map +1 -1
- package/dist/kong-icons532.cjs.map +1 -1
- package/dist/kong-icons534.cjs.map +1 -1
- package/dist/kong-icons536.cjs.map +1 -1
- package/dist/kong-icons538.cjs.map +1 -1
- package/dist/kong-icons54.cjs.map +1 -1
- package/dist/kong-icons540.cjs.map +1 -1
- package/dist/kong-icons542.cjs.map +1 -1
- package/dist/kong-icons544.cjs.map +1 -1
- package/dist/kong-icons546.cjs.map +1 -1
- package/dist/kong-icons548.cjs.map +1 -1
- package/dist/kong-icons550.cjs.map +1 -1
- package/dist/kong-icons552.cjs.map +1 -1
- package/dist/kong-icons554.cjs.map +1 -1
- package/dist/kong-icons556.cjs.map +1 -1
- package/dist/kong-icons558.cjs.map +1 -1
- package/dist/kong-icons56.cjs.map +1 -1
- package/dist/kong-icons560.cjs.map +1 -1
- package/dist/kong-icons562.cjs.map +1 -1
- package/dist/kong-icons564.cjs.map +1 -1
- package/dist/kong-icons566.cjs.map +1 -1
- package/dist/kong-icons568.cjs.map +1 -1
- package/dist/kong-icons570.cjs.map +1 -1
- package/dist/kong-icons572.cjs.map +1 -1
- package/dist/kong-icons574.cjs.map +1 -1
- package/dist/kong-icons576.cjs.map +1 -1
- package/dist/kong-icons578.cjs.map +1 -1
- package/dist/kong-icons58.cjs.map +1 -1
- package/dist/kong-icons580.cjs.map +1 -1
- package/dist/kong-icons582.cjs.map +1 -1
- package/dist/kong-icons584.cjs.map +1 -1
- package/dist/kong-icons586.cjs.map +1 -1
- package/dist/kong-icons588.cjs.map +1 -1
- package/dist/kong-icons590.cjs.map +1 -1
- package/dist/kong-icons592.cjs.map +1 -1
- package/dist/kong-icons594.cjs.map +1 -1
- package/dist/kong-icons596.cjs.map +1 -1
- package/dist/kong-icons598.cjs.map +1 -1
- package/dist/kong-icons6.cjs.map +1 -1
- package/dist/kong-icons60.cjs.map +1 -1
- package/dist/kong-icons600.cjs.map +1 -1
- package/dist/kong-icons602.cjs.map +1 -1
- package/dist/kong-icons604.cjs.map +1 -1
- package/dist/kong-icons606.cjs.map +1 -1
- package/dist/kong-icons608.cjs.map +1 -1
- package/dist/kong-icons610.cjs.map +1 -1
- package/dist/kong-icons612.cjs.map +1 -1
- package/dist/kong-icons614.cjs.map +1 -1
- package/dist/kong-icons616.cjs.map +1 -1
- package/dist/kong-icons618.cjs.map +1 -1
- package/dist/kong-icons62.cjs.map +1 -1
- package/dist/kong-icons620.cjs.map +1 -1
- package/dist/kong-icons622.cjs.map +1 -1
- package/dist/kong-icons624.cjs.map +1 -1
- package/dist/kong-icons626.cjs.map +1 -1
- package/dist/kong-icons628.cjs.map +1 -1
- package/dist/kong-icons630.cjs.map +1 -1
- package/dist/kong-icons632.cjs.map +1 -1
- package/dist/kong-icons634.cjs.map +1 -1
- package/dist/kong-icons636.cjs.map +1 -1
- package/dist/kong-icons638.cjs.map +1 -1
- package/dist/kong-icons64.cjs.map +1 -1
- package/dist/kong-icons640.cjs.map +1 -1
- package/dist/kong-icons642.cjs.map +1 -1
- package/dist/kong-icons644.cjs.map +1 -1
- package/dist/kong-icons646.cjs.map +1 -1
- package/dist/kong-icons648.cjs.map +1 -1
- package/dist/kong-icons650.cjs.map +1 -1
- package/dist/kong-icons652.cjs.map +1 -1
- package/dist/kong-icons654.cjs.map +1 -1
- package/dist/kong-icons656.cjs.map +1 -1
- package/dist/kong-icons658.cjs.map +1 -1
- package/dist/kong-icons66.cjs.map +1 -1
- package/dist/kong-icons660.cjs.map +1 -1
- package/dist/kong-icons662.cjs.map +1 -1
- package/dist/kong-icons664.cjs.map +1 -1
- package/dist/kong-icons666.cjs.map +1 -1
- package/dist/kong-icons668.cjs.map +1 -1
- package/dist/kong-icons670.cjs.map +1 -1
- package/dist/kong-icons672.cjs.map +1 -1
- package/dist/kong-icons674.cjs.map +1 -1
- package/dist/kong-icons676.cjs.map +1 -1
- package/dist/kong-icons678.cjs.map +1 -1
- package/dist/kong-icons68.cjs.map +1 -1
- package/dist/kong-icons680.cjs.map +1 -1
- package/dist/kong-icons682.cjs.map +1 -1
- package/dist/kong-icons684.cjs.map +1 -1
- package/dist/kong-icons686.cjs.map +1 -1
- package/dist/kong-icons688.cjs.map +1 -1
- package/dist/kong-icons690.cjs.map +1 -1
- package/dist/kong-icons692.cjs.map +1 -1
- package/dist/kong-icons694.cjs.map +1 -1
- package/dist/kong-icons696.cjs.map +1 -1
- package/dist/kong-icons698.cjs.map +1 -1
- package/dist/kong-icons70.cjs.map +1 -1
- package/dist/kong-icons700.cjs.map +1 -1
- package/dist/kong-icons702.cjs.map +1 -1
- package/dist/kong-icons704.cjs.map +1 -1
- package/dist/kong-icons706.cjs.map +1 -1
- package/dist/kong-icons708.cjs.map +1 -1
- package/dist/kong-icons710.cjs.map +1 -1
- package/dist/kong-icons712.cjs.map +1 -1
- package/dist/kong-icons714.cjs.map +1 -1
- package/dist/kong-icons716.cjs.map +1 -1
- package/dist/kong-icons718.cjs.map +1 -1
- package/dist/kong-icons72.cjs.map +1 -1
- package/dist/kong-icons720.cjs.map +1 -1
- package/dist/kong-icons722.cjs.map +1 -1
- package/dist/kong-icons724.cjs.map +1 -1
- package/dist/kong-icons726.cjs.map +1 -1
- package/dist/kong-icons728.cjs.map +1 -1
- package/dist/kong-icons730.cjs.map +1 -1
- package/dist/kong-icons732.cjs.map +1 -1
- package/dist/kong-icons734.cjs.map +1 -1
- package/dist/kong-icons736.cjs.map +1 -1
- package/dist/kong-icons738.cjs.map +1 -1
- package/dist/kong-icons74.cjs.map +1 -1
- package/dist/kong-icons740.cjs.map +1 -1
- package/dist/kong-icons742.cjs.map +1 -1
- package/dist/kong-icons744.cjs.map +1 -1
- package/dist/kong-icons746.cjs.map +1 -1
- package/dist/kong-icons748.cjs.map +1 -1
- package/dist/kong-icons750.cjs.map +1 -1
- package/dist/kong-icons752.cjs.map +1 -1
- package/dist/kong-icons754.cjs.map +1 -1
- package/dist/kong-icons756.cjs.map +1 -1
- package/dist/kong-icons758.cjs.map +1 -1
- package/dist/kong-icons76.cjs.map +1 -1
- package/dist/kong-icons760.cjs.map +1 -1
- package/dist/kong-icons762.cjs.map +1 -1
- package/dist/kong-icons764.cjs.map +1 -1
- package/dist/kong-icons766.cjs.map +1 -1
- package/dist/kong-icons768.cjs.map +1 -1
- package/dist/kong-icons770.cjs.map +1 -1
- package/dist/kong-icons772.cjs.map +1 -1
- package/dist/kong-icons774.cjs.map +1 -1
- package/dist/kong-icons776.cjs.map +1 -1
- package/dist/kong-icons778.cjs.map +1 -1
- package/dist/kong-icons78.cjs.map +1 -1
- package/dist/kong-icons780.cjs.map +1 -1
- package/dist/kong-icons782.cjs.map +1 -1
- package/dist/kong-icons784.cjs.map +1 -1
- package/dist/kong-icons786.cjs.map +1 -1
- package/dist/kong-icons788.cjs.map +1 -1
- package/dist/kong-icons790.cjs.map +1 -1
- package/dist/kong-icons792.cjs.map +1 -1
- package/dist/kong-icons794.cjs.map +1 -1
- package/dist/kong-icons796.cjs.map +1 -1
- package/dist/kong-icons798.cjs.map +1 -1
- package/dist/kong-icons8.cjs.map +1 -1
- package/dist/kong-icons80.cjs.map +1 -1
- package/dist/kong-icons800.cjs.map +1 -1
- package/dist/kong-icons802.cjs.map +1 -1
- package/dist/kong-icons804.cjs.map +1 -1
- package/dist/kong-icons806.cjs.map +1 -1
- package/dist/kong-icons808.cjs.map +1 -1
- package/dist/kong-icons810.cjs.map +1 -1
- package/dist/kong-icons812.cjs.map +1 -1
- package/dist/kong-icons814.cjs.map +1 -1
- package/dist/kong-icons816.cjs.map +1 -1
- package/dist/kong-icons818.cjs.map +1 -1
- package/dist/kong-icons82.cjs.map +1 -1
- package/dist/kong-icons820.cjs.map +1 -1
- package/dist/kong-icons822.cjs.map +1 -1
- package/dist/kong-icons824.cjs.map +1 -1
- package/dist/kong-icons826.cjs.map +1 -1
- package/dist/kong-icons828.cjs.map +1 -1
- package/dist/kong-icons830.cjs.map +1 -1
- package/dist/kong-icons832.cjs.map +1 -1
- package/dist/kong-icons834.cjs.map +1 -1
- package/dist/kong-icons836.cjs.map +1 -1
- package/dist/kong-icons838.cjs.map +1 -1
- package/dist/kong-icons84.cjs.map +1 -1
- package/dist/kong-icons840.cjs.map +1 -1
- package/dist/kong-icons842.cjs.map +1 -1
- package/dist/kong-icons844.cjs.map +1 -1
- package/dist/kong-icons846.cjs.map +1 -1
- package/dist/kong-icons848.cjs.map +1 -1
- package/dist/kong-icons850.cjs.map +1 -1
- package/dist/kong-icons852.cjs.map +1 -1
- package/dist/kong-icons854.cjs.map +1 -1
- package/dist/kong-icons856.cjs.map +1 -1
- package/dist/kong-icons858.cjs.map +1 -1
- package/dist/kong-icons86.cjs.map +1 -1
- package/dist/kong-icons860.cjs.map +1 -1
- package/dist/kong-icons862.cjs.map +1 -1
- package/dist/kong-icons864.cjs.map +1 -1
- package/dist/kong-icons866.cjs.map +1 -1
- package/dist/kong-icons868.cjs.map +1 -1
- package/dist/kong-icons88.cjs.map +1 -1
- package/dist/kong-icons90.cjs.map +1 -1
- package/dist/kong-icons92.cjs.map +1 -1
- package/dist/kong-icons94.cjs.map +1 -1
- package/dist/kong-icons96.cjs.map +1 -1
- package/dist/kong-icons98.cjs.map +1 -1
- package/dist/types/components/flags/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/multi-color/index.d.ts +1 -1
- package/dist/types/components/solid/index.d.ts +1 -1
- package/package.json +4 -4
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"kong-icons.es212.js","sources":["../src/components/flags/FlagKgIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKgIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on
|
1
|
+
{"version":3,"file":"kong-icons.es212.js","sources":["../src/components/flags/FlagKgIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKgIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2376)\">\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=\"M17.8686 12.0001L15.4707 13.128L16.7477 15.4505L14.1436 14.9523L13.8138 17.5827L12 15.6482L10.1863 17.5827L9.85633 14.9523L7.25252 15.4504L8.52939 13.1279L6.13141 12.0001L8.52939 10.8722L7.25252 8.54968L9.85624 9.04796L10.1864 6.41748L12 8.35206L13.8139 6.41748L14.1436 9.04796L16.7478 8.54968L15.4708 10.8724L17.8686 12.0001Z\" fill=\"#FFDA44\"/>\n<path d=\"M12 15.652C14.017 15.652 15.6522 14.0169 15.6522 11.9998C15.6522 9.98279 14.017 8.34766 12 8.34766C9.98297 8.34766 8.34784 9.98279 8.34784 11.9998C8.34784 14.0169 9.98297 15.652 12 15.652Z\" fill=\"#D80027\"/>\n<path d=\"M10.1739 12C10.0859 12 9.99906 12.0045 9.91333 12.013C9.91647 12.5189 10.0995 12.9818 10.4017 13.3415C10.563 12.9076 10.8037 12.5119 11.1073 12.1733C10.8174 12.0618 10.5028 12 10.1739 12Z\" fill=\"#FFDA44\"/>\n<path d=\"M11.298 13.9656C11.5174 14.044 11.7536 14.0869 12 14.0869C12.2464 14.0869 12.4826 14.044 12.7019 13.9656C12.5824 13.4963 12.3355 13.0773 12 12.748C11.6645 13.0772 11.4176 13.4963 11.298 13.9656Z\" fill=\"#FFDA44\"/>\n<path d=\"M13.8073 10.9569C13.4464 10.3332 12.7725 9.91309 12 9.91309C11.2275 9.91309 10.5536 10.3331 10.1927 10.9569C10.8506 10.9602 11.4675 11.1391 12 11.448C12.5326 11.1391 13.1493 10.9602 13.8073 10.9569Z\" fill=\"#FFDA44\"/>\n<path d=\"M12.8926 12.1733C13.1962 12.5119 13.437 12.9075 13.5982 13.3415C13.9005 12.9818 14.0835 12.5189 14.0866 12.013C14.0009 12.0045 13.914 12 13.8261 12C13.4973 12 13.1827 12.0617 12.8926 12.1733V12.1733Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2376\">\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-kg-icon\"\n data-testid=\"kui-icon-wrapper-flag-kg-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-kg-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAoBzDM,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.es214.js","sources":["../src/components/flags/FlagKhIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKhIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on
|
1
|
+
{"version":3,"file":"kong-icons.es214.js","sources":["../src/components/flags/FlagKhIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKhIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2290)\">\n<path d=\"M0 11.9999C0 14.0788 0.528891 16.0342 1.45908 17.739L12 18.7825L22.5409 17.739C23.4711 16.0342 24 14.0788 24 11.9999C24 9.921 23.4711 7.96566 22.5409 6.26077L12 5.21729L1.45908 6.26077C0.528891 7.96566 0 9.921 0 11.9999H0Z\" fill=\"#D80027\"/>\n<path d=\"M1.45911 6.26086H22.5409C20.5057 2.53073 16.5485 0 12 0C7.45151 0 3.49437 2.53073 1.45911 6.26086V6.26086Z\" fill=\"#0052B4\"/>\n<path d=\"M12 24.0001C16.5485 24.0001 20.5057 21.4694 22.5409 17.7393H1.45911C3.49437 21.4694 7.45151 24.0001 12 24.0001Z\" fill=\"#0052B4\"/>\n<path d=\"M16.1739 14.3481V12.7829H15.1305V10.6959L14.087 9.6524L13.0435 10.6959V8.60891L12 7.56543L10.9565 8.60891V10.6959L9.91306 9.6524L8.86958 10.6959V12.7829H7.82614V14.3481H6.78265V15.9133H17.2174V14.3481H16.1739Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2290\">\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-kh-icon\"\n data-testid=\"kui-icon-wrapper-flag-kh-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-kh-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.es216.js","sources":["../src/components/flags/FlagKiIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKiIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2373)\">\n<path d=\"M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12\" fill=\"#D80027\"/>\n<path d=\"M16.1739 11.16L14.4683 11.9622L15.3766 13.614L13.5246 13.2597L13.29 15.1305L12 13.7545L10.71 15.1305L10.4754 13.2597L8.62341 13.6139L9.53161 11.9622L7.82611 11.16L9.53161 10.3577L8.62341 8.70605L10.4753 9.06023L10.71 7.18945L12 8.56537L13.29 7.18945L13.5246 9.06023L15.3766 8.70605L14.4685 10.3578L16.1739 11.16Z\" fill=\"#FFDA44\"/>\n<path d=\"M15.1305 3.913H12.7826C12.7826 3.48086 12.4322 3.13037 12 3.13037C11.5678 3.13037 11.2174 3.48081 11.2174 3.913H8.86957C8.86957 4.34518 9.24607 4.69562 9.67826 4.69562H9.65215C9.65215 5.12781 10.0025 5.47825 10.4348 5.47825C10.4348 5.91043 10.7851 6.26087 11.2174 6.26087H12.7826C13.2147 6.26087 13.5652 5.91048 13.5652 5.47825C13.9974 5.47825 14.3478 5.12786 14.3478 4.69562H14.3217C14.754 4.69562 15.1305 4.34523 15.1305 3.913V3.913Z\" fill=\"#FFDA44\"/>\n<path d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12H24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 24C15.751 24 19.0995 22.2785 21.3001 19.583C20.9043 19.3132 20.6906 18.877 19.9998 18.877C18.9998 18.877 18.9998 19.7913 17.9999 19.7913C17 19.7913 16.9999 18.877 16 18.877C15 18.877 15 19.7913 14 19.7913C12.9999 19.7913 12.9999 18.877 11.9998 18.877C10.9998 18.877 10.9998 19.7913 9.99989 19.7913C9.00005 19.7913 9.00005 18.877 8.00006 18.877C6.99999 18.877 6.99999 19.7913 5.99991 19.7913C4.99983 19.7913 4.99983 18.877 3.99975 18.877C3.3091 18.877 3.09539 19.3131 2.69977 19.5829C4.90027 22.2785 8.24892 24 12 24V24Z\" fill=\"#0052B4\"/>\n<path d=\"M21.9999 13.5306C20.9999 13.5306 20.9999 12.6162 19.9998 12.6162C18.9999 12.6162 18.9999 13.5306 17.9999 13.5306C17 13.5306 16.9999 12.6162 16 12.6162C15 12.6162 15 13.5306 14 13.5306C13 13.5306 12.9999 12.6162 11.9998 12.6162C10.9998 12.6162 10.9998 13.5306 9.99991 13.5306C9.00006 13.5306 9.00006 12.6162 8.00008 12.6162C7 12.6162 7 13.5306 5.99992 13.5306C4.99984 13.5306 4.99984 12.6162 3.99977 12.6162C2.99992 12.6162 2.99992 13.5306 1.99994 13.5306C1.00534 13.5306 0.999578 12.6263 0.015625 12.6166C0.0433281 13.1655 0.108859 13.7044 0.207953 14.2314C1.00502 14.3485 1.07481 15.1305 1.99998 15.1305C2.99997 15.1305 2.99997 14.2163 3.99981 14.2163C4.99989 14.2163 4.99989 15.1305 5.99997 15.1305C7.00005 15.1305 7.00005 14.2163 8.00013 14.2163C9.00011 14.2163 9.00011 15.1305 9.99995 15.1305C10.9999 15.1305 10.9999 14.2163 11.9999 14.2163C13 14.2163 13 15.1305 14 15.1305C15.0001 15.1305 15.0001 14.2163 16 14.2163C17 14.2163 17 15.1305 18 15.1305C18.9999 15.1305 19 14.2163 19.9999 14.2163C21 14.2163 21 15.1305 21.9999 15.1305C22.9252 15.1305 22.995 14.3486 23.7921 14.2314C23.8912 13.7044 23.9567 13.1656 23.9845 12.6167C23.0004 12.6264 22.9945 13.5306 21.9999 13.5306V13.5306Z\" fill=\"#0052B4\"/>\n<path d=\"M19.9998 15.7466C18.9998 15.7466 18.9998 16.6609 17.9999 16.6609C17 16.6609 16.9999 15.7466 16 15.7466C15 15.7466 15 16.6609 14 16.6609C12.9999 16.6609 12.9999 15.7466 11.9998 15.7466C10.9998 15.7466 10.9998 16.6609 9.99989 16.6609C9.00005 16.6609 9.00005 15.7466 8.00006 15.7466C6.99998 15.7466 6.99998 16.6609 5.9999 16.6609C4.99983 16.6609 4.99983 15.7466 3.99975 15.7466C2.9999 15.7466 2.9999 16.6609 1.99992 16.6609C1.2854 16.6609 1.08131 16.1942 0.658264 15.9276C0.939889 16.7413 1.30626 17.5154 1.7475 18.2389C1.82423 18.2531 1.90776 18.2609 1.99992 18.2609C2.9999 18.2609 2.9999 17.3467 3.99975 17.3467C4.99983 17.3467 4.99983 18.2609 5.9999 18.2609C6.99998 18.2609 6.99998 17.3467 8.00006 17.3467C9.00005 17.3467 9.00005 18.2609 9.99989 18.2609C10.9999 18.2609 10.9999 17.3467 11.9998 17.3467C12.9999 17.3467 12.9999 18.2609 14 18.2609C15 18.2609 15 17.3467 16 17.3467C17 17.3467 17 18.2609 17.9999 18.2609C18.9998 18.2609 18.9999 17.3467 19.9998 17.3467C20.9999 17.3467 20.9999 18.2609 21.9998 18.2609C22.0921 18.2609 22.1756 18.2531 22.2524 18.2389C22.6936 17.5154 23.0599 16.7413 23.3417 15.9277C22.9186 16.1941 22.7145 16.6609 21.9998 16.6609C20.9999 16.6609 20.9999 15.7466 19.9998 15.7466Z\" fill=\"#0052B4\"/>\n<path d=\"M23.9628 11.0518C23.0004 11.0745 22.9872 11.9651 21.9998 11.9651C20.9999 11.9651 20.9999 11.0508 19.9998 11.0508C18.9998 11.0508 18.9998 11.9651 17.9999 11.9651C17 11.9651 16.9999 11.0508 16 11.0508C15 11.0508 15 11.9651 14 11.9651C12.9999 11.9651 12.9999 11.0508 11.9998 11.0508C10.9998 11.0508 10.9998 11.9651 9.99989 11.9651C9.00005 11.9651 9.00005 11.0508 8.00006 11.0508C6.99998 11.0508 6.99998 11.9651 5.99991 11.9651C4.99983 11.9651 4.99983 11.0508 3.99975 11.0508C2.99991 11.0508 2.99991 11.9651 1.99992 11.9651C1.01278 11.9651 0.999422 11.0746 0.0371719 11.0518C0.01275 11.3647 0 11.6808 0 11.9999C0 12.2184 0.0061875 12.4356 0.0178594 12.6513C0.999563 12.6623 1.00608 13.5651 1.99997 13.5651C2.99995 13.5651 2.99995 12.6508 3.9998 12.6508C4.99988 12.6508 4.99988 13.5651 5.99995 13.5651C7.00003 13.5651 7.00003 12.6508 8.00011 12.6508C9.00009 12.6508 9.00009 13.5651 9.99994 13.5651C10.9999 13.5651 10.9999 12.6508 11.9999 12.6508C12.9999 12.6508 12.9999 13.5651 14 13.5651C15.0001 13.5651 15.0001 12.6508 16 12.6508C17 12.6508 17 13.5651 18 13.5651C18.9999 13.5651 18.9999 12.6508 19.9999 12.6508C21 12.6508 21 13.5651 21.9999 13.5651C22.9939 13.5651 23.0004 12.6623 23.9823 12.6513C23.9938 12.4356 24 12.2184 24 11.9999C24 11.6808 23.9872 11.3647 23.9628 11.0518V11.0518Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2373\">\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-ki-icon\"\n data-testid=\"kui-icon-wrapper-flag-ki-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-ki-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAqBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"kong-icons.es216.js","sources":["../src/components/flags/FlagKiIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKiIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2373)\">\n<path d=\"M0 12C0 5.37262 5.37262 0 12 0C18.6274 0 24 5.37262 24 12\" fill=\"#D80027\"/>\n<path d=\"M16.1739 11.16L14.4683 11.9622L15.3766 13.614L13.5246 13.2597L13.29 15.1305L12 13.7545L10.71 15.1305L10.4754 13.2597L8.62341 13.6139L9.53161 11.9622L7.82611 11.16L9.53161 10.3577L8.62341 8.70605L10.4753 9.06023L10.71 7.18945L12 8.56537L13.29 7.18945L13.5246 9.06023L15.3766 8.70605L14.4685 10.3578L16.1739 11.16Z\" fill=\"#FFDA44\"/>\n<path d=\"M15.1305 3.913H12.7826C12.7826 3.48086 12.4322 3.13037 12 3.13037C11.5678 3.13037 11.2174 3.48081 11.2174 3.913H8.86957C8.86957 4.34518 9.24607 4.69562 9.67826 4.69562H9.65215C9.65215 5.12781 10.0025 5.47825 10.4348 5.47825C10.4348 5.91043 10.7851 6.26087 11.2174 6.26087H12.7826C13.2147 6.26087 13.5652 5.91048 13.5652 5.47825C13.9974 5.47825 14.3478 5.12786 14.3478 4.69562H14.3217C14.754 4.69562 15.1305 4.34523 15.1305 3.913V3.913Z\" fill=\"#FFDA44\"/>\n<path d=\"M24 12C24 18.6274 18.6274 24 12 24C5.37262 24 0 18.6274 0 12H24Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 24C15.751 24 19.0995 22.2785 21.3001 19.583C20.9043 19.3132 20.6906 18.877 19.9998 18.877C18.9998 18.877 18.9998 19.7913 17.9999 19.7913C17 19.7913 16.9999 18.877 16 18.877C15 18.877 15 19.7913 14 19.7913C12.9999 19.7913 12.9999 18.877 11.9998 18.877C10.9998 18.877 10.9998 19.7913 9.99989 19.7913C9.00005 19.7913 9.00005 18.877 8.00006 18.877C6.99999 18.877 6.99999 19.7913 5.99991 19.7913C4.99983 19.7913 4.99983 18.877 3.99975 18.877C3.3091 18.877 3.09539 19.3131 2.69977 19.5829C4.90027 22.2785 8.24892 24 12 24V24Z\" fill=\"#0052B4\"/>\n<path d=\"M21.9999 13.5306C20.9999 13.5306 20.9999 12.6162 19.9998 12.6162C18.9999 12.6162 18.9999 13.5306 17.9999 13.5306C17 13.5306 16.9999 12.6162 16 12.6162C15 12.6162 15 13.5306 14 13.5306C13 13.5306 12.9999 12.6162 11.9998 12.6162C10.9998 12.6162 10.9998 13.5306 9.99991 13.5306C9.00006 13.5306 9.00006 12.6162 8.00008 12.6162C7 12.6162 7 13.5306 5.99992 13.5306C4.99984 13.5306 4.99984 12.6162 3.99977 12.6162C2.99992 12.6162 2.99992 13.5306 1.99994 13.5306C1.00534 13.5306 0.999578 12.6263 0.015625 12.6166C0.0433281 13.1655 0.108859 13.7044 0.207953 14.2314C1.00502 14.3485 1.07481 15.1305 1.99998 15.1305C2.99997 15.1305 2.99997 14.2163 3.99981 14.2163C4.99989 14.2163 4.99989 15.1305 5.99997 15.1305C7.00005 15.1305 7.00005 14.2163 8.00013 14.2163C9.00011 14.2163 9.00011 15.1305 9.99995 15.1305C10.9999 15.1305 10.9999 14.2163 11.9999 14.2163C13 14.2163 13 15.1305 14 15.1305C15.0001 15.1305 15.0001 14.2163 16 14.2163C17 14.2163 17 15.1305 18 15.1305C18.9999 15.1305 19 14.2163 19.9999 14.2163C21 14.2163 21 15.1305 21.9999 15.1305C22.9252 15.1305 22.995 14.3486 23.7921 14.2314C23.8912 13.7044 23.9567 13.1656 23.9845 12.6167C23.0004 12.6264 22.9945 13.5306 21.9999 13.5306V13.5306Z\" fill=\"#0052B4\"/>\n<path d=\"M19.9998 15.7466C18.9998 15.7466 18.9998 16.6609 17.9999 16.6609C17 16.6609 16.9999 15.7466 16 15.7466C15 15.7466 15 16.6609 14 16.6609C12.9999 16.6609 12.9999 15.7466 11.9998 15.7466C10.9998 15.7466 10.9998 16.6609 9.99989 16.6609C9.00005 16.6609 9.00005 15.7466 8.00006 15.7466C6.99998 15.7466 6.99998 16.6609 5.9999 16.6609C4.99983 16.6609 4.99983 15.7466 3.99975 15.7466C2.9999 15.7466 2.9999 16.6609 1.99992 16.6609C1.2854 16.6609 1.08131 16.1942 0.658264 15.9276C0.939889 16.7413 1.30626 17.5154 1.7475 18.2389C1.82423 18.2531 1.90776 18.2609 1.99992 18.2609C2.9999 18.2609 2.9999 17.3467 3.99975 17.3467C4.99983 17.3467 4.99983 18.2609 5.9999 18.2609C6.99998 18.2609 6.99998 17.3467 8.00006 17.3467C9.00005 17.3467 9.00005 18.2609 9.99989 18.2609C10.9999 18.2609 10.9999 17.3467 11.9998 17.3467C12.9999 17.3467 12.9999 18.2609 14 18.2609C15 18.2609 15 17.3467 16 17.3467C17 17.3467 17 18.2609 17.9999 18.2609C18.9998 18.2609 18.9999 17.3467 19.9998 17.3467C20.9999 17.3467 20.9999 18.2609 21.9998 18.2609C22.0921 18.2609 22.1756 18.2531 22.2524 18.2389C22.6936 17.5154 23.0599 16.7413 23.3417 15.9277C22.9186 16.1941 22.7145 16.6609 21.9998 16.6609C20.9999 16.6609 20.9999 15.7466 19.9998 15.7466Z\" fill=\"#0052B4\"/>\n<path d=\"M23.9628 11.0518C23.0004 11.0745 22.9872 11.9651 21.9998 11.9651C20.9999 11.9651 20.9999 11.0508 19.9998 11.0508C18.9998 11.0508 18.9998 11.9651 17.9999 11.9651C17 11.9651 16.9999 11.0508 16 11.0508C15 11.0508 15 11.9651 14 11.9651C12.9999 11.9651 12.9999 11.0508 11.9998 11.0508C10.9998 11.0508 10.9998 11.9651 9.99989 11.9651C9.00005 11.9651 9.00005 11.0508 8.00006 11.0508C6.99998 11.0508 6.99998 11.9651 5.99991 11.9651C4.99983 11.9651 4.99983 11.0508 3.99975 11.0508C2.99991 11.0508 2.99991 11.9651 1.99992 11.9651C1.01278 11.9651 0.999422 11.0746 0.0371719 11.0518C0.01275 11.3647 0 11.6808 0 11.9999C0 12.2184 0.0061875 12.4356 0.0178594 12.6513C0.999563 12.6623 1.00608 13.5651 1.99997 13.5651C2.99995 13.5651 2.99995 12.6508 3.9998 12.6508C4.99988 12.6508 4.99988 13.5651 5.99995 13.5651C7.00003 13.5651 7.00003 12.6508 8.00011 12.6508C9.00009 12.6508 9.00009 13.5651 9.99994 13.5651C10.9999 13.5651 10.9999 12.6508 11.9999 12.6508C12.9999 12.6508 12.9999 13.5651 14 13.5651C15.0001 13.5651 15.0001 12.6508 16 12.6508C17 12.6508 17 13.5651 18 13.5651C18.9999 13.5651 18.9999 12.6508 19.9999 12.6508C21 12.6508 21 13.5651 21.9999 13.5651C22.9939 13.5651 23.0004 12.6623 23.9823 12.6513C23.9938 12.4356 24 12.2184 24 11.9999C24 11.6808 23.9872 11.3647 23.9628 11.0518V11.0518Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2373\">\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-ki-icon\"\n data-testid=\"kui-icon-wrapper-flag-ki-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-ki-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAqBzDM,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.es218.js","sources":["../src/components/flags/FlagKmIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKmIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2304)\">\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.9996 11.9653H10.9913C8.40862 14.5481 6.84684 16.542 5.25216 18.1367L12.0348 18.7479L22.5598 17.7044C23.4783 16.0078 24 14.0649 24 12.0001C24 11.9884 23.9996 11.977 23.9996 11.9653V11.9653Z\" fill=\"#D80027\"/>\n<path d=\"M5.2522 6.22613H22.5215C20.4807 2.51513 16.5343 0 12 0C8.69508 0 5.70277 1.33645 3.53269 3.498L5.2522 6.22613Z\" fill=\"#FFDA44\"/>\n<path d=\"M5.77392 17.7046C4.69514 18.7834 4.27823 19.6872 3.49772 20.4677C5.67061 22.6496 8.67741 24.0002 12 24.0002C16.5626 24.0002 20.5303 21.4537 22.5599 17.7046H5.77392Z\" fill=\"#0052B4\"/>\n<path d=\"M3.51469 3.47998C-1.17159 8.16626 -1.17159 15.7643 3.51469 20.4506C5.45123 18.5141 7.31372 16.6516 12 11.9653L3.51469 3.47998Z\" fill=\"#6DA544\"/>\n<path d=\"M3.16523 11.9652C3.16523 10.2168 4.39397 8.75624 6.03478 8.39793C5.78259 8.34285 5.52094 8.31299 5.25215 8.31299C3.23508 8.31299 1.59998 9.94808 1.59998 11.9652C1.59998 13.9822 3.23508 15.6173 5.25215 15.6173C5.52089 15.6173 5.78255 15.5875 6.03478 15.5324C4.39397 15.174 3.16523 13.7135 3.16523 11.9652V11.9652Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 8.83447L6.18881 9.43232H6.8174L6.30881 9.80183L6.50311 10.3997L5.99451 10.0302L5.48592 10.3997L5.68022 9.80183L5.17162 9.43232H5.80022L5.99451 8.83447Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 10.3999L6.18881 10.9978H6.8174L6.30881 11.3673L6.50311 11.9652L5.99451 11.5956L5.48592 11.9652L5.68022 11.3673L5.17162 10.9978H5.80022L5.99451 10.3999Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 11.9653L6.18881 12.5632H6.8174L6.30881 12.9327L6.50311 13.5305L5.99451 13.161L5.48592 13.5305L5.68022 12.9327L5.17162 12.5632H5.80022L5.99451 11.9653Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 13.5303L6.18881 14.1281H6.8174L6.30881 14.4976L6.50311 15.0955L5.99451 14.726L5.48592 15.0955L5.68022 14.4976L5.17162 14.1281H5.80022L5.99451 13.5303Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2304\">\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-km-icon\"\n data-testid=\"kui-icon-wrapper-flag-km-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-km-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;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,GAuBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"kong-icons.es218.js","sources":["../src/components/flags/FlagKmIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKmIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2304)\">\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.9996 11.9653H10.9913C8.40862 14.5481 6.84684 16.542 5.25216 18.1367L12.0348 18.7479L22.5598 17.7044C23.4783 16.0078 24 14.0649 24 12.0001C24 11.9884 23.9996 11.977 23.9996 11.9653V11.9653Z\" fill=\"#D80027\"/>\n<path d=\"M5.2522 6.22613H22.5215C20.4807 2.51513 16.5343 0 12 0C8.69508 0 5.70277 1.33645 3.53269 3.498L5.2522 6.22613Z\" fill=\"#FFDA44\"/>\n<path d=\"M5.77392 17.7046C4.69514 18.7834 4.27823 19.6872 3.49772 20.4677C5.67061 22.6496 8.67741 24.0002 12 24.0002C16.5626 24.0002 20.5303 21.4537 22.5599 17.7046H5.77392Z\" fill=\"#0052B4\"/>\n<path d=\"M3.51469 3.47998C-1.17159 8.16626 -1.17159 15.7643 3.51469 20.4506C5.45123 18.5141 7.31372 16.6516 12 11.9653L3.51469 3.47998Z\" fill=\"#6DA544\"/>\n<path d=\"M3.16523 11.9652C3.16523 10.2168 4.39397 8.75624 6.03478 8.39793C5.78259 8.34285 5.52094 8.31299 5.25215 8.31299C3.23508 8.31299 1.59998 9.94808 1.59998 11.9652C1.59998 13.9822 3.23508 15.6173 5.25215 15.6173C5.52089 15.6173 5.78255 15.5875 6.03478 15.5324C4.39397 15.174 3.16523 13.7135 3.16523 11.9652V11.9652Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 8.83447L6.18881 9.43232H6.8174L6.30881 9.80183L6.50311 10.3997L5.99451 10.0302L5.48592 10.3997L5.68022 9.80183L5.17162 9.43232H5.80022L5.99451 8.83447Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 10.3999L6.18881 10.9978H6.8174L6.30881 11.3673L6.50311 11.9652L5.99451 11.5956L5.48592 11.9652L5.68022 11.3673L5.17162 10.9978H5.80022L5.99451 10.3999Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 11.9653L6.18881 12.5632H6.8174L6.30881 12.9327L6.50311 13.5305L5.99451 13.161L5.48592 13.5305L5.68022 12.9327L5.17162 12.5632H5.80022L5.99451 11.9653Z\" fill=\"#F0F0F0\"/>\n<path d=\"M5.99451 13.5303L6.18881 14.1281H6.8174L6.30881 14.4976L6.50311 15.0955L5.99451 14.726L5.48592 15.0955L5.68022 14.4976L5.17162 14.1281H5.80022L5.99451 13.5303Z\" fill=\"#F0F0F0\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2304\">\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-km-icon\"\n data-testid=\"kui-icon-wrapper-flag-km-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-km-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;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,GAuBzDM,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.es22.js","sources":["../src/components/flags/FlagAtIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagAtIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on
|
1
|
+
{"version":3,"file":"kong-icons.es22.js","sources":["../src/components/flags/FlagAtIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagAtIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2262)\">\n<path d=\"M23.2536 16.174C23.736 14.874 24 13.4679 24 12.0001C24 10.5322 23.736 9.12623 23.2536 7.8262L12 6.78271L0.746391 7.8262C0.264047 9.12623 0 10.5322 0 12.0001C0 13.4679 0.264047 14.874 0.746391 16.174L12 17.2175L23.2536 16.174Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 23.9999C17.1595 23.9999 21.5581 20.7434 23.2536 16.1738H0.746338C2.4419 20.7434 6.84037 23.9999 12 23.9999Z\" fill=\"#D80027\"/>\n<path d=\"M12 0C6.84037 0 2.4419 3.2565 0.746338 7.82611H23.2536C21.5581 3.2565 17.1595 0 12 0Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2262\">\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-at-icon\"\n data-testid=\"kui-icon-wrapper-flag-at-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-at-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.es220.js","sources":["../src/components/flags/FlagKpIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKpIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on
|
1
|
+
{"version":3,"file":"kong-icons.es220.js","sources":["../src/components/flags/FlagKpIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKpIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_4960)\">\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=\"M11.9999 0C8.36285 0 5.10396 1.61831 2.90332 4.17389H21.0965C18.8959 1.61831 15.637 0 11.9999 0Z\" fill=\"#0052B4\"/>\n<path d=\"M21.0965 19.8261H2.90332C5.10396 22.3817 8.36285 24 11.9999 24C15.637 24 18.8959 22.3817 21.0965 19.8261Z\" fill=\"#0052B4\"/>\n<path d=\"M22.2387 5.73914H1.76128C0.644297 7.56187 0 9.7056 0 12C0 14.2944 0.644297 16.4382 1.76128 18.2609H22.2387C23.3557 16.4382 24 14.2944 24 12C24 9.7056 23.3557 7.56187 22.2387 5.73914Z\" fill=\"#D80027\"/>\n<path d=\"M7.38251 16.6174C9.93262 16.6174 11.9999 14.5501 11.9999 12C11.9999 9.4499 9.93262 7.38263 7.38251 7.38263C4.83241 7.38263 2.76514 9.4499 2.76514 12C2.76514 14.5501 4.83241 16.6174 7.38251 16.6174Z\" fill=\"#F0F0F0\"/>\n<path d=\"M7.38279 7.38263L8.41877 10.5711H11.7768L9.05913 12.5418L10.1032 15.7398L7.38279 13.7597L4.66648 15.7361L5.70645 12.5418L2.99121 10.5711H6.34676L7.38279 7.38263Z\" fill=\"#D80027\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_246_4960\">\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-kp-icon\"\n data-testid=\"kui-icon-wrapper-flag-kp-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-kp-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.es222.js","sources":["../src/components/flags/FlagKrIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKrIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_1415_2982)\">\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=\"M16.174 12.0001C16.174 13.0435 14.3052 15.6522 12.0001 15.6522C9.69489 15.6522 7.82617 13.0435 7.82617 12.0001C7.82617 9.69484 9.69489 7.82617 12.0001 7.82617C14.3052 7.82617 16.174 9.69484 16.174 12.0001Z\" fill=\"#D80027\"/>\n<path d=\"M16.174 12C16.174 14.3052 14.3052 16.1739 12.0001 16.1739C9.69489 16.1739 7.82617 14.3052 7.82617 12\" fill=\"#0052B4\"/>\n<path d=\"M16.4238 15.6895L17.5304 14.5829L18.2682 15.3206L17.1616 16.4272L16.4238 15.6895Z\" fill=\"black\"/>\n<path d=\"M14.5789 17.5342L15.6855 16.4276L16.4232 17.1653L15.3166 18.2719L14.5789 17.5342Z\" fill=\"black\"/>\n<path d=\"M18.6372 17.9023L19.7438 16.7957L20.4815 17.5335L19.375 18.6401L18.6372 17.9023Z\" fill=\"black\"/>\n<path d=\"M16.7925 19.7471L17.8991 18.6405L18.6368 19.3782L17.5302 20.4848L16.7925 19.7471Z\" fill=\"black\"/>\n<path d=\"M17.5305 16.7959L18.6371 15.6893L19.3749 16.427L18.2683 17.5336L17.5305 16.7959Z\" fill=\"black\"/>\n<path d=\"M15.686 18.6406L16.7926 17.534L17.5304 18.2718L16.4238 19.3784L15.686 18.6406Z\" fill=\"black\"/>\n<path d=\"M18.6421 8.3125L15.6911 5.36156L16.4289 4.62382L19.3798 7.57476L18.6421 8.3125Z\" fill=\"black\"/>\n<path d=\"M15.6907 7.5752L14.5841 6.4686L15.3218 5.73089L16.4284 6.83748L15.6907 7.5752Z\" fill=\"black\"/>\n<path d=\"M17.5349 9.41992L16.4283 8.31332L17.166 7.57561L18.2726 8.68221L17.5349 9.41992Z\" fill=\"black\"/>\n<path d=\"M17.9036 5.36133L16.797 4.25473L17.5347 3.51699L18.6413 4.62358L17.9036 5.36133Z\" fill=\"black\"/>\n<path d=\"M19.749 7.20703L18.6424 6.10043L19.3802 5.36269L20.4868 6.46929L19.749 7.20703Z\" fill=\"black\"/>\n<path d=\"M4.25415 16.7939L7.20509 19.7449L6.46735 20.4826L3.51641 17.5317L4.25415 16.7939Z\" fill=\"black\"/>\n<path d=\"M7.20483 17.5312L8.31143 18.6378L7.57372 19.3756L6.46712 18.269L7.20483 17.5312Z\" fill=\"black\"/>\n<path d=\"M5.36035 15.6875L6.46695 16.7941L5.72921 17.5318L4.62261 16.4252L5.36035 15.6875Z\" fill=\"black\"/>\n<path d=\"M6.46704 14.5801L9.41798 17.531L8.68024 18.2688L5.7293 15.3178L6.46704 14.5801Z\" fill=\"black\"/>\n<path d=\"M7.20483 4.25293L4.25389 7.20387L3.51615 6.46613L6.46709 3.51519L7.20483 4.25293Z\" fill=\"black\"/>\n<path d=\"M8.31128 5.35938L5.36034 8.31032L4.6226 7.57257L7.57354 4.62163L8.31128 5.35938Z\" fill=\"black\"/>\n<path d=\"M9.41895 6.4668L6.468 9.41774L5.73029 8.68003L8.68123 5.72909L9.41895 6.4668Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1415_2982\">\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-kr-icon\"\n data-testid=\"kui-icon-wrapper-flag-kr-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-kr-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;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,GAkCzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"kong-icons.es222.js","sources":["../src/components/flags/FlagKrIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKrIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_1415_2982)\">\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=\"M16.174 12.0001C16.174 13.0435 14.3052 15.6522 12.0001 15.6522C9.69489 15.6522 7.82617 13.0435 7.82617 12.0001C7.82617 9.69484 9.69489 7.82617 12.0001 7.82617C14.3052 7.82617 16.174 9.69484 16.174 12.0001Z\" fill=\"#D80027\"/>\n<path d=\"M16.174 12C16.174 14.3052 14.3052 16.1739 12.0001 16.1739C9.69489 16.1739 7.82617 14.3052 7.82617 12\" fill=\"#0052B4\"/>\n<path d=\"M16.4238 15.6895L17.5304 14.5829L18.2682 15.3206L17.1616 16.4272L16.4238 15.6895Z\" fill=\"black\"/>\n<path d=\"M14.5789 17.5342L15.6855 16.4276L16.4232 17.1653L15.3166 18.2719L14.5789 17.5342Z\" fill=\"black\"/>\n<path d=\"M18.6372 17.9023L19.7438 16.7957L20.4815 17.5335L19.375 18.6401L18.6372 17.9023Z\" fill=\"black\"/>\n<path d=\"M16.7925 19.7471L17.8991 18.6405L18.6368 19.3782L17.5302 20.4848L16.7925 19.7471Z\" fill=\"black\"/>\n<path d=\"M17.5305 16.7959L18.6371 15.6893L19.3749 16.427L18.2683 17.5336L17.5305 16.7959Z\" fill=\"black\"/>\n<path d=\"M15.686 18.6406L16.7926 17.534L17.5304 18.2718L16.4238 19.3784L15.686 18.6406Z\" fill=\"black\"/>\n<path d=\"M18.6421 8.3125L15.6911 5.36156L16.4289 4.62382L19.3798 7.57476L18.6421 8.3125Z\" fill=\"black\"/>\n<path d=\"M15.6907 7.5752L14.5841 6.4686L15.3218 5.73089L16.4284 6.83748L15.6907 7.5752Z\" fill=\"black\"/>\n<path d=\"M17.5349 9.41992L16.4283 8.31332L17.166 7.57561L18.2726 8.68221L17.5349 9.41992Z\" fill=\"black\"/>\n<path d=\"M17.9036 5.36133L16.797 4.25473L17.5347 3.51699L18.6413 4.62358L17.9036 5.36133Z\" fill=\"black\"/>\n<path d=\"M19.749 7.20703L18.6424 6.10043L19.3802 5.36269L20.4868 6.46929L19.749 7.20703Z\" fill=\"black\"/>\n<path d=\"M4.25415 16.7939L7.20509 19.7449L6.46735 20.4826L3.51641 17.5317L4.25415 16.7939Z\" fill=\"black\"/>\n<path d=\"M7.20483 17.5312L8.31143 18.6378L7.57372 19.3756L6.46712 18.269L7.20483 17.5312Z\" fill=\"black\"/>\n<path d=\"M5.36035 15.6875L6.46695 16.7941L5.72921 17.5318L4.62261 16.4252L5.36035 15.6875Z\" fill=\"black\"/>\n<path d=\"M6.46704 14.5801L9.41798 17.531L8.68024 18.2688L5.7293 15.3178L6.46704 14.5801Z\" fill=\"black\"/>\n<path d=\"M7.20483 4.25293L4.25389 7.20387L3.51615 6.46613L6.46709 3.51519L7.20483 4.25293Z\" fill=\"black\"/>\n<path d=\"M8.31128 5.35938L5.36034 8.31032L4.6226 7.57257L7.57354 4.62163L8.31128 5.35938Z\" fill=\"black\"/>\n<path d=\"M9.41895 6.4668L6.468 9.41774L5.73029 8.68003L8.68123 5.72909L9.41895 6.4668Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1415_2982\">\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-kr-icon\"\n data-testid=\"kui-icon-wrapper-flag-kr-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-kr-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;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,GAkCzDM,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.es224.js","sources":["../src/components/flags/FlagKwIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKwIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on
|
1
|
+
{"version":3,"file":"kong-icons.es224.js","sources":["../src/components/flags/FlagKwIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKwIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2375)\">\n<path d=\"M23.2536 16.174C23.736 14.874 24 13.4679 24 12.0001C24 10.5322 23.736 9.12618 23.2536 7.8262L12 6.78271L0.746391 7.8262C0.264047 9.12618 0 10.5322 0 12.0001C0 13.4679 0.264047 14.874 0.746391 16.174L12 17.2175L23.2536 16.174Z\" fill=\"#F0F0F0\"/>\n<path d=\"M12 23.9999C17.1595 23.9999 21.5581 20.7434 23.2536 16.1738H0.746338C2.4419 20.7434 6.84037 23.9999 12 23.9999Z\" fill=\"#D80027\"/>\n<path d=\"M12 0C6.84037 0 2.4419 3.2565 0.746338 7.82611H23.2536C21.5581 3.2565 17.1595 0 12 0Z\" fill=\"#6DA544\"/>\n<path d=\"M3.51471 3.51465C-1.17157 8.20093 -1.17157 15.7989 3.51471 20.4853C4.73791 19.2621 5.93182 18.0682 7.82609 16.1739V7.82607L3.51471 3.51465Z\" fill=\"black\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2375\">\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-kw-icon\"\n data-testid=\"kui-icon-wrapper-flag-kw-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-kw-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.es226.js","sources":["../src/components/flags/FlagKyIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKyIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2295)\">\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.37145 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78638 12H11.9679C11.9786 11.9893 11.9893 11.9786 12 11.9679C12 11.1594 12 10.4381 12 9.78647L8.47444 6.26086H12Z\" fill=\"#F0F0F0\"/>\n<path d=\"M17.2174 8.86974C18.37 8.86974 19.3044 7.93537 19.3044 6.78277C19.3044 5.63017 18.37 4.6958 17.2174 4.6958C16.0648 4.6958 15.1304 5.63017 15.1304 6.78277C15.1304 7.93537 16.0648 8.86974 17.2174 8.86974Z\" fill=\"#6DA544\"/>\n<path d=\"M6.071 1.56543C4.19417 2.63413 2.63384 4.19441 1.56519 6.07124V12.0002H4.69564V4.69598V4.69588H12C12 3.70855 12 2.76796 12 1.56543H6.071Z\" fill=\"#D80027\"/>\n<path d=\"M12 10.5247L7.73649 6.26123H6.26086V6.26132L11.9999 12.0003H12C12 12.0003 12 10.9828 12 10.5247V10.5247Z\" fill=\"#D80027\"/>\n<path d=\"M13.5652 6.26123H20.8695V9.39168H13.5652V6.26123Z\" fill=\"#D80027\"/>\n<path d=\"M13.5652 14.0869V16.1739H14.6632C15.3215 16.8191 16.2227 17.2174 17.2174 17.2174C18.212 17.2174 19.1132 16.8191 19.7715 16.1739H19.826H20.8695V14.0869H13.5652Z\" fill=\"#FFDA44\"/>\n<path d=\"M13.5652 8.86963V12.0001C13.5652 14.7957 17.2174 15.6523 17.2174 15.6523C17.2174 15.6523 20.8695 14.7957 20.8695 12.0001V8.86963H13.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.5652 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.5652 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_2295\">\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-ky-icon\"\n data-testid=\"kui-icon-wrapper-flag-ky-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-ky-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;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,GAwBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"kong-icons.es226.js","sources":["../src/components/flags/FlagKyIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKyIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2295)\">\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.37145 0.001125 0 5.37323 0 12H6.26086V8.47448L9.78638 12H11.9679C11.9786 11.9893 11.9893 11.9786 12 11.9679C12 11.1594 12 10.4381 12 9.78647L8.47444 6.26086H12Z\" fill=\"#F0F0F0\"/>\n<path d=\"M17.2174 8.86974C18.37 8.86974 19.3044 7.93537 19.3044 6.78277C19.3044 5.63017 18.37 4.6958 17.2174 4.6958C16.0648 4.6958 15.1304 5.63017 15.1304 6.78277C15.1304 7.93537 16.0648 8.86974 17.2174 8.86974Z\" fill=\"#6DA544\"/>\n<path d=\"M6.071 1.56543C4.19417 2.63413 2.63384 4.19441 1.56519 6.07124V12.0002H4.69564V4.69598V4.69588H12C12 3.70855 12 2.76796 12 1.56543H6.071Z\" fill=\"#D80027\"/>\n<path d=\"M12 10.5247L7.73649 6.26123H6.26086V6.26132L11.9999 12.0003H12C12 12.0003 12 10.9828 12 10.5247V10.5247Z\" fill=\"#D80027\"/>\n<path d=\"M13.5652 6.26123H20.8695V9.39168H13.5652V6.26123Z\" fill=\"#D80027\"/>\n<path d=\"M13.5652 14.0869V16.1739H14.6632C15.3215 16.8191 16.2227 17.2174 17.2174 17.2174C18.212 17.2174 19.1132 16.8191 19.7715 16.1739H19.826H20.8695V14.0869H13.5652Z\" fill=\"#FFDA44\"/>\n<path d=\"M13.5652 8.86963V12.0001C13.5652 14.7957 17.2174 15.6523 17.2174 15.6523C17.2174 15.6523 20.8695 14.7957 20.8695 12.0001V8.86963H13.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.5652 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.5652 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_2295\">\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-ky-icon\"\n data-testid=\"kui-icon-wrapper-flag-ky-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-ky-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;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,GAwBzDM,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.es228.js","sources":["../src/components/flags/FlagKzIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKzIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on
|
1
|
+
{"version":3,"file":"kong-icons.es228.js","sources":["../src/components/flags/FlagKzIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagKzIcon.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 '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '&': '&',\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_2371)\">\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=\"M18.7826 12.1304H5.21735C5.21735 13.0669 6.03302 13.826 6.96944 13.826H6.913C6.913 14.7625 7.67214 15.5217 8.60866 15.5217C8.60866 16.4582 9.3678 17.2173 10.3043 17.2173H13.6956C14.6321 17.2173 15.3913 16.4582 15.3913 15.5217C16.3278 15.5217 17.0869 14.7625 17.0869 13.826H17.0305C17.9668 13.826 18.7826 13.0669 18.7826 12.1304V12.1304Z\" fill=\"#FFDA44\"/>\n<path d=\"M16.6956 9.91309C16.6956 12.5064 14.5933 14.6087 12 14.6087C9.40662 14.6087 7.30432 12.5064 7.30432 9.91309\" fill=\"#338AF3\"/>\n<path d=\"M15.5866 9.91287L14.1211 10.6023L14.9015 12.0216L13.3101 11.7172L13.1084 13.3248L12 12.1424L10.8915 13.3248L10.6899 11.7172L9.09845 12.0215L9.87883 10.6022L8.41333 9.91287L9.87888 9.22352L9.09845 7.8042L10.6898 8.1086L10.8915 6.50098L12 7.6834L13.1085 6.50098L13.3101 8.1086L14.9015 7.8042L14.1211 9.22357L15.5866 9.91287Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2371\">\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-kz-icon\"\n data-testid=\"kui-icon-wrapper-flag-kz-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-kz-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;;;;;;;;;;;;;;;;;;;;;;;;;"}
|