@spunto/design-system 0.22.0 → 0.24.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/src/index.ts CHANGED
@@ -70,6 +70,45 @@ export {
70
70
  SelectSeparator,
71
71
  } from "./components/select"
72
72
 
73
+ // Combobox — the Select you can type into, on Base UI. Compositional like
74
+ // Select (items are children), but the items **filter themselves** with the
75
+ // same collator the ⌘K palette uses, so no caller re-`.filter()`s its options;
76
+ // groups hide themselves when empty; and in multi-select the chips field
77
+ // registers itself as the popup's anchor. Two field shapes, two components:
78
+ // `ComboboxInput` (the combobox IS the field) or `ComboboxTrigger` + a
79
+ // `ComboboxSearch` inside the popup.
80
+ export {
81
+ Combobox,
82
+ ComboboxInput,
83
+ ComboboxClear,
84
+ ComboboxTrigger,
85
+ ComboboxValue,
86
+ ComboboxSearch,
87
+ ComboboxChips,
88
+ ComboboxChip,
89
+ ComboboxChipsInput,
90
+ ComboboxContent,
91
+ ComboboxList,
92
+ ComboboxGroup,
93
+ ComboboxGroupLabel,
94
+ ComboboxSeparator,
95
+ ComboboxItem,
96
+ ComboboxEmpty,
97
+ ComboboxLoading,
98
+ } from "./components/combobox"
99
+ export type {
100
+ ComboboxProps,
101
+ ComboboxInputProps,
102
+ ComboboxSearchProps,
103
+ ComboboxChipProps,
104
+ ComboboxContentProps,
105
+ ComboboxGroupProps,
106
+ ComboboxItemProps,
107
+ ComboboxLoadingProps,
108
+ ComboboxFilter,
109
+ ComboboxFilterItem,
110
+ } from "./components/combobox"
111
+
73
112
  // Overlays that plug into the `SpuntoProvider` umbrella (portal container +
74
113
  // tooltip delay group).
75
114
  export { Tooltip } from "./components/tooltip"