{"version":3,"file":"index.cjs","names":["Icon","tip"],"sources":["../../src/tip/index.tsx"],"sourcesContent":["import { Icon, tip } from '@wordpress/icons';\nimport deprecated from '@wordpress/deprecated';\nimport type { TipProps } from './types';\n\n/**\n * Displays a contextual tip with a decorative light-bulb icon.\n *\n * @deprecated Use `Notice.Root` and `Notice.Description` from `@wordpress/ui` instead.\n */\nexport function Tip( props: TipProps ) {\n\tconst { children } = props;\n\n\tdeprecated( 'wp.components.Tip', {\n\t\tsince: '7.2',\n\t\tversion: '7.4',\n\t\talternative: 'Notice from @wordpress/ui',\n\t} );\n\n\treturn (\n\t\t<div className=\"components-tip\">\n\t\t\t<Icon icon={ tip } />\n\t\t\t<p>{ children }</p>\n\t\t</div>\n\t);\n}\n\nexport default Tip;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAgB,IAAK,OAAkB;CACtC,MAAM,EAAE,aAAa;CAErB,CAAA,GAAA,sBAAA,QAAA,CAAY,qBAAqB;EAChC,OAAO;EACP,SAAS;EACT,aAAa;CACd,CAAE;CAEF,OACC,iBAAA,GAAA,kBAAA,KAAA,CAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACC,iBAAA,GAAA,kBAAA,IAAA,CAACA,iBAAAA,MAAD,EAAM,MAAOC,iBAAAA,IAAO,CAAA,GACpB,iBAAA,GAAA,kBAAA,IAAA,CAAC,KAAD,EAAK,SAAa,CAAA,CACd;;AAEP"}