@versoly/plugins 0.0.8 → 0.0.9

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/dist/index.d.ts CHANGED
@@ -638,12 +638,12 @@ declare const defineConfig: <T extends VersolyPluginConfig>(config: T) => T;
638
638
  //#region src/getActivePlugins.d.ts
639
639
  declare const getActivePlugins: (HTML: string) => string[];
640
640
  declare const getFilteredPlugins: ({
641
- allPlugins,
642
641
  HTML,
642
+ allPlugins,
643
643
  activePlugins
644
644
  }: {
645
- allPlugins?: Record<string, VersolyPluginConfig>;
646
645
  HTML: string;
646
+ allPlugins?: Record<string, VersolyPluginConfig>;
647
647
  activePlugins?: string[];
648
648
  }) => VersolyPluginConfig[];
649
649
  //#endregion
package/dist/index.js CHANGED
@@ -63,7 +63,7 @@ var swiper_default = defineConfig({
63
63
  url: `https://cdnjs.cloudflare.com/ajax/libs/Swiper/9.3.2/swiper-bundle.min.js`,
64
64
  inline: false,
65
65
  defer: true
66
- }, { url: `https://cdnjs.cloudflare.com/ajax/libs/Swiper/9.3.2/swiper-bundle.min.css` }],
66
+ }, { url: `https://d1pnnwteuly8z3.cloudfront.net/libs/swiper/9.3.2/swiper.css` }],
67
67
  js: js$8,
68
68
  checks: [{ plugin: "swiper" }]
69
69
  });
@@ -641,7 +641,7 @@ var versoly_marquee_default = defineConfig({
641
641
  type: "SliderPropOption",
642
642
  propsName: "data-options.duration",
643
643
  min: 1,
644
- max: 20,
644
+ max: 40,
645
645
  stepSize: 1,
646
646
  defaultValue: 5
647
647
  },
@@ -1044,7 +1044,7 @@ const getActivePlugins = (HTML) => {
1044
1044
  });
1045
1045
  return [...new Set(activePlugins)];
1046
1046
  };
1047
- const getFilteredPlugins = ({ allPlugins = plugins, HTML, activePlugins }) => {
1047
+ const getFilteredPlugins = ({ HTML, allPlugins = plugins, activePlugins }) => {
1048
1048
  if (!activePlugins) activePlugins = getActivePlugins(HTML);
1049
1049
  return Object.values(allPlugins).filter((p) => {
1050
1050
  const { checks } = p;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versoly/plugins",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Plugins for Versoly",
5
5
  "sideEffects": false,
6
6
  "type": "module",