elegance-js 2.1.24 → 2.1.26

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.
@@ -1,4 +1,4 @@
1
- import { AnyElement, ElementOptionsOrChild } from "../elements/element";
1
+ import { AnyElement, ElementOptionsOrChild, SpecialElementOption } from "../elements/element";
2
2
  /**
3
3
  * Create a custom anchor element that let's you hook into client-side navigation.
4
4
  * If provided a URL that is non-local, it will default to normal navigation.
@@ -8,7 +8,7 @@ import { AnyElement, ElementOptionsOrChild } from "../elements/element";
8
8
  */
9
9
  type ExtraOptions = {
10
10
  /** Mandatory, where this Link should take the user to. */
11
- href: string;
11
+ href: string | SpecialElementOption;
12
12
  /** Set window.scrollTop to 0 whenever this link navigates. */
13
13
  resetScrollOnNav?: boolean;
14
14
  };
@@ -212,7 +212,7 @@ export type SpecificPropsMap = {
212
212
  };
213
213
  meta: {
214
214
  name?: MaybeSpecial<string>;
215
- httpEquiv?: MaybeSpecial<string>;
215
+ "http-equiv"?: MaybeSpecial<string>;
216
216
  content?: MaybeSpecial<string>;
217
217
  charset?: MaybeSpecial<string>;
218
218
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "2.1.24",
3
+ "version": "2.1.26",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",