vueless 0.0.659 → 0.0.660

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.659",
3
+ "version": "0.0.660",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -198,8 +198,10 @@ function transformValue(value: string | number, exp: string | RegExp) {
198
198
  return matches ? matches.join("") : "";
199
199
  }
200
200
 
201
- useMutationObserver(leftSlotWrapperRef, (mutations) => {
202
- mutations.forEach(setLabelPosition);
201
+ useMutationObserver(leftSlotWrapperRef, (mutations) => mutations.forEach(setLabelPosition), {
202
+ childList: true,
203
+ characterData: true,
204
+ subtree: true,
203
205
  });
204
206
 
205
207
  function setLabelPosition() {
@@ -154,8 +154,10 @@ function toggleReadonly(hasReadonly: boolean) {
154
154
  }
155
155
  }
156
156
 
157
- useMutationObserver(leftSlotWrapperRef, (mutations) => {
158
- mutations.forEach(setLabelPosition);
157
+ useMutationObserver(leftSlotWrapperRef, (mutations) => mutations.forEach(setLabelPosition), {
158
+ childList: true,
159
+ characterData: true,
160
+ subtree: true,
159
161
  });
160
162
 
161
163
  function setLabelPosition() {