svelte-common 4.22.17 → 4.22.18
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/README.md +5 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ Type: [Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Globa
|
|
|
64
64
|
* `default` **any?** the default value
|
|
65
65
|
* `set` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** set the value
|
|
66
66
|
* `get` **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)?** get the value can be used to calculate default values
|
|
67
|
-
* `env` **([
|
|
67
|
+
* `env` **([Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)> | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))?** environment variable use to provide the value
|
|
68
68
|
|
|
69
69
|
## tokens
|
|
70
70
|
|
|
@@ -152,7 +152,7 @@ Synchronizes store value with the nodes "aria-sort" attribute.
|
|
|
152
152
|
|
|
153
153
|
### Parameters
|
|
154
154
|
|
|
155
|
-
* `th` **[
|
|
155
|
+
* `th` **[Element](https://developer.mozilla.org/docs/Web/API/Element)** the header node
|
|
156
156
|
* `store` **WritableStore** keep in sync with sorting properties
|
|
157
157
|
|
|
158
158
|
## sorter
|
|
@@ -161,10 +161,10 @@ Generate a sort function for a given sort-by set.
|
|
|
161
161
|
|
|
162
162
|
### Parameters
|
|
163
163
|
|
|
164
|
-
* `sortBy` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
165
|
-
* `getters` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
|
|
164
|
+
* `sortBy` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))?** 
|
|
165
|
+
* `getters` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?** 
|
|
166
166
|
|
|
167
|
-
Returns **[Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function)** sorter
|
|
167
|
+
Returns **([Function](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/function) | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))** sorter
|
|
168
168
|
|
|
169
169
|
## keyPrefixStore
|
|
170
170
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-common",
|
|
3
|
-
"version": "4.22.
|
|
3
|
+
"version": "4.22.18",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
57
|
"mf-hosting-cloudflare": "^1.0.5",
|
|
58
|
-
"mf-hosting-frontend": "^1.9.
|
|
58
|
+
"mf-hosting-frontend": "^1.9.2"
|
|
59
59
|
},
|
|
60
60
|
"repository": {
|
|
61
61
|
"type": "git",
|