@abcagency/hc-ui-components 1.4.15 → 1.4.17
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/dist/components/HireControlMap.js +1 -1
- package/dist/components/containers/filter/commute-container.js +1 -1
- package/dist/components/containers/maps/map-container.js +1 -1
- package/dist/components/containers/maps/map-marker-container.js +1 -1
- package/dist/components/modules/accordions/default.js +2 -2
- package/dist/components/modules/buttons/button-group-apply.js +1 -1
- package/dist/components/modules/buttons/default.js +2 -2
- package/dist/components/modules/cards/default.js +2 -2
- package/dist/components/modules/dialogs/apply-dialog.js +1 -1
- package/dist/components/modules/filter/commute.js +2 -2
- package/dist/components/modules/filter/sort.js +2 -2
- package/dist/components/modules/grid.js +1 -1
- package/dist/components/modules/icon.js +1 -1
- package/dist/components/modules/list/header.js +1 -1
- package/dist/components/modules/list/item-expand-card/index.js +1 -1
- package/dist/components/modules/maps/map-marker.js +1 -1
- package/dist/components/modules/maps/map.js +1 -1
- package/dist/components/modules/maps/place-marker.js +1 -1
- package/dist/components/modules/maps/tabs.js +1 -1
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js +13 -13
- package/dist/node_modules/@radix-ui/react-accordion/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js +3 -3
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-collapsible/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.js +3 -3
- package/dist/node_modules/@radix-ui/react-context/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js +18 -18
- package/dist/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-direction/dist/index.js +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +3 -3
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js +2 -2
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js +2 -2
- package/dist/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js +2 -2
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js +6 -6
- package/dist/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-select/dist/index.js +38 -38
- package/dist/node_modules/@radix-ui/react-select/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js +4 -4
- package/dist/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-tabs/dist/index.js.map +1 -1
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js +2 -2
- package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -1
- package/dist/node_modules/@react-google-maps/api/dist/esm.js +12 -12
- package/dist/node_modules/@react-google-maps/api/dist/esm.js.map +1 -1
- package/dist/util/filterUtil.js +1 -1
- package/package.json +9 -13
|
@@ -21,7 +21,7 @@ import { usePrevious } from '../../react-use-previous/dist/index.js';
|
|
|
21
21
|
import { VisuallyHidden } from '../../react-visually-hidden/dist/index.js';
|
|
22
22
|
import { hideOthers } from '../../../aria-hidden/dist/es2015/index.js';
|
|
23
23
|
import ReactRemoveScroll from '../../../react-remove-scroll/dist/es2015/Combination.js';
|
|
24
|
-
import {
|
|
24
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
25
25
|
|
|
26
26
|
var OPEN_KEYS = [" ", "Enter", "ArrowUp", "ArrowDown"];
|
|
27
27
|
var SELECTION_KEYS = [" ", "Enter"];
|
|
@@ -69,7 +69,7 @@ var Select = (props) => {
|
|
|
69
69
|
const isFormControl = trigger ? Boolean(trigger.closest("form")) : true;
|
|
70
70
|
const [nativeOptionsSet, setNativeOptionsSet] = React.useState(/* @__PURE__ */ new Set());
|
|
71
71
|
const nativeSelectKey = Array.from(nativeOptionsSet).map((option) => option.props.value).join(";");
|
|
72
|
-
return /* @__PURE__ */
|
|
72
|
+
return /* @__PURE__ */ jsx(Root2$1, { ...popperScope, children: /* @__PURE__ */ jsxs(
|
|
73
73
|
SelectProvider,
|
|
74
74
|
{
|
|
75
75
|
required,
|
|
@@ -89,7 +89,7 @@ var Select = (props) => {
|
|
|
89
89
|
triggerPointerDownPosRef,
|
|
90
90
|
disabled,
|
|
91
91
|
children: [
|
|
92
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ jsx(Collection.Provider, { scope: __scopeSelect, children: /* @__PURE__ */ jsx(
|
|
93
93
|
SelectNativeOptionsProvider,
|
|
94
94
|
{
|
|
95
95
|
scope: props.__scopeSelect,
|
|
@@ -106,7 +106,7 @@ var Select = (props) => {
|
|
|
106
106
|
children
|
|
107
107
|
}
|
|
108
108
|
) }),
|
|
109
|
-
isFormControl ? /* @__PURE__ */
|
|
109
|
+
isFormControl ? /* @__PURE__ */ jsxs(
|
|
110
110
|
BubbleSelect,
|
|
111
111
|
{
|
|
112
112
|
"aria-hidden": true,
|
|
@@ -118,7 +118,7 @@ var Select = (props) => {
|
|
|
118
118
|
onChange: (event) => setValue(event.target.value),
|
|
119
119
|
disabled,
|
|
120
120
|
children: [
|
|
121
|
-
value === void 0 ? /* @__PURE__ */
|
|
121
|
+
value === void 0 ? /* @__PURE__ */ jsx("option", { value: "" }) : null,
|
|
122
122
|
Array.from(nativeOptionsSet)
|
|
123
123
|
]
|
|
124
124
|
},
|
|
@@ -152,7 +152,7 @@ var SelectTrigger = React.forwardRef(
|
|
|
152
152
|
resetTypeahead();
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
|
-
return /* @__PURE__ */
|
|
155
|
+
return /* @__PURE__ */ jsx(Anchor, { asChild: true, ...popperScope, children: /* @__PURE__ */ jsx(
|
|
156
156
|
Primitive.button,
|
|
157
157
|
{
|
|
158
158
|
type: "button",
|
|
@@ -211,13 +211,13 @@ var SelectValue = React.forwardRef(
|
|
|
211
211
|
useLayoutEffect2(() => {
|
|
212
212
|
onValueNodeHasChildrenChange(hasChildren);
|
|
213
213
|
}, [onValueNodeHasChildrenChange, hasChildren]);
|
|
214
|
-
return /* @__PURE__ */
|
|
214
|
+
return /* @__PURE__ */ jsx(
|
|
215
215
|
Primitive.span,
|
|
216
216
|
{
|
|
217
217
|
...valueProps,
|
|
218
218
|
ref: composedRefs,
|
|
219
219
|
style: { pointerEvents: "none" },
|
|
220
|
-
children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */
|
|
220
|
+
children: shouldShowPlaceholder(context.value) ? /* @__PURE__ */ jsx(Fragment, { children: placeholder }) : children
|
|
221
221
|
}
|
|
222
222
|
);
|
|
223
223
|
}
|
|
@@ -227,13 +227,13 @@ var ICON_NAME = "SelectIcon";
|
|
|
227
227
|
var SelectIcon = React.forwardRef(
|
|
228
228
|
(props, forwardedRef) => {
|
|
229
229
|
const { __scopeSelect, children, ...iconProps } = props;
|
|
230
|
-
return /* @__PURE__ */
|
|
230
|
+
return /* @__PURE__ */ jsx(Primitive.span, { "aria-hidden": true, ...iconProps, ref: forwardedRef, children: children || "\u25BC" });
|
|
231
231
|
}
|
|
232
232
|
);
|
|
233
233
|
SelectIcon.displayName = ICON_NAME;
|
|
234
234
|
var PORTAL_NAME = "SelectPortal";
|
|
235
235
|
var SelectPortal = (props) => {
|
|
236
|
-
return /* @__PURE__ */
|
|
236
|
+
return /* @__PURE__ */ jsx(Portal$1, { asChild: true, ...props });
|
|
237
237
|
};
|
|
238
238
|
SelectPortal.displayName = PORTAL_NAME;
|
|
239
239
|
var CONTENT_NAME = "SelectContent";
|
|
@@ -247,11 +247,11 @@ var SelectContent = React.forwardRef(
|
|
|
247
247
|
if (!context.open) {
|
|
248
248
|
const frag = fragment;
|
|
249
249
|
return frag ? ReactDOM.createPortal(
|
|
250
|
-
/* @__PURE__ */
|
|
250
|
+
/* @__PURE__ */ jsx(SelectContentProvider, { scope: props.__scopeSelect, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeSelect, children: /* @__PURE__ */ jsx("div", { children: props.children }) }) }),
|
|
251
251
|
frag
|
|
252
252
|
) : null;
|
|
253
253
|
}
|
|
254
|
-
return /* @__PURE__ */
|
|
254
|
+
return /* @__PURE__ */ jsx(SelectContentImpl, { ...props, ref: forwardedRef });
|
|
255
255
|
}
|
|
256
256
|
);
|
|
257
257
|
SelectContent.displayName = CONTENT_NAME;
|
|
@@ -404,7 +404,7 @@ var SelectContentImpl = React.forwardRef(
|
|
|
404
404
|
hideWhenDetached,
|
|
405
405
|
avoidCollisions
|
|
406
406
|
} : {};
|
|
407
|
-
return /* @__PURE__ */
|
|
407
|
+
return /* @__PURE__ */ jsx(
|
|
408
408
|
SelectContentProvider,
|
|
409
409
|
{
|
|
410
410
|
scope: __scopeSelect,
|
|
@@ -420,7 +420,7 @@ var SelectContentImpl = React.forwardRef(
|
|
|
420
420
|
position,
|
|
421
421
|
isPositioned,
|
|
422
422
|
searchRef,
|
|
423
|
-
children: /* @__PURE__ */
|
|
423
|
+
children: /* @__PURE__ */ jsx(ReactRemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx(
|
|
424
424
|
FocusScope,
|
|
425
425
|
{
|
|
426
426
|
asChild: true,
|
|
@@ -432,7 +432,7 @@ var SelectContentImpl = React.forwardRef(
|
|
|
432
432
|
context.trigger?.focus({ preventScroll: true });
|
|
433
433
|
event.preventDefault();
|
|
434
434
|
}),
|
|
435
|
-
children: /* @__PURE__ */
|
|
435
|
+
children: /* @__PURE__ */ jsx(
|
|
436
436
|
DismissableLayer,
|
|
437
437
|
{
|
|
438
438
|
asChild: true,
|
|
@@ -441,7 +441,7 @@ var SelectContentImpl = React.forwardRef(
|
|
|
441
441
|
onPointerDownOutside,
|
|
442
442
|
onFocusOutside: (event) => event.preventDefault(),
|
|
443
443
|
onDismiss: () => context.onOpenChange(false),
|
|
444
|
-
children: /* @__PURE__ */
|
|
444
|
+
children: /* @__PURE__ */ jsx(
|
|
445
445
|
SelectPosition,
|
|
446
446
|
{
|
|
447
447
|
role: "listbox",
|
|
@@ -606,14 +606,14 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
|
|
|
606
606
|
},
|
|
607
607
|
[position, focusSelectedItem]
|
|
608
608
|
);
|
|
609
|
-
return /* @__PURE__ */
|
|
609
|
+
return /* @__PURE__ */ jsx(
|
|
610
610
|
SelectViewportProvider,
|
|
611
611
|
{
|
|
612
612
|
scope: __scopeSelect,
|
|
613
613
|
contentWrapper,
|
|
614
614
|
shouldExpandOnScrollRef,
|
|
615
615
|
onScrollButtonChange: handleScrollButtonChange,
|
|
616
|
-
children: /* @__PURE__ */
|
|
616
|
+
children: /* @__PURE__ */ jsx(
|
|
617
617
|
"div",
|
|
618
618
|
{
|
|
619
619
|
ref: setContentWrapper,
|
|
@@ -623,7 +623,7 @@ var SelectItemAlignedPosition = React.forwardRef((props, forwardedRef) => {
|
|
|
623
623
|
position: "fixed",
|
|
624
624
|
zIndex: contentZIndex
|
|
625
625
|
},
|
|
626
|
-
children: /* @__PURE__ */
|
|
626
|
+
children: /* @__PURE__ */ jsx(
|
|
627
627
|
Primitive.div,
|
|
628
628
|
{
|
|
629
629
|
...popperProps,
|
|
@@ -653,7 +653,7 @@ var SelectPopperPosition = React.forwardRef((props, forwardedRef) => {
|
|
|
653
653
|
...popperProps
|
|
654
654
|
} = props;
|
|
655
655
|
const popperScope = usePopperScope(__scopeSelect);
|
|
656
|
-
return /* @__PURE__ */
|
|
656
|
+
return /* @__PURE__ */ jsx(
|
|
657
657
|
Content,
|
|
658
658
|
{
|
|
659
659
|
...popperScope,
|
|
@@ -687,8 +687,8 @@ var SelectViewport = React.forwardRef(
|
|
|
687
687
|
const viewportContext = useSelectViewportContext(VIEWPORT_NAME, __scopeSelect);
|
|
688
688
|
const composedRefs = useComposedRefs(forwardedRef, contentContext.onViewportChange);
|
|
689
689
|
const prevScrollTopRef = React.useRef(0);
|
|
690
|
-
return /* @__PURE__ */
|
|
691
|
-
/* @__PURE__ */
|
|
690
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
691
|
+
/* @__PURE__ */ jsx(
|
|
692
692
|
"style",
|
|
693
693
|
{
|
|
694
694
|
dangerouslySetInnerHTML: {
|
|
@@ -697,7 +697,7 @@ var SelectViewport = React.forwardRef(
|
|
|
697
697
|
nonce
|
|
698
698
|
}
|
|
699
699
|
),
|
|
700
|
-
/* @__PURE__ */
|
|
700
|
+
/* @__PURE__ */ jsx(Collection.Slot, { scope: __scopeSelect, children: /* @__PURE__ */ jsx(
|
|
701
701
|
Primitive.div,
|
|
702
702
|
{
|
|
703
703
|
"data-radix-select-viewport": "",
|
|
@@ -749,7 +749,7 @@ var SelectGroup = React.forwardRef(
|
|
|
749
749
|
(props, forwardedRef) => {
|
|
750
750
|
const { __scopeSelect, ...groupProps } = props;
|
|
751
751
|
const groupId = useId();
|
|
752
|
-
return /* @__PURE__ */
|
|
752
|
+
return /* @__PURE__ */ jsx(SelectGroupContextProvider, { scope: __scopeSelect, id: groupId, children: /* @__PURE__ */ jsx(Primitive.div, { role: "group", "aria-labelledby": groupId, ...groupProps, ref: forwardedRef }) });
|
|
753
753
|
}
|
|
754
754
|
);
|
|
755
755
|
SelectGroup.displayName = GROUP_NAME;
|
|
@@ -758,7 +758,7 @@ var SelectLabel = React.forwardRef(
|
|
|
758
758
|
(props, forwardedRef) => {
|
|
759
759
|
const { __scopeSelect, ...labelProps } = props;
|
|
760
760
|
const groupContext = useSelectGroupContext(LABEL_NAME, __scopeSelect);
|
|
761
|
-
return /* @__PURE__ */
|
|
761
|
+
return /* @__PURE__ */ jsx(Primitive.div, { id: groupContext.id, ...labelProps, ref: forwardedRef });
|
|
762
762
|
}
|
|
763
763
|
);
|
|
764
764
|
SelectLabel.displayName = LABEL_NAME;
|
|
@@ -794,7 +794,7 @@ var SelectItem = React.forwardRef(
|
|
|
794
794
|
"A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder."
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
|
-
return /* @__PURE__ */
|
|
797
|
+
return /* @__PURE__ */ jsx(
|
|
798
798
|
SelectItemContextProvider,
|
|
799
799
|
{
|
|
800
800
|
scope: __scopeSelect,
|
|
@@ -805,14 +805,14 @@ var SelectItem = React.forwardRef(
|
|
|
805
805
|
onItemTextChange: React.useCallback((node) => {
|
|
806
806
|
setTextValue((prevTextValue) => prevTextValue || (node?.textContent ?? "").trim());
|
|
807
807
|
}, []),
|
|
808
|
-
children: /* @__PURE__ */
|
|
808
|
+
children: /* @__PURE__ */ jsx(
|
|
809
809
|
Collection.ItemSlot,
|
|
810
810
|
{
|
|
811
811
|
scope: __scopeSelect,
|
|
812
812
|
value,
|
|
813
813
|
disabled,
|
|
814
814
|
textValue,
|
|
815
|
-
children: /* @__PURE__ */
|
|
815
|
+
children: /* @__PURE__ */ jsx(
|
|
816
816
|
Primitive.div,
|
|
817
817
|
{
|
|
818
818
|
role: "option",
|
|
@@ -872,7 +872,7 @@ var SelectItemText = React.forwardRef(
|
|
|
872
872
|
);
|
|
873
873
|
const textContent = itemTextNode?.textContent;
|
|
874
874
|
const nativeOption = React.useMemo(
|
|
875
|
-
() => /* @__PURE__ */
|
|
875
|
+
() => /* @__PURE__ */ jsx("option", { value: itemContext.value, disabled: itemContext.disabled, children: textContent }, itemContext.value),
|
|
876
876
|
[itemContext.disabled, itemContext.value, textContent]
|
|
877
877
|
);
|
|
878
878
|
const { onNativeOptionAdd, onNativeOptionRemove } = nativeOptionsContext;
|
|
@@ -880,8 +880,8 @@ var SelectItemText = React.forwardRef(
|
|
|
880
880
|
onNativeOptionAdd(nativeOption);
|
|
881
881
|
return () => onNativeOptionRemove(nativeOption);
|
|
882
882
|
}, [onNativeOptionAdd, onNativeOptionRemove, nativeOption]);
|
|
883
|
-
return /* @__PURE__ */
|
|
884
|
-
/* @__PURE__ */
|
|
883
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
884
|
+
/* @__PURE__ */ jsx(Primitive.span, { id: itemContext.textId, ...itemTextProps, ref: composedRefs }),
|
|
885
885
|
itemContext.isSelected && context.valueNode && !context.valueNodeHasChildren ? ReactDOM.createPortal(itemTextProps.children, context.valueNode) : null
|
|
886
886
|
] });
|
|
887
887
|
}
|
|
@@ -892,7 +892,7 @@ var SelectItemIndicator = React.forwardRef(
|
|
|
892
892
|
(props, forwardedRef) => {
|
|
893
893
|
const { __scopeSelect, ...itemIndicatorProps } = props;
|
|
894
894
|
const itemContext = useSelectItemContext(ITEM_INDICATOR_NAME, __scopeSelect);
|
|
895
|
-
return itemContext.isSelected ? /* @__PURE__ */
|
|
895
|
+
return itemContext.isSelected ? /* @__PURE__ */ jsx(Primitive.span, { "aria-hidden": true, ...itemIndicatorProps, ref: forwardedRef }) : null;
|
|
896
896
|
}
|
|
897
897
|
);
|
|
898
898
|
SelectItemIndicator.displayName = ITEM_INDICATOR_NAME;
|
|
@@ -914,7 +914,7 @@ var SelectScrollUpButton = React.forwardRef((props, forwardedRef) => {
|
|
|
914
914
|
return () => viewport.removeEventListener("scroll", handleScroll2);
|
|
915
915
|
}
|
|
916
916
|
}, [contentContext.viewport, contentContext.isPositioned]);
|
|
917
|
-
return canScrollUp ? /* @__PURE__ */
|
|
917
|
+
return canScrollUp ? /* @__PURE__ */ jsx(
|
|
918
918
|
SelectScrollButtonImpl,
|
|
919
919
|
{
|
|
920
920
|
...props,
|
|
@@ -948,7 +948,7 @@ var SelectScrollDownButton = React.forwardRef((props, forwardedRef) => {
|
|
|
948
948
|
return () => viewport.removeEventListener("scroll", handleScroll2);
|
|
949
949
|
}
|
|
950
950
|
}, [contentContext.viewport, contentContext.isPositioned]);
|
|
951
|
-
return canScrollDown ? /* @__PURE__ */
|
|
951
|
+
return canScrollDown ? /* @__PURE__ */ jsx(
|
|
952
952
|
SelectScrollButtonImpl,
|
|
953
953
|
{
|
|
954
954
|
...props,
|
|
@@ -981,7 +981,7 @@ var SelectScrollButtonImpl = React.forwardRef((props, forwardedRef) => {
|
|
|
981
981
|
const activeItem = getItems().find((item) => item.ref.current === document.activeElement);
|
|
982
982
|
activeItem?.ref.current?.scrollIntoView({ block: "nearest" });
|
|
983
983
|
}, [getItems]);
|
|
984
|
-
return /* @__PURE__ */
|
|
984
|
+
return /* @__PURE__ */ jsx(
|
|
985
985
|
Primitive.div,
|
|
986
986
|
{
|
|
987
987
|
"aria-hidden": true,
|
|
@@ -1009,7 +1009,7 @@ var SEPARATOR_NAME = "SelectSeparator";
|
|
|
1009
1009
|
var SelectSeparator = React.forwardRef(
|
|
1010
1010
|
(props, forwardedRef) => {
|
|
1011
1011
|
const { __scopeSelect, ...separatorProps } = props;
|
|
1012
|
-
return /* @__PURE__ */
|
|
1012
|
+
return /* @__PURE__ */ jsx(Primitive.div, { "aria-hidden": true, ...separatorProps, ref: forwardedRef });
|
|
1013
1013
|
}
|
|
1014
1014
|
);
|
|
1015
1015
|
SelectSeparator.displayName = SEPARATOR_NAME;
|
|
@@ -1020,7 +1020,7 @@ var SelectArrow = React.forwardRef(
|
|
|
1020
1020
|
const popperScope = usePopperScope(__scopeSelect);
|
|
1021
1021
|
const context = useSelectContext(ARROW_NAME, __scopeSelect);
|
|
1022
1022
|
const contentContext = useSelectContentContext(ARROW_NAME, __scopeSelect);
|
|
1023
|
-
return context.open && contentContext.position === "popper" ? /* @__PURE__ */
|
|
1023
|
+
return context.open && contentContext.position === "popper" ? /* @__PURE__ */ jsx(Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef }) : null;
|
|
1024
1024
|
}
|
|
1025
1025
|
);
|
|
1026
1026
|
SelectArrow.displayName = ARROW_NAME;
|
|
@@ -1047,7 +1047,7 @@ var BubbleSelect = React.forwardRef(
|
|
|
1047
1047
|
select.dispatchEvent(event);
|
|
1048
1048
|
}
|
|
1049
1049
|
}, [prevValue, value]);
|
|
1050
|
-
return /* @__PURE__ */
|
|
1050
|
+
return /* @__PURE__ */ jsx(VisuallyHidden, { asChild: true, children: /* @__PURE__ */ jsx("select", { ...selectProps, ref: composedRefs, defaultValue: value }) });
|
|
1051
1051
|
}
|
|
1052
1052
|
);
|
|
1053
1053
|
BubbleSelect.displayName = "BubbleSelect";
|