@w3ux/utils 2.0.0-alpha.1 → 2.0.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.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/unit.d.cts +1 -1
  3. package/unit.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w3ux/utils",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0",
4
4
  "license": "GPL-3.0-only",
5
5
  "dependencies": {
6
6
  "@polkadot-api/substrate-bindings": "^0.9.3"
package/unit.d.cts CHANGED
@@ -86,7 +86,7 @@ declare const sortWithNull: (ascending: boolean) => (a: AnyJson, b: AnyJson) =>
86
86
  * @name applyWidthAsPadding
87
87
  * @summary Applies width of subject to paddingRight of container.
88
88
  */
89
- declare const applyWidthAsPadding: (subjectRef: RefObject<HTMLDivElement>, containerRef: RefObject<HTMLDivElement>) => void;
89
+ declare const applyWidthAsPadding: (subjectRef: RefObject<HTMLDivElement | null>, containerRef: RefObject<HTMLDivElement | null>) => void;
90
90
  /**
91
91
  * @name unescape
92
92
  * @summary Replaces \” with “
package/unit.d.ts CHANGED
@@ -86,7 +86,7 @@ declare const sortWithNull: (ascending: boolean) => (a: AnyJson, b: AnyJson) =>
86
86
  * @name applyWidthAsPadding
87
87
  * @summary Applies width of subject to paddingRight of container.
88
88
  */
89
- declare const applyWidthAsPadding: (subjectRef: RefObject<HTMLDivElement>, containerRef: RefObject<HTMLDivElement>) => void;
89
+ declare const applyWidthAsPadding: (subjectRef: RefObject<HTMLDivElement | null>, containerRef: RefObject<HTMLDivElement | null>) => void;
90
90
  /**
91
91
  * @name unescape
92
92
  * @summary Replaces \” with “