@decisiv/ui-components 2.0.1-alpha.201 → 2.0.1-alpha.202

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.
@@ -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;AAmjBhE,QAAA,MAAM,eAAe,EAAE,sBAAsB,CAC3C,gBAAgB,EAChB,aAAa,CACS,CAAC;AAOzB,eAAe,eAAe,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;AAmQxC,QAAA,MAAM,iBAAiB,EAAE,sBAAsB,CAC7C,cAAc,EACd,gBAAgB,CACQ,CAAC;AAQ3B,eAAe,iBAAiB,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;AA4TxC,QAAA,MAAM,sBAAsB,EAAE,sBAAsB,CAClD,mBAAmB,EACnB,qBAAqB,CACQ,CAAC;AAQhC,eAAe,sBAAsB,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.201+caa759e",
3
+ "version": "2.0.1-alpha.202+edddf1d",
4
4
  "description": "Decisiv's design system React components",
5
5
  "author": "Decisiv UI Development Team",
6
6
  "license": "MIT",
@@ -71,5 +71,5 @@
71
71
  "access": "public"
72
72
  },
73
73
  "private": false,
74
- "gitHead": "caa759e73904d77b351a5c38d2d48f3b5a4c5d31"
74
+ "gitHead": "edddf1d9dd03a4bb735346e637287a8669df9f4a"
75
75
  }