drab 5.2.0 → 5.2.2
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,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "drab",
|
3
3
|
"description": "A headless custom element library",
|
4
|
-
"version": "5.2.
|
4
|
+
"version": "5.2.2",
|
5
5
|
"homepage": "https://drab.robino.dev",
|
6
6
|
"license": "MIT",
|
7
7
|
"author": {
|
@@ -37,8 +37,8 @@
|
|
37
37
|
"default": "./index.js"
|
38
38
|
},
|
39
39
|
"./define": {
|
40
|
-
"types": "./define
|
41
|
-
"default": "./define
|
40
|
+
"types": "./define.d.ts",
|
41
|
+
"default": "./define.js"
|
42
42
|
},
|
43
43
|
"./animate": {
|
44
44
|
"types": "./animate/index.d.ts",
|
@@ -175,18 +175,18 @@
|
|
175
175
|
},
|
176
176
|
"devDependencies": {
|
177
177
|
"@tailwindcss/typography": "^0.5.10",
|
178
|
-
"@types/node": "^20.11.
|
178
|
+
"@types/node": "^20.11.19",
|
179
179
|
"autoprefixer": "^10.4.17",
|
180
|
-
"domco": "^0.
|
181
|
-
"prettier": "^3.2.
|
180
|
+
"domco": "^0.5.1",
|
181
|
+
"prettier": "^3.2.5",
|
182
182
|
"prettier-plugin-tailwindcss": "^0.5.11",
|
183
183
|
"robino": "^0.1.0",
|
184
184
|
"tailwindcss": "^3.4.1",
|
185
|
-
"tsup": "^8.0.
|
186
|
-
"typedoc": "^0.25.
|
185
|
+
"tsup": "^8.0.2",
|
186
|
+
"typedoc": "^0.25.8",
|
187
187
|
"typedoc-plugin-markdown": "^3.17.1",
|
188
188
|
"typescript": "^5.3.3",
|
189
189
|
"uico": "^0.2.2",
|
190
|
-
"vite": "^5.
|
190
|
+
"vite": "^5.1.3"
|
191
191
|
}
|
192
192
|
}
|
package/prefetch/index.d.ts
CHANGED
@@ -4,6 +4,7 @@ type Strategy = "hover" | "load" | "visible";
|
|
4
4
|
export type PrefetchAttributes = Attributes<Prefetch> & Partial<{
|
5
5
|
strategy: Strategy;
|
6
6
|
prerender: boolean;
|
7
|
+
url: string;
|
7
8
|
}>;
|
8
9
|
/**
|
9
10
|
* The `Prefetch` element can prefetch a url, or enhance the `HTMLAnchorElement` by loading
|
@@ -11,8 +12,8 @@ export type PrefetchAttributes = Attributes<Prefetch> & Partial<{
|
|
11
12
|
* multi-page applications (MPAs).
|
12
13
|
*
|
13
14
|
* If you are using a framework that already has a prefetch feature or uses a client side router,
|
14
|
-
* it is best to use the framework's feature instead of this element to
|
15
|
-
* accordance with the router.
|
15
|
+
* it is best to use the framework's feature instead of this element to ensure
|
16
|
+
* prefetching is working in accordance with the router.
|
16
17
|
*
|
17
18
|
* `strategy`
|
18
19
|
*
|
package/prefetch/index.js
CHANGED
@@ -5,8 +5,8 @@ import { Base } from "../base/index.js";
|
|
5
5
|
* multi-page applications (MPAs).
|
6
6
|
*
|
7
7
|
* If you are using a framework that already has a prefetch feature or uses a client side router,
|
8
|
-
* it is best to use the framework's feature instead of this element to
|
9
|
-
* accordance with the router.
|
8
|
+
* it is best to use the framework's feature instead of this element to ensure
|
9
|
+
* prefetching is working in accordance with the router.
|
10
10
|
*
|
11
11
|
* `strategy`
|
12
12
|
*
|
File without changes
|