@laser-ui/components 0.2.0 → 0.2.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/CHANGELOG.md +6 -0
- package/dropdown/Dropdown.js +4 -1
- package/internal/popup/Popup.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.2.1](https://github.com/laser-ui/laser-ui/compare/v0.2.0...v0.2.1) (2023-10-31)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- use the same values used for the call to addEventListener() when calling removeEventListener() ([deaffc3](https://github.com/laser-ui/laser-ui/commit/deaffc31f60a956ef38085c135ded6ad7b7db2e6))
|
|
10
|
+
|
|
5
11
|
# [0.2.0](https://github.com/laser-ui/laser-ui/compare/v0.1.6...v0.2.0) (2023-10-31)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
package/dropdown/Dropdown.js
CHANGED
|
@@ -267,7 +267,10 @@ function DropdownFC(props, ref) {
|
|
|
267
267
|
triggerRef,
|
|
268
268
|
popupRef,
|
|
269
269
|
containerRefs: [],
|
|
270
|
-
}, onVisibleChange:
|
|
270
|
+
}, onVisibleChange: (visible) => {
|
|
271
|
+
console.log(visible);
|
|
272
|
+
changeVisible(visible);
|
|
273
|
+
}, children: ({ renderTrigger, renderPopup }) => {
|
|
271
274
|
const render = (el) => {
|
|
272
275
|
var _a, _b;
|
|
273
276
|
triggerId = (_a = el.props.id) !== null && _a !== void 0 ? _a : `${namespace}-dropdown-trigger-${uniqueId}`;
|
package/internal/popup/Popup.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laser-ui/components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "React components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"module": "./index.js",
|
|
27
27
|
"types": "./index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@laser-ui/hooks": "0.2.
|
|
30
|
-
"@laser-ui/utils": "0.2.
|
|
29
|
+
"@laser-ui/hooks": "0.2.1",
|
|
30
|
+
"@laser-ui/utils": "0.2.1",
|
|
31
31
|
"@material-design-icons/svg": "^0.14.12",
|
|
32
32
|
"jss": "^10.10.0",
|
|
33
33
|
"jss-preset-default": "^10.10.0",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"access": "public",
|
|
46
46
|
"directory": "../../dist/libs/components"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "c35ed7268d14adc58d9f0df122d424526655cd97"
|
|
49
49
|
}
|