@thi.ng/rdom-components 0.4.12 → 0.5.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-06-09T16:14:01Z
3
+ - **Last updated**: 2022-07-12T19:50:54Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.5.0) (2022-07-12)
13
+
14
+ #### 🚀 Features
15
+
16
+ - update dropdown generics ([11809c7](https://github.com/thi-ng/umbrella/commit/11809c7))
17
+
12
18
  ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-components@0.4.0) (2021-11-17)
13
19
 
14
20
  #### 🚀 Features
package/dropdown.d.ts CHANGED
@@ -6,6 +6,6 @@ export interface DropdownOpts<T> {
6
6
  label: Fn<T, string>;
7
7
  value: Fn<T, string>;
8
8
  }
9
- export declare const dynamicDropdown: <T = string>(items: ISubscribable<T[]>, sel: Subscription<string, string>, opts?: Partial<DropdownOpts<T>> | undefined) => import("@thi.ng/rdom").IComponent<T[]>;
10
- export declare const staticDropdown: <T = string>(items: T[], sel: Subscription<string, string>, opts?: Partial<DropdownOpts<T>> | undefined) => [string, import("@thi.ng/api").Nullable<Partial<SelectAttribs>>, ...any[]];
9
+ export declare const dynamicDropdown: <T = string, S extends string = string>(items: ISubscribable<T[]>, sel: Subscription<S, S>, opts?: Partial<DropdownOpts<T>> | undefined) => import("@thi.ng/rdom").IComponent<T[]>;
10
+ export declare const staticDropdown: <T = string, S extends string = string>(items: T[], sel: Subscription<S, S>, opts?: Partial<DropdownOpts<T>> | undefined) => [string, import("@thi.ng/api").Nullable<Partial<SelectAttribs>>, ...any[]];
11
11
  //# 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.4.12",
3
+ "version": "0.5.0",
4
4
  "description": "Collection of unstyled, customizable components for @thi.ng/rdom",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -37,7 +37,7 @@
37
37
  "@thi.ng/api": "^8.3.7",
38
38
  "@thi.ng/associative": "^6.1.11",
39
39
  "@thi.ng/hiccup-html": "^2.1.7",
40
- "@thi.ng/rdom": "^0.8.12",
40
+ "@thi.ng/rdom": "^0.9.0",
41
41
  "@thi.ng/rstream": "^7.2.9",
42
42
  "@thi.ng/strings": "^3.3.5",
43
43
  "@thi.ng/transducers": "^8.3.6"
@@ -105,5 +105,5 @@
105
105
  "status": "alpha",
106
106
  "year": 2020
107
107
  },
108
- "gitHead": "e64b1ab39ae9bcc494ef006f6329e5182fa2a326\n"
108
+ "gitHead": "21abd94ba9e13d4636f3e9a85d3a7d4e9ea269ba\n"
109
109
  }