@kong/icons 1.22.2-pr.586.da5bcb4.0 → 1.22.2-pr.588.607048.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.es86.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-icons86.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 +7 -7
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"kong-icons.es74.js","sources":["../src/components/flags/FlagCdIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagCdIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es74.js","sources":["../src/components/flags/FlagCdIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * FlagCdIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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_2313)\">\n<path d=\"M22.6675 6.49763C22.113 5.4233 21.3862 4.41493 20.4857 3.51436C19.5851 2.61375 18.5766 1.88696 17.5024 1.33252L9.0485 9.04843L1.33255 17.5023C1.88703 18.5766 2.61383 19.585 3.51439 20.4856C4.41496 21.3862 5.42338 22.113 6.49766 22.6674L14.9515 14.9515L22.6675 6.49763Z\" fill=\"#FFDA44\"/>\n<path d=\"M3.5144 20.4858C4.01779 20.9892 4.55493 21.4381 5.11832 21.8334L21.8332 5.11848C21.438 4.55509 20.989 4.01795 20.4856 3.51455C19.9822 3.01116 19.4451 2.56224 18.8817 2.16699L2.16684 18.8819C2.56204 19.4452 3.01096 19.9824 3.5144 20.4858V20.4858Z\" fill=\"#D80027\"/>\n<path d=\"M3.51429 3.51431C-0.271664 7.30026 -0.99846 12.9861 1.33245 17.5023L17.5023 1.33251C12.986 -0.998347 7.3002 -0.271457 3.51429 3.51431V3.51431Z\" fill=\"#338AF3\"/>\n<path d=\"M20.4856 20.4855C24.2715 16.6996 24.9983 11.0137 22.6675 6.49756L6.49771 22.6673C11.0139 24.9982 16.6998 24.2714 20.4856 20.4855V20.4855Z\" fill=\"#338AF3\"/>\n<path d=\"M6.39498 3.65186L7.04251 5.64484H9.13801L7.44273 6.87653L8.09026 8.86946L6.39498 7.63773L4.69961 8.86946L5.34723 6.87653L3.65186 5.64484H5.74736L6.39498 3.65186Z\" fill=\"#FFDA44\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1_2313\">\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-cd-icon\"\n data-testid=\"kui-icon-wrapper-flag-cd-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-cd-icon\"\n fill=\"none\"\n height=\"100%\"\n role=\"img\"\n viewBox=\"0 0 24 24\"\n width=\"100%\"\n xmlns=\"http://www.w3.org/2000/svg\"\n v-html=\"svgProcessedContent\"\n />\n </component>\n</template>\n\n<style>\n/**\n * !Important: Do not add styles into this component file.\n *\n * We are adding styles inline to avoid additional stylesheet imports in the consuming application/component.\n */\n</style>\n"],"names":["svgOriginalContent","props","__props","iconSize","computed","sanitizedSize","sizeNumber","KUI_ICON_SIZE_50","rootElementStyles","prefixSvgIdsInString","svgString","idMap","randomPrefix","match","originalId","newId","htmlEntities","escapeHtml","str","svgProcessedContent"],"mappings":";;2BAyJMA,IAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5I3B,UAAMC,IAAQC,GAgERC,IAAWC,EAAS,MAAc;AAEtC,UAAI,OAAOH,EAAM,QAAS,YAAYA,EAAM,OAAO;AAC1C,eAAA,GAAGA,EAAM,IAAI;AAGlB,UAAA,OAAOA,EAAM,QAAS,UAAU;AAElC,cAAMI,IAAgB,OAAOJ,EAAM,IAAI,EAAE,QAAQ,QAAQ,EAAE,GACrDK,IAAa,OAAOD,CAAa;AACnC,YAAAC,KAAc,CAAC,MAAMA,CAAU,KAAK,OAAO,UAAUA,CAAU,KAAKA,IAAa;AACnF,iBAAO,GAAGA,CAAU;AAAA,MACtB;AAIK,aAAAC;AAAA,IAAA,CACR,GAMKC,IAAoBJ,EAAS,OAA2C;AAAA,MAC5E,WAAW;AAAA,MACX,OAAOH,EAAM;AAAA,MACb,SAASA,EAAM;AAAA,MACf,YAAY;AAAA,MACZ,QAAQE,EAAS;AAAA,MACjB,YAAY;AAAA,MACZ,OAAOA,EAAS;AAAA,MAChB,eAAeF,EAAM,aAAa,SAAS;AAAA,IAAA,EAC3C,GAaIQ,IAAuB,CAACC,MAA8B;AAC1D,YAAMC,IAAgC,CAAC,GACjCC,IAAe,KAAK,SAAS,SAAS,EAAE,EAAE,UAAU,GAAG,EAAE;AAaxD,aAVkBF,EAAU,QAAQ,iBAAiB,CAACG,GAAOC,MAAe;AACjF,cAAMC,IAAQ,GAAGH,CAAY,IAAIE,CAAU;AAC3C,eAAAH,EAAMG,CAAU,IAAIC,GACb,OAAOA,CAAK;AAAA,MAAA,CACpB,EAG2C,QAAQ,iBAAiB,CAACF,GAAOC,MAAeH,EAAMG,CAAU,IAAI,IAAIH,EAAMG,CAAU,CAAC,KAAKD,CAAK;AAAA,IAIjJ,GAEMG,IAA0C;AAAA,MAC9C,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,MACL,KAAK;AAAA,IACP,GACMC,IAAa,CAACC,MACXA,EAAI,QAAQ,YAAY,CAACL,MAAUG,EAAaH,CAAK,CAAC,GAkBzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"kong-icons.es740.js","sources":["../src/components/solid/NotificationIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * NotificationIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es740.js","sources":["../src/components/solid/NotificationIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * NotificationIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M5 19C4.71667 19 4.47917 18.9042 4.2875 18.7125C4.09583 18.5208 4 18.2833 4 18C4 17.7167 4.09583 17.4792 4.2875 17.2875C4.47917 17.0958 4.71667 17 5 17H6V10C6 8.61667 6.41667 7.3875 7.25 6.3125C8.08333 5.2375 9.16667 4.53333 10.5 4.2V3.5C10.5 3.08333 10.6458 2.72917 10.9375 2.4375C11.2292 2.14583 11.5833 2 12 2C12.4167 2 12.7708 2.14583 13.0625 2.4375C13.3542 2.72917 13.5 3.08333 13.5 3.5V4.2C14.8333 4.53333 15.9167 5.2375 16.75 6.3125C17.5833 7.3875 18 8.61667 18 10V17H19C19.2833 17 19.5208 17.0958 19.7125 17.2875C19.9042 17.4792 20 17.7167 20 18C20 18.2833 19.9042 18.5208 19.7125 18.7125C19.5208 18.9042 19.2833 19 19 19H5ZM12 22C11.45 22 10.9792 21.8042 10.5875 21.4125C10.1958 21.0208 10 20.55 10 20H14C14 20.55 13.8042 21.0208 13.4125 21.4125C13.0208 21.8042 12.55 22 12 22Z\" fill=\"currentColor\"/>`\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 notification-icon\"\n data-testid=\"kui-icon-wrapper-notification-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-notification-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es742.js","sources":["../src/components/solid/OrganizationIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * OrganizationIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es742.js","sources":["../src/components/solid/OrganizationIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * OrganizationIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M2 21V3H12V7H22V21H2ZM4 19H10V17H4V19ZM4 15H10V13H4V15ZM4 11H10V9H4V11ZM4 7H10V5H4V7ZM12 19H20V9H12V19ZM14 13V11H18V13H14ZM14 17V15H18V17H14Z\" fill=\"currentColor\"/>`\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 organization-icon\"\n data-testid=\"kui-icon-wrapper-organization-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-organization-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es744.js","sources":["../src/components/solid/OverviewIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * OverviewIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es744.js","sources":["../src/components/solid/OverviewIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * OverviewIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.92421 2.40002L5.76021 9.60002H18.2402L12.0002 20.4L5.76021 9.60002L1.51221 16.968L3.67221 20.4H21.2402L22.8482 17.592L14.0882 2.40002H9.91221H9.92421Z\" fill=\"currentColor\"/>`\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 overview-icon\"\n data-testid=\"kui-icon-wrapper-overview-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-overview-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es746.js","sources":["../src/components/solid/PeopleIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PeopleIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es746.js","sources":["../src/components/solid/PeopleIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PeopleIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M1 20V17.2C1 16.6333 1.14583 16.1125 1.4375 15.6375C1.72917 15.1625 2.11667 14.8 2.6 14.55C3.63333 14.0333 4.68333 13.6458 5.75 13.3875C6.81667 13.1292 7.9 13 9 13C10.1 13 11.1833 13.1292 12.25 13.3875C13.3167 13.6458 14.3667 14.0333 15.4 14.55C15.8833 14.8 16.2708 15.1625 16.5625 15.6375C16.8542 16.1125 17 16.6333 17 17.2V20H1ZM19 20V17C19 16.2667 18.7958 15.5625 18.3875 14.8875C17.9792 14.2125 17.4 13.6333 16.65 13.15C17.5 13.25 18.3 13.4208 19.05 13.6625C19.8 13.9042 20.5 14.2 21.15 14.55C21.75 14.8833 22.2083 15.2542 22.525 15.6625C22.8417 16.0708 23 16.5167 23 17V20H19ZM9 12C7.9 12 6.95833 11.6083 6.175 10.825C5.39167 10.0417 5 9.1 5 8C5 6.9 5.39167 5.95833 6.175 5.175C6.95833 4.39167 7.9 4 9 4C10.1 4 11.0417 4.39167 11.825 5.175C12.6083 5.95833 13 6.9 13 8C13 9.1 12.6083 10.0417 11.825 10.825C11.0417 11.6083 10.1 12 9 12ZM19 8C19 9.1 18.6083 10.0417 17.825 10.825C17.0417 11.6083 16.1 12 15 12C14.8167 12 14.5833 11.9792 14.3 11.9375C14.0167 11.8958 13.7833 11.85 13.6 11.8C14.05 11.2667 14.3958 10.675 14.6375 10.025C14.8792 9.375 15 8.7 15 8C15 7.3 14.8792 6.625 14.6375 5.975C14.3958 5.325 14.05 4.73333 13.6 4.2C13.8333 4.11667 14.0667 4.0625 14.3 4.0375C14.5333 4.0125 14.7667 4 15 4C16.1 4 17.0417 4.39167 17.825 5.175C18.6083 5.95833 19 6.9 19 8Z\" fill=\"currentColor\"/>`\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 people-icon\"\n data-testid=\"kui-icon-wrapper-people-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-people-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es748.js","sources":["../src/components/solid/PhoneIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PhoneIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es748.js","sources":["../src/components/solid/PhoneIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PhoneIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M7 23C6.45 23 5.97917 22.8042 5.5875 22.4125C5.19583 22.0208 5 21.55 5 21V3C5 2.45 5.19583 1.97917 5.5875 1.5875C5.97917 1.19583 6.45 1 7 1H17C17.55 1 18.0208 1.19583 18.4125 1.5875C18.8042 1.97917 19 2.45 19 3V21C19 21.55 18.8042 22.0208 18.4125 22.4125C18.0208 22.8042 17.55 23 17 23H7ZM7 18V21H17V18H7ZM12 20.5C12.2833 20.5 12.5208 20.4042 12.7125 20.2125C12.9042 20.0208 13 19.7833 13 19.5C13 19.2167 12.9042 18.9792 12.7125 18.7875C12.5208 18.5958 12.2833 18.5 12 18.5C11.7167 18.5 11.4792 18.5958 11.2875 18.7875C11.0958 18.9792 11 19.2167 11 19.5C11 19.7833 11.0958 20.0208 11.2875 20.2125C11.4792 20.4042 11.7167 20.5 12 20.5ZM7 16H17V6H7V16ZM7 4H17V3H7V4Z\" fill=\"currentColor\"/>`\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 phone-icon\"\n data-testid=\"kui-icon-wrapper-phone-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-phone-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es750.js","sources":["../src/components/solid/PlugIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PlugIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es750.js","sources":["../src/components/solid/PlugIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PlugIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M11.5 19H12.5V17.15L16 13.65V9H8V13.65L11.5 17.15V19ZM9.5 21V18L6 14.5V9C6 8.45 6.19583 7.97917 6.5875 7.5875C6.97917 7.19583 7.45 7 8 7H9L8 8V3H10V7H14V3H16V8L15 7H16C16.55 7 17.0208 7.19583 17.4125 7.5875C17.8042 7.97917 18 8.45 18 9V14.5L14.5 18V21H9.5Z\" fill=\"currentColor\"/>`\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 plug-icon\"\n data-testid=\"kui-icon-wrapper-plug-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-plug-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es752.js","sources":["../src/components/solid/PortalIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PortalIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:18 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M9.4 19.55C9.1 19 8.8375 18.4292 8.6125 17.8375C8.3875 17.2458 8.2 16.6333 8.05 16H5.1C5.58333 16.8333 6.1875 17.5583 6.9125 18.175C7.6375 18.7917 8.46667 19.25 9.4 19.55ZM4.25 14H7.65C7.6 13.6667 7.5625 13.3375 7.5375 13.0125C7.5125 12.6875 7.5 12.35 7.5 12C7.5 11.65 7.5125 11.3125 7.5375 10.9875C7.5625 10.6625 7.6 10.3333 7.65 10H4.25C4.16667 10.3333 4.10417 10.6625 4.0625 10.9875C4.02083 11.3125 4 11.65 4 12C4 12.35 4.02083 12.6875 4.0625 13.0125C4.10417 13.3375 4.16667 13.6667 4.25 14ZM5.1 8H8.05C8.2 7.36667 8.3875 6.75417 8.6125 6.1625C8.8375 5.57083 9.1 5 9.4 4.45C8.46667 4.75 7.6375 5.20833 6.9125 5.825C6.1875 6.44167 5.58333 7.16667 5.1 8ZM10.1 8H13.9C13.7 7.26667 13.4417 6.575 13.125 5.925C12.8083 5.275 12.4333 4.65 12 4.05C11.5667 4.65 11.1917 5.275 10.875 5.925C10.5583 6.575 10.3 7.26667 10.1 8ZM15.95 8H18.9C18.4167 7.16667 17.8125 6.44167 17.0875 5.825C16.3625 5.20833 15.5333 4.75 14.6 4.45C14.9 5 15.1625 5.57083 15.3875 6.1625C15.6125 6.75417 15.8 7.36667 15.95 8ZM12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C13.3833 2 14.6792 2.2625 15.8875 2.7875C17.0958 3.3125 18.1542 4.02917 19.0625 4.9375C19.9708 5.84583 20.6875 6.90417 21.2125 8.1125C21.7375 9.32083 22 10.6167 22 12C22 12.1667 21.9958 12.3333 21.9875 12.5C21.9792 12.6667 21.9667 12.8333 21.95 13H19.925C19.9583 12.8333 19.9792 12.6708 19.9875 12.5125C19.9958 12.3542 20 12.1833 20 12C20 11.65 19.9792 11.3125 19.9375 10.9875C19.8958 10.6625 19.8333 10.3333 19.75 10H16.35C16.4 10.3333 16.4375 10.6625 16.4625 10.9875C16.4875 11.3125 16.5 11.65 16.5 12V12.5125C16.5 12.6708 16.4917 12.8333 16.475 13H14.475C14.4917 12.8333 14.5 12.6708 14.5 12.5125V12C14.5 11.65 14.4875 11.3125 14.4625 10.9875C14.4375 10.6625 14.4 10.3333 14.35 10H9.65C9.6 10.3333 9.5625 10.6625 9.5375 10.9875C9.5125 11.3125 9.5 11.65 9.5 12C9.5 12.35 9.5125 12.6875 9.5375 13.0125C9.5625 13.3375 9.6 13.6667 9.65 14H13V16H10.1C10.3 16.7333 10.5583 17.425 10.875 18.075C11.1917 18.725 11.5667 19.35 12 19.95C12.1833 19.6833 12.3583 19.4125 12.525 19.1375C12.6917 18.8625 12.85 18.5833 13 18.3V21.95C12.8333 21.9667 12.6708 21.9792 12.5125 21.9875C12.3542 21.9958 12.1833 22 12 22ZM19.95 21.375L17 18.425V20.65H15V15H20.65V17H18.4L21.35 19.95L19.95 21.375Z\" fill=\"currentColor\"/>`\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 portal-icon\"\n data-testid=\"kui-icon-wrapper-portal-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-portal-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"kong-icons.es752.js","sources":["../src/components/solid/PortalIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PortalIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M9.4 19.55C9.1 19 8.8375 18.4292 8.6125 17.8375C8.3875 17.2458 8.2 16.6333 8.05 16H5.1C5.58333 16.8333 6.1875 17.5583 6.9125 18.175C7.6375 18.7917 8.46667 19.25 9.4 19.55ZM4.25 14H7.65C7.6 13.6667 7.5625 13.3375 7.5375 13.0125C7.5125 12.6875 7.5 12.35 7.5 12C7.5 11.65 7.5125 11.3125 7.5375 10.9875C7.5625 10.6625 7.6 10.3333 7.65 10H4.25C4.16667 10.3333 4.10417 10.6625 4.0625 10.9875C4.02083 11.3125 4 11.65 4 12C4 12.35 4.02083 12.6875 4.0625 13.0125C4.10417 13.3375 4.16667 13.6667 4.25 14ZM5.1 8H8.05C8.2 7.36667 8.3875 6.75417 8.6125 6.1625C8.8375 5.57083 9.1 5 9.4 4.45C8.46667 4.75 7.6375 5.20833 6.9125 5.825C6.1875 6.44167 5.58333 7.16667 5.1 8ZM10.1 8H13.9C13.7 7.26667 13.4417 6.575 13.125 5.925C12.8083 5.275 12.4333 4.65 12 4.05C11.5667 4.65 11.1917 5.275 10.875 5.925C10.5583 6.575 10.3 7.26667 10.1 8ZM15.95 8H18.9C18.4167 7.16667 17.8125 6.44167 17.0875 5.825C16.3625 5.20833 15.5333 4.75 14.6 4.45C14.9 5 15.1625 5.57083 15.3875 6.1625C15.6125 6.75417 15.8 7.36667 15.95 8ZM12 22C10.6333 22 9.34167 21.7375 8.125 21.2125C6.90833 20.6875 5.84583 19.9708 4.9375 19.0625C4.02917 18.1542 3.3125 17.0917 2.7875 15.875C2.2625 14.6583 2 13.3667 2 12C2 10.6167 2.2625 9.32083 2.7875 8.1125C3.3125 6.90417 4.02917 5.84583 4.9375 4.9375C5.84583 4.02917 6.90833 3.3125 8.125 2.7875C9.34167 2.2625 10.6333 2 12 2C13.3833 2 14.6792 2.2625 15.8875 2.7875C17.0958 3.3125 18.1542 4.02917 19.0625 4.9375C19.9708 5.84583 20.6875 6.90417 21.2125 8.1125C21.7375 9.32083 22 10.6167 22 12C22 12.1667 21.9958 12.3333 21.9875 12.5C21.9792 12.6667 21.9667 12.8333 21.95 13H19.925C19.9583 12.8333 19.9792 12.6708 19.9875 12.5125C19.9958 12.3542 20 12.1833 20 12C20 11.65 19.9792 11.3125 19.9375 10.9875C19.8958 10.6625 19.8333 10.3333 19.75 10H16.35C16.4 10.3333 16.4375 10.6625 16.4625 10.9875C16.4875 11.3125 16.5 11.65 16.5 12V12.5125C16.5 12.6708 16.4917 12.8333 16.475 13H14.475C14.4917 12.8333 14.5 12.6708 14.5 12.5125V12C14.5 11.65 14.4875 11.3125 14.4625 10.9875C14.4375 10.6625 14.4 10.3333 14.35 10H9.65C9.6 10.3333 9.5625 10.6625 9.5375 10.9875C9.5125 11.3125 9.5 11.65 9.5 12C9.5 12.35 9.5125 12.6875 9.5375 13.0125C9.5625 13.3375 9.6 13.6667 9.65 14H13V16H10.1C10.3 16.7333 10.5583 17.425 10.875 18.075C11.1917 18.725 11.5667 19.35 12 19.95C12.1833 19.6833 12.3583 19.4125 12.525 19.1375C12.6917 18.8625 12.85 18.5833 13 18.3V21.95C12.8333 21.9667 12.6708 21.9792 12.5125 21.9875C12.3542 21.9958 12.1833 22 12 22ZM19.95 21.375L17 18.425V20.65H15V15H20.65V17H18.4L21.35 19.95L19.95 21.375Z\" fill=\"currentColor\"/>`\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 portal-icon\"\n data-testid=\"kui-icon-wrapper-portal-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-portal-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es754.js","sources":["../src/components/solid/PresentationIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PresentationIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es754.js","sources":["../src/components/solid/PresentationIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * PresentationIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M9.5 16.5L16.5 12L9.5 7.5V16.5ZM5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z\" fill=\"currentColor\"/>`\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 presentation-icon\"\n data-testid=\"kui-icon-wrapper-presentation-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-presentation-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es756.js","sources":["../src/components/solid/ProfileTeamIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * ProfileTeamIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:18 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M10.3 19.8C11.05 18.2833 12.05 17.2708 13.3 16.7625C14.55 16.2542 15.6167 16 16.5 16C16.8833 16 17.2583 16.0333 17.625 16.1C17.9917 16.1667 18.35 16.25 18.7 16.35C19.1 15.7167 19.4167 15.0333 19.65 14.3C19.8833 13.5667 20 12.8 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 12.75 4.09583 13.4667 4.2875 14.15C4.47917 14.8333 4.76667 15.4667 5.15 16.05C5.83333 15.7167 6.54167 15.4583 7.275 15.275C8.00833 15.0917 8.75 15 9.5 15C10.0333 15 10.5458 15.0458 11.0375 15.1375C11.5292 15.2292 12.0167 15.35 12.5 15.5C12.1167 15.7 11.7542 15.9333 11.4125 16.2C11.0708 16.4667 10.75 16.75 10.45 17.05C10.25 17.0167 10.0792 17 9.9375 17H9.5C8.96667 17 8.4375 17.0583 7.9125 17.175C7.3875 17.2917 6.88333 17.4667 6.4 17.7C6.93333 18.2333 7.52917 18.6792 8.1875 19.0375C8.84583 19.3958 9.55 19.65 10.3 19.8ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM9.5 13.5C8.53333 13.5 7.70833 13.1583 7.025 12.475C6.34167 11.7917 6 10.9667 6 10C6 9.03333 6.34167 8.20833 7.025 7.525C7.70833 6.84167 8.53333 6.5 9.5 6.5C10.4667 6.5 11.2917 6.84167 11.975 7.525C12.6583 8.20833 13 9.03333 13 10C13 10.9667 12.6583 11.7917 11.975 12.475C11.2917 13.1583 10.4667 13.5 9.5 13.5ZM9.5 11.5C9.91667 11.5 10.2708 11.3542 10.5625 11.0625C10.8542 10.7708 11 10.4167 11 10C11 9.58333 10.8542 9.22917 10.5625 8.9375C10.2708 8.64583 9.91667 8.5 9.5 8.5C9.08333 8.5 8.72917 8.64583 8.4375 8.9375C8.14583 9.22917 8 9.58333 8 10C8 10.4167 8.14583 10.7708 8.4375 11.0625C8.72917 11.3542 9.08333 11.5 9.5 11.5ZM16.5 14.5C15.8 14.5 15.2083 14.2583 14.725 13.775C14.2417 13.2917 14 12.7 14 12C14 11.3 14.2417 10.7083 14.725 10.225C15.2083 9.74167 15.8 9.5 16.5 9.5C17.2 9.5 17.7917 9.74167 18.275 10.225C18.7583 10.7083 19 11.3 19 12C19 12.7 18.7583 13.2917 18.275 13.775C17.7917 14.2583 17.2 14.5 16.5 14.5Z\" fill=\"currentColor\"/>`\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 profile-team-icon\"\n data-testid=\"kui-icon-wrapper-profile-team-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-profile-team-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"kong-icons.es756.js","sources":["../src/components/solid/ProfileTeamIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * ProfileTeamIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M10.3 19.8C11.05 18.2833 12.05 17.2708 13.3 16.7625C14.55 16.2542 15.6167 16 16.5 16C16.8833 16 17.2583 16.0333 17.625 16.1C17.9917 16.1667 18.35 16.25 18.7 16.35C19.1 15.7167 19.4167 15.0333 19.65 14.3C19.8833 13.5667 20 12.8 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 12.75 4.09583 13.4667 4.2875 14.15C4.47917 14.8333 4.76667 15.4667 5.15 16.05C5.83333 15.7167 6.54167 15.4583 7.275 15.275C8.00833 15.0917 8.75 15 9.5 15C10.0333 15 10.5458 15.0458 11.0375 15.1375C11.5292 15.2292 12.0167 15.35 12.5 15.5C12.1167 15.7 11.7542 15.9333 11.4125 16.2C11.0708 16.4667 10.75 16.75 10.45 17.05C10.25 17.0167 10.0792 17 9.9375 17H9.5C8.96667 17 8.4375 17.0583 7.9125 17.175C7.3875 17.2917 6.88333 17.4667 6.4 17.7C6.93333 18.2333 7.52917 18.6792 8.1875 19.0375C8.84583 19.3958 9.55 19.65 10.3 19.8ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22ZM9.5 13.5C8.53333 13.5 7.70833 13.1583 7.025 12.475C6.34167 11.7917 6 10.9667 6 10C6 9.03333 6.34167 8.20833 7.025 7.525C7.70833 6.84167 8.53333 6.5 9.5 6.5C10.4667 6.5 11.2917 6.84167 11.975 7.525C12.6583 8.20833 13 9.03333 13 10C13 10.9667 12.6583 11.7917 11.975 12.475C11.2917 13.1583 10.4667 13.5 9.5 13.5ZM9.5 11.5C9.91667 11.5 10.2708 11.3542 10.5625 11.0625C10.8542 10.7708 11 10.4167 11 10C11 9.58333 10.8542 9.22917 10.5625 8.9375C10.2708 8.64583 9.91667 8.5 9.5 8.5C9.08333 8.5 8.72917 8.64583 8.4375 8.9375C8.14583 9.22917 8 9.58333 8 10C8 10.4167 8.14583 10.7708 8.4375 11.0625C8.72917 11.3542 9.08333 11.5 9.5 11.5ZM16.5 14.5C15.8 14.5 15.2083 14.2583 14.725 13.775C14.2417 13.2917 14 12.7 14 12C14 11.3 14.2417 10.7083 14.725 10.225C15.2083 9.74167 15.8 9.5 16.5 9.5C17.2 9.5 17.7917 9.74167 18.275 10.225C18.7583 10.7083 19 11.3 19 12C19 12.7 18.7583 13.2917 18.275 13.775C17.7917 14.2583 17.2 14.5 16.5 14.5Z\" fill=\"currentColor\"/>`\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 profile-team-icon\"\n data-testid=\"kui-icon-wrapper-profile-team-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-profile-team-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,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.es758.js","sources":["../src/components/solid/ProfileIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * ProfileIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:
|
1
|
+
{"version":3,"file":"kong-icons.es758.js","sources":["../src/components/solid/ProfileIcon.vue"],"sourcesContent":["<script lang=\"ts\" setup>\n/**\n * ProfileIcon.vue\n * This file was generated via the build script. Do not edit this file directly.\n * Generated on Thu, 10 Apr 2025 16:01:03 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// eslint-disable-next-line @stylistic/quotes\nconst svgOriginalContent = `<path d=\"M5.85 17.1C6.7 16.45 7.65 15.9375 8.7 15.5625C9.75 15.1875 10.85 15 12 15C13.15 15 14.25 15.1875 15.3 15.5625C16.35 15.9375 17.3 16.45 18.15 17.1C18.7333 16.4167 19.1875 15.6417 19.5125 14.775C19.8375 13.9083 20 12.9833 20 12C20 9.78333 19.2208 7.89583 17.6625 6.3375C16.1042 4.77917 14.2167 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 12.9833 4.1625 13.9083 4.4875 14.775C4.8125 15.6417 5.26667 16.4167 5.85 17.1ZM12 13C11.0167 13 10.1875 12.6625 9.5125 11.9875C8.8375 11.3125 8.5 10.4833 8.5 9.5C8.5 8.51667 8.8375 7.6875 9.5125 7.0125C10.1875 6.3375 11.0167 6 12 6C12.9833 6 13.8125 6.3375 14.4875 7.0125C15.1625 7.6875 15.5 8.51667 15.5 9.5C15.5 10.4833 15.1625 11.3125 14.4875 11.9875C13.8125 12.6625 12.9833 13 12 13ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z\" fill=\"currentColor\"/>`\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 profile-icon\"\n data-testid=\"kui-icon-wrapper-profile-icon\"\n :style=\"rootElementStyles\"\n :tabindex=\"decorative ? '-1' : undefined\"\n >\n <svg\n :aria-hidden=\"decorative ? 'true' : undefined\"\n data-testid=\"kui-icon-svg-profile-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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAOzDM,IAAsB,GADJlB,EAAM,QAAQ,2CAA2CgB,EAAWhB,EAAM,KAAK,CAAC,aAAa,EACvE,GAAIA,EAAM,YAAuDD,IAA3CS,EAAqBT,CAAkB,CAAsB;;;;;;;;;;;;;;;;;;;;;;;;;"}
|