@decisiv/ui-components 2.0.1-alpha.201 → 2.0.1-alpha.203
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/lib/components/Combobox/index.d.ts.map +1 -1
- package/lib/components/Combobox/index.js +3 -1
- package/lib/components/SelectDate/index.d.ts.map +1 -1
- package/lib/components/SelectDate/index.js +3 -1
- package/lib/components/SelectDateRange/index.d.ts.map +1 -1
- package/lib/components/SelectDateRange/index.js +3 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.tsx"],"names":[],"mappings":"AASA,OAAc,EAGZ,sBAAsB,EAQvB,MAAM,OAAO,CAAC;AA2Bf,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAQ,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.tsx"],"names":[],"mappings":"AASA,OAAc,EAGZ,sBAAsB,EAQvB,MAAM,OAAO,CAAC;AA2Bf,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAQ,MAAM,SAAS,CAAC;AAojBhE,QAAA,MAAM,eAAe,EAAE,sBAAsB,CAC3C,gBAAgB,EAChB,aAAa,CACS,CAAC;AAOzB,eAAe,eAAe,CAAC"}
|
|
@@ -435,7 +435,9 @@ function Combobox(props, ref) {
|
|
|
435
435
|
updateIsPopoverVisible(false);
|
|
436
436
|
}
|
|
437
437
|
}, [isPopoverVisible, updateIsPopoverVisible]);
|
|
438
|
-
(0, _useClickOutside.default)([finalComboboxRef, listRef], handleClickOutsideList
|
|
438
|
+
(0, _useClickOutside.default)([finalComboboxRef, listRef], handleClickOutsideList, {
|
|
439
|
+
capture: true
|
|
440
|
+
});
|
|
439
441
|
/**
|
|
440
442
|
* The DropdownList accepts a prop called `PanelComponent` that can be used
|
|
441
443
|
* to render useful messages like "Loading" and "No Matches". This builds those
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDate/index.tsx"],"names":[],"mappings":"AAMA,OAAc,EAEZ,sBAAsB,EAMvB,MAAM,OAAO,CAAC;AAsBf,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAQ,MAAM,SAAS,CAAC;AAIjE,OAAO,EACL,SAAS,EACT,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDate/index.tsx"],"names":[],"mappings":"AAMA,OAAc,EAEZ,sBAAsB,EAMvB,MAAM,OAAO,CAAC;AAsBf,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAQ,MAAM,SAAS,CAAC;AAIjE,OAAO,EACL,SAAS,EACT,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AAqQxC,QAAA,MAAM,iBAAiB,EAAE,sBAAsB,CAC7C,cAAc,EACd,gBAAgB,CACQ,CAAC;AAQ3B,eAAe,iBAAiB,CAAC"}
|
|
@@ -225,7 +225,9 @@ function SelectDate(props, ref) {
|
|
|
225
225
|
setIsPopoverVisible(false);
|
|
226
226
|
}
|
|
227
227
|
}, [isPopoverVisible]);
|
|
228
|
-
(0, _useClickOutside.default)([popoverContentRef], handleClickOutsidePopover
|
|
228
|
+
(0, _useClickOutside.default)([popoverContentRef], handleClickOutsidePopover, {
|
|
229
|
+
capture: true
|
|
230
|
+
});
|
|
229
231
|
var inputContainerRefs = (0, _compact.default)([inputContainerRef, popoverTargetRef]);
|
|
230
232
|
/**
|
|
231
233
|
* Triggers onShow/onHide callbacks representing wether the Popover is open or not.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDateRange/index.tsx"],"names":[],"mappings":"AAKA,OAAc,EAEZ,sBAAsB,EAMvB,MAAM,OAAO,CAAC;AAyBf,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAQ,MAAM,SAAS,CAAC;AAI3E,OAAO,EACL,SAAS,EACT,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SelectDateRange/index.tsx"],"names":[],"mappings":"AAKA,OAAc,EAEZ,sBAAsB,EAMvB,MAAM,OAAO,CAAC;AAyBf,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAQ,MAAM,SAAS,CAAC;AAI3E,OAAO,EACL,SAAS,EACT,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AA8TxC,QAAA,MAAM,sBAAsB,EAAE,sBAAsB,CAClD,mBAAmB,EACnB,qBAAqB,CACQ,CAAC;AAQhC,eAAe,sBAAsB,CAAC"}
|
|
@@ -258,7 +258,9 @@ function SelectDateRange(props, ref) {
|
|
|
258
258
|
event.stopPropagation();
|
|
259
259
|
closePopover();
|
|
260
260
|
}, [closePopover]);
|
|
261
|
-
(0, _useClickOutside.default)([popoverContentRef], handleClickOutsidePopover
|
|
261
|
+
(0, _useClickOutside.default)([popoverContentRef], handleClickOutsidePopover, {
|
|
262
|
+
capture: true
|
|
263
|
+
});
|
|
262
264
|
var inputContainerRefs = (0, _compact.default)([inputContainerRef, popoverTargetRef]);
|
|
263
265
|
/**
|
|
264
266
|
* Triggers onShow/onHide callbacks representing wether the Popover is open or not.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decisiv/ui-components",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.203+fb8c743",
|
|
4
4
|
"description": "Decisiv's design system React components",
|
|
5
5
|
"author": "Decisiv UI Development Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@decisiv/breakpoint-observer": "^1.8.8",
|
|
19
19
|
"@decisiv/design-tokens": "^1.8.8",
|
|
20
|
-
"@decisiv/iconix": "^2.0.
|
|
20
|
+
"@decisiv/iconix": "^2.0.1-alpha.203+fb8c743",
|
|
21
21
|
"@decisiv/prop-types": "^1.6.9",
|
|
22
22
|
"@seznam/compose-react-refs": "^1.0.2",
|
|
23
23
|
"csstype": "^2.6.5",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"private": false,
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "fb8c7431f619b6ba8d85767925c6ebe2a94cb2a4"
|
|
75
75
|
}
|