@wow-two-beta/ui 0.0.52 → 0.0.53
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.
|
@@ -1807,7 +1807,7 @@ var SelectTrigger = forwardRef(
|
|
|
1807
1807
|
children: /* @__PURE__ */ jsx(X, { className: iconClass })
|
|
1808
1808
|
}
|
|
1809
1809
|
),
|
|
1810
|
-
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("w-px bg-
|
|
1810
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: cn("w-px bg-foreground/20", dividerClass) })
|
|
1811
1811
|
] }),
|
|
1812
1812
|
ctx.isLoading ? /* @__PURE__ */ jsx(Loader2, { className: cn(iconClass, "animate-spin text-subtle-foreground") }) : /* @__PURE__ */ jsx(
|
|
1813
1813
|
ChevronDown,
|
|
@@ -1859,7 +1859,7 @@ function SelectContent({
|
|
|
1859
1859
|
elevation,
|
|
1860
1860
|
className: cn(
|
|
1861
1861
|
"overflow-hidden",
|
|
1862
|
-
matchWidth ? "w-
|
|
1862
|
+
matchWidth ? "w-(--anchor-width) [&_[role=option]>span.flex-1>:first-child]:truncate" : "w-auto min-w-(--anchor-width)",
|
|
1863
1863
|
className
|
|
1864
1864
|
),
|
|
1865
1865
|
children: [
|
|
@@ -1911,7 +1911,7 @@ function extractText(node) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
var SelectItem = forwardRef(function SelectItem2({ itemKey, value, label, children, text, disabled, className }, ref) {
|
|
1913
1913
|
const ctx = useSelectContext();
|
|
1914
|
-
const { registerItem,
|
|
1914
|
+
const { registerItem, query } = ctx;
|
|
1915
1915
|
const resolvedValue = value === void 0 ? itemKey : value;
|
|
1916
1916
|
const itemText = useMemo(
|
|
1917
1917
|
() => text ?? extractText(label) ?? extractText(children),
|
|
@@ -1919,8 +1919,7 @@ var SelectItem = forwardRef(function SelectItem2({ itemKey, value, label, childr
|
|
|
1919
1919
|
);
|
|
1920
1920
|
useEffect(() => {
|
|
1921
1921
|
registerItem({ itemKey, value: resolvedValue, label, text: itemText });
|
|
1922
|
-
|
|
1923
|
-
}, [registerItem, unregisterItem, itemKey, resolvedValue, label, itemText]);
|
|
1922
|
+
}, [registerItem, itemKey, resolvedValue, label, itemText]);
|
|
1924
1923
|
const matchesQuery = !query || itemText.toLowerCase().includes(query.toLowerCase());
|
|
1925
1924
|
if (!matchesQuery) return null;
|
|
1926
1925
|
return /* @__PURE__ */ jsx(ListboxItem, { ref, value: itemKey, disabled, className, children: children ?? label });
|
|
@@ -7464,5 +7463,5 @@ var ChatComposer = forwardRef(
|
|
|
7464
7463
|
ChatComposer.displayName = "ChatComposer";
|
|
7465
7464
|
|
|
7466
7465
|
export { ADDRESS_COUNTRIES, AddressForm, BUILT_IN_EMOJI, BUILT_IN_FONTS, Calendar, CharacterCount, ChatComposer, Checkbox, CheckboxField, CheckboxGroup, ChoiceCard, CodeEditor, ColorArea, ColorField, ColorPicker, ColorSlider, ColorSwatch, ColorSwatchPicker, ColorWheel, Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxSeparator, CronInput, CurrencyInput, DateField, DatePicker, DateRangePicker, Editable, EditableCancel, EditableInput, EditablePreview, EditableSubmit, EmailInput, EmojiPicker, Fieldset, FilePicker, FileUpload, FontPicker, FormErrorMessage, FormField, FormHelperText, GradientPicker, IconPicker, InputAddon, InputGroup, JSONEditor, KeyboardShortcutPicker, Knob, Label, LabeledInput, Legend, Listbox, ListboxEmpty, ListboxGroup, ListboxItem, ListboxSeparator, MarkdownEditor, MaskedInput, MultiSelect, MultiSelectContent, MultiSelectItem, MultiSelectTags, MultiSelectTrigger, NumberInput, PHONE_COUNTRIES, PasswordInput, PasswordStrength, PercentInput, PhoneInput, PinInput, Radio, RadioField, RadioGroup, RangeCalendar, ReactionPicker, RecurrenceEditor, SearchInput, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Slider, Stepper, StepperList, StepperPanel, StepperStep, Switch, SwitchField, TagsInput, TelInput, TextInput, Textarea, TimeField, TimePicker, UrlInput, Wizard, WizardFooter, WizardStep, WizardSteps, colorSwatchVariants, gradientToCss, useWizard };
|
|
7467
|
-
//# sourceMappingURL=chunk-
|
|
7468
|
-
//# sourceMappingURL=chunk-
|
|
7466
|
+
//# sourceMappingURL=chunk-OP3FW6PX.js.map
|
|
7467
|
+
//# sourceMappingURL=chunk-OP3FW6PX.js.map
|