@sproutsocial/seeds-react-menu 1.11.2 → 1.11.4
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/.turbo/turbo-build.log +16 -16
- package/CHANGELOG.md +12 -0
- package/dist/esm/v3/index.js +104 -42
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/v3/index.d.mts +2 -0
- package/dist/v3/index.d.ts +2 -0
- package/dist/v3/index.js +103 -41
- package/dist/v3/index.js.map +1 -1
- package/package.json +1 -1
- package/src/v3/Common/ComboboxItem.tsx +3 -0
- package/src/v3/Common/SelectItem.tsx +3 -0
- package/src/v3/Common/SelectStyles.tsx +1 -0
- package/src/v3/Common/VirtualizedComboboxList.tsx +23 -1
- package/src/v3/Common/sentinels.ts +17 -0
- package/src/v3/Common/types.ts +1 -0
- package/src/v3/MultiCombobox.stories.tsx +25 -1
- package/src/v3/MultiCombobox.tsx +3 -0
- package/src/v3/MultiSearchableSelect.stories.tsx +26 -1
- package/src/v3/MultiSearchableSelect.tsx +3 -0
- package/src/v3/MultiSelect.stories.tsx +24 -1
- package/src/v3/MultiSelect.tsx +2 -0
- package/src/v3/SingleCombobox.stories.tsx +25 -1
- package/src/v3/SingleCombobox.tsx +2 -0
- package/src/v3/SingleSearchableSelect.stories.tsx +67 -1
- package/src/v3/SingleSearchableSelect.tsx +59 -20
- package/src/v3/SingleSelect.stories.tsx +24 -1
- package/src/v3/SingleSelect.tsx +2 -1
- package/src/v3/storyData.tsx +5 -0
package/src/v3/storyData.tsx
CHANGED
|
@@ -105,6 +105,11 @@ const generateBooks = (count: number): Book[] => {
|
|
|
105
105
|
|
|
106
106
|
export const largeBookSet = generateBooks(1000);
|
|
107
107
|
|
|
108
|
+
export const booksWithDisabled: Book[] = books.map((book) => ({
|
|
109
|
+
...book,
|
|
110
|
+
disabled: book.id === "book-3" || book.id === "book-7",
|
|
111
|
+
}));
|
|
112
|
+
|
|
108
113
|
export const itemToString = (item: Book | null) => item?.title ?? "";
|
|
109
114
|
|
|
110
115
|
export const renderItem = (item: Book) => (
|