stimulus-library 0.7.4 → 0.7.5
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/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/dist/mixins/create_mixin.d.ts +1 -1
- package/dist/mixins/create_mixin.d.ts.map +1 -1
- package/dist/mixins/install_class_methods.d.ts +1 -1
- package/dist/mixins/install_class_methods.d.ts.map +1 -1
- package/dist/mixins/use_click_outside.d.ts +1 -1
- package/dist/mixins/use_click_outside.d.ts.map +1 -1
- package/dist/mixins/use_event_bus.d.ts +1 -1
- package/dist/mixins/use_event_bus.d.ts.map +1 -1
- package/dist/mixins/use_event_listener.d.ts +1 -1
- package/dist/mixins/use_event_listener.d.ts.map +1 -1
- package/dist/mixins/use_fullscreen.d.ts +1 -1
- package/dist/mixins/use_fullscreen.d.ts.map +1 -1
- package/dist/mixins/use_geolocation.d.ts +1 -1
- package/dist/mixins/use_geolocation.d.ts.map +1 -1
- package/dist/mixins/use_hover.d.ts +1 -1
- package/dist/mixins/use_hover.d.ts.map +1 -1
- package/dist/mixins/use_injected_html.d.ts +1 -1
- package/dist/mixins/use_injected_html.d.ts.map +1 -1
- package/dist/mixins/use_intersection.d.ts +1 -1
- package/dist/mixins/use_intersection.d.ts.map +1 -1
- package/dist/mixins/use_interval.d.ts +1 -1
- package/dist/mixins/use_interval.d.ts.map +1 -1
- package/dist/mixins/use_localstorage.d.ts +1 -1
- package/dist/mixins/use_localstorage.d.ts.map +1 -1
- package/dist/mixins/use_mutation_observer.d.ts +1 -1
- package/dist/mixins/use_mutation_observer.d.ts.map +1 -1
- package/dist/mixins/use_temporary_content.d.ts +1 -1
- package/dist/mixins/use_temporary_content.d.ts.map +1 -1
- package/dist/mixins/use_timeout.d.ts +1 -1
- package/dist/mixins/use_timeout.d.ts.map +1 -1
- package/dist/mixins/use_trix_modifiers.d.ts +1 -1
- package/dist/mixins/use_trix_modifiers.d.ts.map +1 -1
- package/dist/stimulus-library.cjs.js +1 -1
- package/dist/stimulus-library.cjs.js.map +1 -1
- package/dist/stimulus-library.es.js +340 -1
- package/dist/stimulus-library.es.js.map +1 -1
- package/dist/stimulus-library.umd.js +1 -1
- package/dist/stimulus-library.umd.js.map +1 -1
- package/dist/utilities/base_controller.d.ts +1 -1
- package/dist/utilities/base_controller.d.ts.map +1 -1
- package/dist/utilities/events.d.ts +1 -1
- package/dist/utilities/events.d.ts.map +1 -1
- package/dist/utilities/logging.d.ts +1 -1
- package/dist/utilities/logging.d.ts.map +1 -1
- package/dist/utilities/stimulus.d.ts +1 -1
- package/dist/utilities/stimulus.d.ts.map +1 -1
- package/package.json +7 -10
- package/dist/mixins/use_resize.d.ts +0 -5
- package/dist/mixins/use_resize.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.7.5](https://github.com/Sub-Xaero/stimulus-library/compare/v0.7.4...v0.7.5) (2022-04-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* For compatibility with multiple versions of Stimulus / @hotwired/stimulus npm packages, the runtime parts of stimulus necessary for the library to function are now bundled with the library instead of required as a peerDependency. Only incurs 2kb Gzipped. Will remove when @hotwired/stimulus has more market-share than stimulus, currently 50/50 ([50a97df](https://github.com/Sub-Xaero/stimulus-library/commit/50a97df7badc9ac4f91502e0cae6b61a2d8cc8c1))
|
|
11
|
+
|
|
5
12
|
### [0.7.4](https://github.com/Sub-Xaero/stimulus-library/compare/v0.7.3...v0.7.4) (2022-02-21)
|
|
6
13
|
|
|
7
14
|
|
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Then, to get started, import and register the controllers you want to use.
|
|
|
30
30
|
*Please Note* as below, that when registering the name for the controller, you should use `kebab-case` and omit the `-controller` suffix.
|
|
31
31
|
|
|
32
32
|
```js
|
|
33
|
-
import { Application } from "stimulus";
|
|
33
|
+
import { Application } from "@hotwired/stimulus";
|
|
34
34
|
import { AutoSubmitFormController } from "stimulus-library";
|
|
35
35
|
|
|
36
36
|
const application = Application.start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_mixin.d.ts","sourceRoot":"","sources":["../../src/mixins/create_mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"create_mixin.d.ts","sourceRoot":"","sources":["../../src/mixins/create_mixin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C,wBAAgB,QAAQ,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,IAAI,EAAE,QAAQ,EAAE,MAAM,IAAI,cAavF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install_class_methods.d.ts","sourceRoot":"","sources":["../../src/mixins/install_class_methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"install_class_methods.d.ts","sourceRoot":"","sources":["../../src/mixins/install_class_methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAI9C,qBAAa,sCAAuC,SAAQ,UAAU;IACpE,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAA;CACrB;AAsBD,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,sCAAsC,QAIrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_click_outside.d.ts","sourceRoot":"","sources":["../../src/mixins/use_click_outside.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_click_outside.d.ts","sourceRoot":"","sources":["../../src/mixins/use_click_outside.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAK9C,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;;EAiB7G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_event_bus.d.ts","sourceRoot":"","sources":["../../src/mixins/use_event_bus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_event_bus.d.ts","sourceRoot":"","sources":["../../src/mixins/use_event_bus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAM9C,wBAAgB,WAAW,CAAC,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE;;;EAgBvJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Controller } from "stimulus";
|
|
1
|
+
import { Controller } from "@hotwired/stimulus";
|
|
2
2
|
export declare function useEventListener(controller: Controller, element: Document | Window | HTMLElement, eventNameOrNames: string | string[], handler: (...args: any[]) => void, opts?: AddEventListenerOptions & {
|
|
3
3
|
debounce?: number;
|
|
4
4
|
}): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_event_listener.d.ts","sourceRoot":"","sources":["../../src/mixins/use_event_listener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_event_listener.d.ts","sourceRoot":"","sources":["../../src/mixins/use_event_listener.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAK9C,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,CAAC,EAAE,uBAAuB,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE;;;EAchO;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,CAAC,EAAE,uBAAuB,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE;;;EAEjO;AAED,wBAAgB,0BAA0B,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,CAAC,EAAE,uBAAuB,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,kBAUlP;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAG,MAAM,GAAG,WAAW,CAAC,EAAE,gBAAgB,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,IAAI,CAAC,EAAE,uBAAuB,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,kBAEnP"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_fullscreen.d.ts","sourceRoot":"","sources":["../../src/mixins/use_fullscreen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_fullscreen.d.ts","sourceRoot":"","sources":["../../src/mixins/use_fullscreen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAG9C,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,EAAE,EAAE,CAAC,EAAE,OAAO;wBAKvC,OAAO;;;;;EA8BjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_geolocation.d.ts","sourceRoot":"","sources":["../../src/mixins/use_geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_geolocation.d.ts","sourceRoot":"","sources":["../../src/mixins/use_geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAI9C,MAAM,WAAW,kBAAmB,SAAQ,OAAO,CAAC,eAAe,CAAC;CACnE;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACvC,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;QAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;QAChC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB,CAAC;IACF,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,GAAE,kBAAuB,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,mBA0E3J"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Controller } from "stimulus";
|
|
1
|
+
import { Controller } from "@hotwired/stimulus";
|
|
2
2
|
export declare function useHover(controller: Controller, element: HTMLElement, enter?: ((event: Event) => void) | null, leave?: ((event: Event) => void) | null): {
|
|
3
3
|
teardown: () => void;
|
|
4
4
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_hover.d.ts","sourceRoot":"","sources":["../../src/mixins/use_hover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_hover.d.ts","sourceRoot":"","sources":["../../src/mixins/use_hover.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAI9C,wBAAgB,QAAQ,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC,GAAG,IAAI;;EA8BtJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Controller } from "stimulus";
|
|
1
|
+
import { Controller } from "@hotwired/stimulus";
|
|
2
2
|
export declare function useInjectedFragment(controller: Controller, targetElement: HTMLElement, insertPosition: InsertPosition, fragment: DocumentFragment, options?: {
|
|
3
3
|
cleanup?: boolean;
|
|
4
4
|
}): [ChildNode[], () => void];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_injected_html.d.ts","sourceRoot":"","sources":["../../src/mixins/use_injected_html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_injected_html.d.ts","sourceRoot":"","sources":["../../src/mixins/use_injected_html.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAG9C,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,gBAAgB,EAAE,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC,CA4BlN;AAED,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,CAAC,SAAS,EAAE,EAAE,MAAM,IAAI,CAAC,CAGhM;AAED,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG,CAAC,SAAS,EAAE,MAAM,IAAI,CAAC,CAKzM"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Controller } from "stimulus";
|
|
1
|
+
import { Controller } from "@hotwired/stimulus";
|
|
2
2
|
export declare function useIntersectionObserver(controller: Controller, handler: IntersectionObserverCallback, options?: IntersectionObserverInit): {
|
|
3
3
|
observer: IntersectionObserver;
|
|
4
4
|
teardown: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_intersection.d.ts","sourceRoot":"","sources":["../../src/mixins/use_intersection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_intersection.d.ts","sourceRoot":"","sources":["../../src/mixins/use_intersection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAG9C,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,4BAA4B,EAAE,OAAO,CAAC,EAAE,wBAAwB;;;uBAQ/G,WAAW;yBACT,WAAW;EAQtC;AAED,wBAAgB,eAAe,CAC7B,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,WAAW,EACpB,MAAM,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC,EAC5D,SAAS,CAAC,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC,EAC/D,OAAO,CAAC,EAAE,wBAAwB;;;;;EA4BnC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_interval.d.ts","sourceRoot":"","sources":["../../src/mixins/use_interval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_interval.d.ts","sourceRoot":"","sources":["../../src/mixins/use_interval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAG9C,wBAAgB,WAAW,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,QAAQ,EAAE,MAAM,cAatG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_localstorage.d.ts","sourceRoot":"","sources":["../../src/mixins/use_localstorage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_localstorage.d.ts","sourceRoot":"","sources":["../../src/mixins/use_localstorage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAI9C,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC1B,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAA;IAC3B,SAAS,CAAC,KAAK,EAAE,CAAC,GAAG,MAAM,CAAA;IAC3B,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,OAAO,CAAA;CAC3B,CAAA;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC;IAClC,IAAI,KAAK,IAAI,CAAC,CAAC;IAEf,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC,EAAE;IAEpB,IAAI,IAAI,CAAC,CAAC;IAEV,KAAK,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;IAEtB,KAAK,IAAI,IAAI,CAAC;IAEd,OAAO,IAAI,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,CAAA;CA6C9J,CAAC;AAEF,wBAAgB,eAAe,CAAC,CAAC,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,EAAE,IAAI,GAAE;IAAE,aAAa,EAAE,OAAO,CAAA;CAA0B,GAAG,iBAAiB,CAAC,CAAC,CAAC,CA4EvK"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Controller } from "stimulus";
|
|
1
|
+
import { Controller } from "@hotwired/stimulus";
|
|
2
2
|
export declare function useMutationObserver(controller: Controller, element: HTMLElement, handler: (entries: MutationRecord[]) => void, options: MutationObserverInit): () => void;
|
|
3
3
|
//# sourceMappingURL=use_mutation_observer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_mutation_observer.d.ts","sourceRoot":"","sources":["../../src/mixins/use_mutation_observer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_mutation_observer.d.ts","sourceRoot":"","sources":["../../src/mixins/use_mutation_observer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAG9C,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,cAAc,EAAE,KAAK,IAAI,EAAE,OAAO,EAAE,oBAAoB,cAS5J"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Controller } from "stimulus";
|
|
1
|
+
import { Controller } from "@hotwired/stimulus";
|
|
2
2
|
export declare function useTemporaryContent(controller: Controller, target: HTMLElement, content: string, timeout?: number, teardownCallback?: () => void): {
|
|
3
3
|
teardown: () => void;
|
|
4
4
|
update(newContent: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_temporary_content.d.ts","sourceRoot":"","sources":["../../src/mixins/use_temporary_content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_temporary_content.d.ts","sourceRoot":"","sources":["../../src/mixins/use_temporary_content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAK9C,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,IAAI;;uBAoC1H,MAAM;EAI5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_timeout.d.ts","sourceRoot":"","sources":["../../src/mixins/use_timeout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_timeout.d.ts","sourceRoot":"","sources":["../../src/mixins/use_timeout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAI9C,wBAAgB,UAAU,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,EAAE,OAAO,EAAE,MAAM,cAqBpG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use_trix_modifiers.d.ts","sourceRoot":"","sources":["../../src/mixins/use_trix_modifiers.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"use_trix_modifiers.d.ts","sourceRoot":"","sources":["../../src/mixins/use_trix_modifiers.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,qBAAa,wBAAyB,SAAQ,UAAU;IAC9C,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAClD,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,mBAAmB,KAAK,IAAI,CAAC;CAC7D;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,wBAAwB,QA2EpE"}
|