+1
-1
| { | ||
| "name": "toolpop", | ||
| "version": "0.4.3", | ||
| "version": "0.4.4", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
+13
-6
@@ -8,9 +8,16 @@ # 💬 Toolpop | ||
| > [!CAUTION] | ||
| > 🚨 Beware of breaking change - if you used toolpop as library you need to change pop -> createPop() in main.ts | ||
| > | ||
| > 🚨 Breaking change 🚨 | ||
| > | ||
| > The method for manually registering the ✒️ directive has changed. You now need to import and call `createPop()`. | ||
| > | ||
| > ```diff | ||
| > // main.ts | ||
| > - import { pop } from 'toolpop' | ||
| > - app.directive('pop', pop) | ||
| > | ||
| > + import { createPop } from 'toolpop' | ||
| > + app.directive('pop', createPop()) | ||
| > ``` | ||
| ```diff | ||
| - import { pop } from 'toolpop' | ||
| + import { createPop } from 'toolpop' | ||
| ``` | ||
| [DEMO](https://toolpop.jsonkody.cz) | ||
@@ -17,0 +24,0 @@ |
14982
0.87%219
3.3%