@thi.ng/rdom-components 0.6.65 → 0.6.67
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/CHANGELOG.md +1 -1
- package/dropdown.d.ts +3 -3
- package/package.json +13 -13
- package/radio.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dropdown.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface DropdownOpts<T> {
|
|
|
23
23
|
* @param sel
|
|
24
24
|
* @param opts
|
|
25
25
|
*/
|
|
26
|
-
export declare const dynamicDropdown: <T = string, S extends string = string>(items: ISubscribable<T[]>, sel: ISubscription<S, S>, opts?: Partial<DropdownOpts<T>>
|
|
26
|
+
export declare const dynamicDropdown: <T = string, S extends string = string>(items: ISubscribable<T[]>, sel: ISubscription<S, S>, opts?: Partial<DropdownOpts<T>>) => import("@thi.ng/rdom").IComponent<T[]>;
|
|
27
27
|
/**
|
|
28
28
|
* Dropdown `<select>` component with statically defined list of items, but
|
|
29
29
|
* reactive updates using provided `sel` subscription.
|
|
@@ -42,7 +42,7 @@ export declare const dynamicDropdown: <T = string, S extends string = string>(it
|
|
|
42
42
|
* @param opts
|
|
43
43
|
* @returns
|
|
44
44
|
*/
|
|
45
|
-
export declare const staticDropdown: <T = string, S extends string = string>(items: T[], sel: ISubscription<S, S>, opts?: Partial<DropdownOpts<T>>
|
|
45
|
+
export declare const staticDropdown: <T = string, S extends string = string>(items: T[], sel: ISubscription<S, S>, opts?: Partial<DropdownOpts<T>>) => [string, import("@thi.ng/api").Nullable<Partial<SelectAttribs>>, ...any[]];
|
|
46
46
|
/**
|
|
47
47
|
* Similar to {@link staticDropdown}, but using only a single subscription for
|
|
48
48
|
* the entire dropdown.
|
|
@@ -63,5 +63,5 @@ export declare const staticDropdown: <T = string, S extends string = string>(ite
|
|
|
63
63
|
* @param sel
|
|
64
64
|
* @param opts
|
|
65
65
|
*/
|
|
66
|
-
export declare const staticDropdownAlt: <T = string, S extends string = string>(items: T[], sel: ISubscription<S, S>, opts?: Partial<DropdownOpts<T>>
|
|
66
|
+
export declare const staticDropdownAlt: <T = string, S extends string = string>(items: T[], sel: ISubscription<S, S>, opts?: Partial<DropdownOpts<T>>) => import("@thi.ng/rdom").IComponent<[string, import("@thi.ng/api").Nullable<Partial<SelectAttribs>>, ...any[]]>;
|
|
67
67
|
//# sourceMappingURL=dropdown.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/rdom-components",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.67",
|
|
4
4
|
"description": "Collection of unstyled, customizable components for @thi.ng/rdom",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/associative": "^6.3.
|
|
41
|
-
"@thi.ng/hiccup-html": "^2.4.
|
|
42
|
-
"@thi.ng/rdom": "^1.1.
|
|
43
|
-
"@thi.ng/rstream": "^8.3.
|
|
44
|
-
"@thi.ng/strings": "^3.7.
|
|
45
|
-
"@thi.ng/transducers": "^8.9.
|
|
39
|
+
"@thi.ng/api": "^8.9.30",
|
|
40
|
+
"@thi.ng/associative": "^6.3.48",
|
|
41
|
+
"@thi.ng/hiccup-html": "^2.4.15",
|
|
42
|
+
"@thi.ng/rdom": "^1.1.14",
|
|
43
|
+
"@thi.ng/rstream": "^8.3.13",
|
|
44
|
+
"@thi.ng/strings": "^3.7.23",
|
|
45
|
+
"@thi.ng/transducers": "^8.9.12"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@microsoft/api-extractor": "^7.
|
|
49
|
-
"esbuild": "^0.20.
|
|
48
|
+
"@microsoft/api-extractor": "^7.42.3",
|
|
49
|
+
"esbuild": "^0.20.1",
|
|
50
50
|
"rimraf": "^5.0.5",
|
|
51
|
-
"typedoc": "^0.25.
|
|
52
|
-
"typescript": "^5.
|
|
51
|
+
"typedoc": "^0.25.12",
|
|
52
|
+
"typescript": "^5.4.2"
|
|
53
53
|
},
|
|
54
54
|
"keywords": [
|
|
55
55
|
"browser",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"status": "alpha",
|
|
108
108
|
"year": 2020
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "7f3fcbd6c0462b0ce45afa141fe163d1f297fd51\n"
|
|
111
111
|
}
|
package/radio.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export interface RadioOpts<T> {
|
|
|
7
7
|
label: Fn2<T, ComponentLike, ComponentLike>;
|
|
8
8
|
value: Fn<T, string>;
|
|
9
9
|
}
|
|
10
|
-
export declare const staticRadio: <T = string>(items: T[], sel: ISubscription<string, string>, opts?: Partial<RadioOpts<T>>
|
|
10
|
+
export declare const staticRadio: <T = string>(items: T[], sel: ISubscription<string, string>, opts?: Partial<RadioOpts<T>>) => [string, import("@thi.ng/api").Nullable<Partial<import("@thi.ng/hiccup-html").Attribs>>, ...any[]];
|
|
11
11
|
//# sourceMappingURL=radio.d.ts.map
|