@paubox/ui 3.3.0 → 3.4.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.
- package/index.esm.js +16 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -22851,6 +22851,10 @@ var DatePicker = function(_param) {
|
|
|
22851
22851
|
style: {
|
|
22852
22852
|
width: rangeSelect ? 200 : 107
|
|
22853
22853
|
},
|
|
22854
|
+
// Analytics autocapture hooks (@paubox/tracking). The trigger is a native
|
|
22855
|
+
// button; tag it so the captured click is identifiable as a date picker.
|
|
22856
|
+
"data-pb-component": "DatePicker",
|
|
22857
|
+
"data-pb-name": rangeSelect ? 'date_range' : 'date',
|
|
22854
22858
|
children: [
|
|
22855
22859
|
dateString,
|
|
22856
22860
|
/*#__PURE__*/ jsx("div", {
|
|
@@ -24376,6 +24380,10 @@ var OptionWrapper = styled.div(_templateObject5$5());
|
|
|
24376
24380
|
"aria-activedescendant": open ? activeOptionId : undefined,
|
|
24377
24381
|
"aria-haspopup": "listbox",
|
|
24378
24382
|
"aria-label": ariaLabel,
|
|
24383
|
+
// Analytics autocapture hooks (@paubox/tracking). The input is native, so
|
|
24384
|
+
// field_interaction works out of the box; tag the component for clarity.
|
|
24385
|
+
"data-pb-component": "AutoComplete",
|
|
24386
|
+
"data-pb-name": ariaLabel || inputProps.name || undefined,
|
|
24379
24387
|
onChange: handleInputChange,
|
|
24380
24388
|
onFocus: function() {
|
|
24381
24389
|
return setIsFocused(true);
|
|
@@ -25017,6 +25025,10 @@ var MultiSelect = function(_param) {
|
|
|
25017
25025
|
return !prev;
|
|
25018
25026
|
});
|
|
25019
25027
|
},
|
|
25028
|
+
// Analytics autocapture hooks (@paubox/tracking). The interactive node is
|
|
25029
|
+
// this wrapper div (the inner <select> is inert), so identify it here.
|
|
25030
|
+
"data-pb-component": "MultiSelect",
|
|
25031
|
+
"data-pb-name": props['aria-label'] || props.name || label || undefined,
|
|
25020
25032
|
children: [
|
|
25021
25033
|
/*#__PURE__*/ jsxs(InputWrapper$2, {
|
|
25022
25034
|
children: [
|
|
@@ -25722,6 +25734,10 @@ var Select = function(_param) {
|
|
|
25722
25734
|
return !prev;
|
|
25723
25735
|
});
|
|
25724
25736
|
},
|
|
25737
|
+
// Analytics autocapture hooks (@paubox/tracking). The interactive node is
|
|
25738
|
+
// this wrapper div (the inner <select> is inert), so identify it here.
|
|
25739
|
+
"data-pb-component": "Select",
|
|
25740
|
+
"data-pb-name": props['aria-label'] || props.name || undefined,
|
|
25725
25741
|
children: [
|
|
25726
25742
|
/*#__PURE__*/ jsxs(InputWrapper, {
|
|
25727
25743
|
children: [
|