@depict-ai/utilishared 2.0.9 → 2.0.10

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/ES10/index.cjs CHANGED
@@ -274,7 +274,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
274
274
  $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
275
275
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
276
276
  $parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
277
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.9";
277
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.10";
278
278
  const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
279
279
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
280
280
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
@@ -6414,8 +6414,28 @@ function $4220ecbb68a3aade$export$5129719c04a52f8c() {
6414
6414
  }
6415
6415
  }
6416
6416
  }
6417
+ function constructor_plugin(_slider_options) {
6418
+ // Fade in removed elements as they may be added somewhere else in the DOM
6419
+ this.on_elements_changed.push(records => {
6420
+ for (const {
6421
+ removedNodes: removedNodes
6422
+ } of records) {
6423
+ for (const node of removedNodes) if (faded_els.has(node)) {
6424
+ faded_els.delete(node);
6425
+ node.animate({
6426
+ opacity: [faded_opacity_, visible_opacity_]
6427
+ }, {
6428
+ fill: "forwards",
6429
+ duration: fade_in_duration_,
6430
+ easing: easing_
6431
+ });
6432
+ }
6433
+ }
6434
+ });
6435
+ }
6417
6436
  return {
6418
- mutation_plugin_: mutation_plugin_
6437
+ mutation_plugin_: mutation_plugin_,
6438
+ constructor_plugin: constructor_plugin
6419
6439
  };
6420
6440
  }
6421
6441
  function $e243e127ad19fbf8$export$5723caf9a8335aa6(_t) {
package/ES10/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.9";
2
+ export const version = "2.0.10";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
@@ -1782,6 +1782,7 @@ export function slider_fading_factory({
1782
1782
  threshold_?: number;
1783
1783
  }): {
1784
1784
  readonly mutation_plugin_: (this: Amazing_Slider, entries: IntersectionObserverEntry[], _intersecting_mutations: Record<number, IntersectionObserverEntry>) => void;
1785
+ readonly constructor_plugin: (this: Amazing_Slider, _slider_options: Slider_Options) => void;
1785
1786
  };
1786
1787
  export function slider_fractional_factory(_t?: any, fraction?: number, max_steps?: number, dont_enable_correct_bs_targets?: boolean, min_steps?: number): {
1787
1788
  constructor_plugin: (slider_options: Slider_Options) => void;
package/ES10/index.js CHANGED
@@ -16,7 +16,7 @@ function $parcel$export(e, n, v, s) {
16
16
  function $parcel$interopDefault(a) {
17
17
  return a && a.__esModule ? a.default : a;
18
18
  }
19
- const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.9";
19
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.10";
20
20
  const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
21
21
  const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
22
22
  let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
@@ -6156,8 +6156,28 @@ function $21afac8db3f98820$export$5129719c04a52f8c() {
6156
6156
  }
6157
6157
  }
6158
6158
  }
6159
+ function constructor_plugin(_slider_options) {
6160
+ // Fade in removed elements as they may be added somewhere else in the DOM
6161
+ this.on_elements_changed.push(records => {
6162
+ for (const {
6163
+ removedNodes: removedNodes
6164
+ } of records) {
6165
+ for (const node of removedNodes) if (faded_els.has(node)) {
6166
+ faded_els.delete(node);
6167
+ node.animate({
6168
+ opacity: [faded_opacity_, visible_opacity_]
6169
+ }, {
6170
+ fill: "forwards",
6171
+ duration: fade_in_duration_,
6172
+ easing: easing_
6173
+ });
6174
+ }
6175
+ }
6176
+ });
6177
+ }
6159
6178
  return {
6160
- mutation_plugin_: mutation_plugin_
6179
+ mutation_plugin_: mutation_plugin_,
6180
+ constructor_plugin: constructor_plugin
6161
6181
  };
6162
6182
  }
6163
6183
  function $0cbf24ae3e670238$export$5723caf9a8335aa6(_t) {
package/latest/index.cjs CHANGED
@@ -271,7 +271,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
271
271
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
272
272
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
273
273
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
274
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.9";
274
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.10";
275
275
  const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
276
276
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
277
277
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -5894,8 +5894,28 @@ function $f70ff79e6e286cc2$export$5129719c04a52f8c({
5894
5894
  }
5895
5895
  }
5896
5896
  }
5897
+ function constructor_plugin(_slider_options) {
5898
+ // Fade in removed elements as they may be added somewhere else in the DOM
5899
+ this.on_elements_changed.push(records => {
5900
+ for (const {
5901
+ removedNodes: removedNodes
5902
+ } of records) {
5903
+ for (const node of removedNodes) if (faded_els.has(node)) {
5904
+ faded_els.delete(node);
5905
+ node.animate({
5906
+ opacity: [faded_opacity_, visible_opacity_]
5907
+ }, {
5908
+ fill: "forwards",
5909
+ duration: fade_in_duration_,
5910
+ easing: easing_
5911
+ });
5912
+ }
5913
+ }
5914
+ });
5915
+ }
5897
5916
  return {
5898
- mutation_plugin_: mutation_plugin_
5917
+ mutation_plugin_: mutation_plugin_,
5918
+ constructor_plugin: constructor_plugin
5899
5919
  };
5900
5920
  }
5901
5921
  function $91f7baba008bce7d$export$5723caf9a8335aa6(_t, fraction = 1, max_steps, dont_enable_correct_bs_targets, min_steps) {
package/latest/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.9";
2
+ export const version = "2.0.10";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
@@ -1782,6 +1782,7 @@ export function slider_fading_factory({
1782
1782
  threshold_?: number;
1783
1783
  }): {
1784
1784
  readonly mutation_plugin_: (this: Amazing_Slider, entries: IntersectionObserverEntry[], _intersecting_mutations: Record<number, IntersectionObserverEntry>) => void;
1785
+ readonly constructor_plugin: (this: Amazing_Slider, _slider_options: Slider_Options) => void;
1785
1786
  };
1786
1787
  export function slider_fractional_factory(_t?: any, fraction?: number, max_steps?: number, dont_enable_correct_bs_targets?: boolean, min_steps?: number): {
1787
1788
  constructor_plugin: (slider_options: Slider_Options) => void;
package/latest/index.js CHANGED
@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {
13
13
  function $parcel$interopDefault(a) {
14
14
  return a && a.__esModule ? a.default : a;
15
15
  }
16
- const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.9";
16
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.10";
17
17
  const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
18
18
  const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
19
19
  let $649f456f663da9fc$var$browser_prefix = "[Depict]";
@@ -5636,8 +5636,28 @@ function $1ce2ae6f640f393f$export$5129719c04a52f8c({
5636
5636
  }
5637
5637
  }
5638
5638
  }
5639
+ function constructor_plugin(_slider_options) {
5640
+ // Fade in removed elements as they may be added somewhere else in the DOM
5641
+ this.on_elements_changed.push(records => {
5642
+ for (const {
5643
+ removedNodes: removedNodes
5644
+ } of records) {
5645
+ for (const node of removedNodes) if (faded_els.has(node)) {
5646
+ faded_els.delete(node);
5647
+ node.animate({
5648
+ opacity: [faded_opacity_, visible_opacity_]
5649
+ }, {
5650
+ fill: "forwards",
5651
+ duration: fade_in_duration_,
5652
+ easing: easing_
5653
+ });
5654
+ }
5655
+ }
5656
+ });
5657
+ }
5639
5658
  return {
5640
- mutation_plugin_: mutation_plugin_
5659
+ mutation_plugin_: mutation_plugin_,
5660
+ constructor_plugin: constructor_plugin
5641
5661
  };
5642
5662
  }
5643
5663
  function $52292921bc0fc31f$export$5723caf9a8335aa6(_t, fraction = 1, max_steps, dont_enable_correct_bs_targets, min_steps) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/utilishared",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "packageManager": "yarn@3.2.2",
5
5
  "source": "src/index.ts",
6
6
  "types": "ES10/index.d.ts",
@@ -274,7 +274,7 @@ $parcel$export(module.exports, "version", () => $ce0ab19b284b64fa$export$83d89fb
274
274
  $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$export$2cefb7e61fcbae00);
275
275
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
276
276
  $parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
277
- const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.9";
277
+ const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "2.0.10";
278
278
  const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
279
279
  const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
280
280
  let $7f95f77417d06249$var$browser_prefix = "[Depict]";
@@ -6400,8 +6400,28 @@ function $4220ecbb68a3aade$export$5129719c04a52f8c() {
6400
6400
  }
6401
6401
  }
6402
6402
  }
6403
+ function constructor_plugin(_slider_options) {
6404
+ // Fade in removed elements as they may be added somewhere else in the DOM
6405
+ this.on_elements_changed.push(records => {
6406
+ for (const {
6407
+ removedNodes: removedNodes
6408
+ } of records) {
6409
+ for (const node of removedNodes) if (faded_els.has(node)) {
6410
+ faded_els.delete(node);
6411
+ node.animate({
6412
+ opacity: [faded_opacity_, visible_opacity_]
6413
+ }, {
6414
+ fill: "forwards",
6415
+ duration: fade_in_duration_,
6416
+ easing: easing_
6417
+ });
6418
+ }
6419
+ }
6420
+ });
6421
+ }
6403
6422
  return {
6404
- mutation_plugin_: mutation_plugin_
6423
+ mutation_plugin_: mutation_plugin_,
6424
+ constructor_plugin: constructor_plugin
6405
6425
  };
6406
6426
  }
6407
6427
  function $e243e127ad19fbf8$export$5723caf9a8335aa6(_t) {
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.9";
2
+ export const version = "2.0.10";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
@@ -1782,6 +1782,7 @@ export function slider_fading_factory({
1782
1782
  threshold_?: number;
1783
1783
  }): {
1784
1784
  readonly mutation_plugin_: (this: Amazing_Slider, entries: IntersectionObserverEntry[], _intersecting_mutations: Record<number, IntersectionObserverEntry>) => void;
1785
+ readonly constructor_plugin: (this: Amazing_Slider, _slider_options: Slider_Options) => void;
1785
1786
  };
1786
1787
  export function slider_fractional_factory(_t?: any, fraction?: number, max_steps?: number, dont_enable_correct_bs_targets?: boolean, min_steps?: number): {
1787
1788
  constructor_plugin: (slider_options: Slider_Options) => void;
@@ -16,7 +16,7 @@ function $parcel$export(e, n, v, s) {
16
16
  function $parcel$interopDefault(a) {
17
17
  return a && a.__esModule ? a.default : a;
18
18
  }
19
- const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.9";
19
+ const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.10";
20
20
  const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
21
21
  const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
22
22
  let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
@@ -6142,8 +6142,28 @@ function $21afac8db3f98820$export$5129719c04a52f8c() {
6142
6142
  }
6143
6143
  }
6144
6144
  }
6145
+ function constructor_plugin(_slider_options) {
6146
+ // Fade in removed elements as they may be added somewhere else in the DOM
6147
+ this.on_elements_changed.push(records => {
6148
+ for (const {
6149
+ removedNodes: removedNodes
6150
+ } of records) {
6151
+ for (const node of removedNodes) if (faded_els.has(node)) {
6152
+ faded_els.delete(node);
6153
+ node.animate({
6154
+ opacity: [faded_opacity_, visible_opacity_]
6155
+ }, {
6156
+ fill: "forwards",
6157
+ duration: fade_in_duration_,
6158
+ easing: easing_
6159
+ });
6160
+ }
6161
+ }
6162
+ });
6163
+ }
6145
6164
  return {
6146
- mutation_plugin_: mutation_plugin_
6165
+ mutation_plugin_: mutation_plugin_,
6166
+ constructor_plugin: constructor_plugin
6147
6167
  };
6148
6168
  }
6149
6169
  function $0cbf24ae3e670238$export$5723caf9a8335aa6(_t) {
@@ -271,7 +271,7 @@ $parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fb
271
271
  $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
272
272
  $parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
273
273
  $parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
274
- const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.9";
274
+ const $815f67c61b4c0a42$export$83d89fbfd8236492 = "2.0.10";
275
275
  const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
276
276
  const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
277
277
  let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
@@ -5880,8 +5880,28 @@ function $f70ff79e6e286cc2$export$5129719c04a52f8c({
5880
5880
  }
5881
5881
  }
5882
5882
  }
5883
+ function constructor_plugin(_slider_options) {
5884
+ // Fade in removed elements as they may be added somewhere else in the DOM
5885
+ this.on_elements_changed.push(records => {
5886
+ for (const {
5887
+ removedNodes: removedNodes
5888
+ } of records) {
5889
+ for (const node of removedNodes) if (faded_els.has(node)) {
5890
+ faded_els.delete(node);
5891
+ node.animate({
5892
+ opacity: [faded_opacity_, visible_opacity_]
5893
+ }, {
5894
+ fill: "forwards",
5895
+ duration: fade_in_duration_,
5896
+ easing: easing_
5897
+ });
5898
+ }
5899
+ }
5900
+ });
5901
+ }
5883
5902
  return {
5884
- mutation_plugin_: mutation_plugin_
5903
+ mutation_plugin_: mutation_plugin_,
5904
+ constructor_plugin: constructor_plugin
5885
5905
  };
5886
5906
  }
5887
5907
  function $91f7baba008bce7d$export$5723caf9a8335aa6(_t, fraction = 1, max_steps, dont_enable_correct_bs_targets, min_steps) {
@@ -1,5 +1,5 @@
1
1
  import { JSX, Accessor } from "solid-js";
2
- export const version = "2.0.9";
2
+ export const version = "2.0.10";
3
3
  export const is_debug: boolean;
4
4
  /**
5
5
  * Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
@@ -1782,6 +1782,7 @@ export function slider_fading_factory({
1782
1782
  threshold_?: number;
1783
1783
  }): {
1784
1784
  readonly mutation_plugin_: (this: Amazing_Slider, entries: IntersectionObserverEntry[], _intersecting_mutations: Record<number, IntersectionObserverEntry>) => void;
1785
+ readonly constructor_plugin: (this: Amazing_Slider, _slider_options: Slider_Options) => void;
1785
1786
  };
1786
1787
  export function slider_fractional_factory(_t?: any, fraction?: number, max_steps?: number, dont_enable_correct_bs_targets?: boolean, min_steps?: number): {
1787
1788
  constructor_plugin: (slider_options: Slider_Options) => void;
@@ -13,7 +13,7 @@ function $parcel$export(e, n, v, s) {
13
13
  function $parcel$interopDefault(a) {
14
14
  return a && a.__esModule ? a.default : a;
15
15
  }
16
- const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.9";
16
+ const $0766c85d387a9765$export$83d89fbfd8236492 = "2.0.10";
17
17
  const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
18
18
  const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
19
19
  let $649f456f663da9fc$var$browser_prefix = "[Depict]";
@@ -5622,8 +5622,28 @@ function $1ce2ae6f640f393f$export$5129719c04a52f8c({
5622
5622
  }
5623
5623
  }
5624
5624
  }
5625
+ function constructor_plugin(_slider_options) {
5626
+ // Fade in removed elements as they may be added somewhere else in the DOM
5627
+ this.on_elements_changed.push(records => {
5628
+ for (const {
5629
+ removedNodes: removedNodes
5630
+ } of records) {
5631
+ for (const node of removedNodes) if (faded_els.has(node)) {
5632
+ faded_els.delete(node);
5633
+ node.animate({
5634
+ opacity: [faded_opacity_, visible_opacity_]
5635
+ }, {
5636
+ fill: "forwards",
5637
+ duration: fade_in_duration_,
5638
+ easing: easing_
5639
+ });
5640
+ }
5641
+ }
5642
+ });
5643
+ }
5625
5644
  return {
5626
- mutation_plugin_: mutation_plugin_
5645
+ mutation_plugin_: mutation_plugin_,
5646
+ constructor_plugin: constructor_plugin
5627
5647
  };
5628
5648
  }
5629
5649
  function $52292921bc0fc31f$export$5723caf9a8335aa6(_t, fraction = 1, max_steps, dont_enable_correct_bs_targets, min_steps) {