{"map":"{\"version\":3,\"file\":\"createCustomPropertyObserver.js\",\"sourceRoot\":\"\",\"sources\":[\"../../../src/dom/createCustomPropertyObserver.ts\"],\"names\":[],\"mappings\":\"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,uCAAuC,SAAiB,EAAE,SAAsB,QAAQ,CAAC,eAAe;IAC5G,MAAM,CAAC,UAAU,KAAsB;QACrC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;IACxD,CAAC,CAAC;AACJ,CAAC;AACD,eAAe,4BAA4B,CAAC\"}","code":"/** @license\r\n *  Copyright 2016 - present The Material Motion Authors. All Rights Reserved.\r\n *\r\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\r\n *  use this file except in compliance with the License. You may obtain a copy\r\n *  of the License at\r\n *\r\n *      http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n *  Unless required by applicable law or agreed to in writing, software\r\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\r\n *  License for the specific language governing permissions and limitations\r\n *  under the License.\r\n */\r\nexport function createCustomPropertyObserver(styleName, target = document.documentElement) {\r\n    return function (value) {\r\n        target.style.setProperty(styleName, value.toString());\r\n    };\r\n}\r\nexport default createCustomPropertyObserver;\r\n//# sourceMappingURL=createCustomPropertyObserver.js.map","dts":{"name":"/Users/brentons/Projects/material-motion-js/packages/core/dom/createCustomPropertyObserver.d.ts","text":"/** @license\r\n *  Copyright 2016 - present The Material Motion Authors. All Rights Reserved.\r\n *\r\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\r\n *  use this file except in compliance with the License. You may obtain a copy\r\n *  of the License at\r\n *\r\n *      http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n *  Unless required by applicable law or agreed to in writing, software\r\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\r\n *  License for the specific language governing permissions and limitations\r\n *  under the License.\r\n */\r\nexport declare function createCustomPropertyObserver(styleName: string, target?: HTMLElement): (value: string | number) => void;\r\nexport default createCustomPropertyObserver;\r\n"}}
