aberdeen 1.3.0 → 1.3.1
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 +4 -0
- package/dist/aberdeen.d.ts +1 -1
- package/dist/aberdeen.js.map +2 -2
- package/dist-min/aberdeen.js.map +2 -2
- package/package.json +1 -1
- package/src/aberdeen.ts +1 -10
package/README.md
CHANGED
|
@@ -174,6 +174,10 @@ And you may want to study the examples above, of course!
|
|
|
174
174
|
|
|
175
175
|
## Changelog
|
|
176
176
|
|
|
177
|
+
### 1.3.1 (2025-01-07)
|
|
178
|
+
**Fixes:**
|
|
179
|
+
- Argument types accepted by `$` were too restrictive, as something like `$('prop=', myVal)` should be able to accept any type for `myVal`.
|
|
180
|
+
|
|
177
181
|
### 1.3.0 (2025-12-03)
|
|
178
182
|
**Breaking changes:**
|
|
179
183
|
- The shortcut for setting inline CSS styles in now `$('div color:red')` instead of `$('div $color=red')`.
|
package/dist/aberdeen.d.ts
CHANGED
|
@@ -390,7 +390,7 @@ export declare function ref<T extends TargetType, K extends keyof T>(target: T,
|
|
|
390
390
|
* });
|
|
391
391
|
* ```
|
|
392
392
|
*/
|
|
393
|
-
export declare function $(...args:
|
|
393
|
+
export declare function $(...args: any[]): undefined | Element;
|
|
394
394
|
/**
|
|
395
395
|
* Inserts CSS rules into the document, optionally scoping them with a unique class name.
|
|
396
396
|
*
|