From 17ae20df86904870f8a95548f324953aa3c4b69f Mon Sep 17 00:00:00 2001 From: jorenbroekema Date: Mon, 28 Feb 2022 16:49:44 +0100 Subject: [PATCH] chore: refactor to reactive controller --- .../components/inputs/input-range/features.md | 7 ++- packages/core/index.d.ts | 2 +- packages/core/index.js | 2 +- packages/core/src/ScopedStylesController.js | 49 +++++++++++++++++ packages/core/src/ScopedStylesMixin.js | 55 ------------------- ...test.js => ScopedStylesController.test.js} | 25 ++++++--- .../core/types/ScopedStylesMixinTypes.d.ts | 20 ------- packages/input-range/src/LionInputRange.js | 6 +- packages/input/src/LionInput.js | 4 +- 9 files changed, 79 insertions(+), 91 deletions(-) delete mode 100644 packages/core/src/ScopedStylesMixin.js rename packages/core/test/{ScopedStylesMixin.test.js => ScopedStylesController.test.js} (68%) delete mode 100644 packages/core/types/ScopedStylesMixinTypes.d.ts diff --git a/docs/components/inputs/input-range/features.md b/docs/components/inputs/input-range/features.md index 98ab22726..0cc776eeb 100644 --- a/docs/components/inputs/input-range/features.md +++ b/docs/components/inputs/input-range/features.md @@ -88,15 +88,16 @@ The pseudo-elements associated with the slider track/thumb are not tree-abiding, ``` This means you will need to style the slotted native input from the LightDOM, -and for this we added a helper method to `LionInputRange` which inserts a `