@altimateai/ui-components 0.0.59 → 0.0.61-beta.1
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/TagsInput.js +712 -685
- package/dist/storybook/Combobox.stories.tsx +10 -8
- package/package.json +1 -1
|
@@ -159,14 +159,16 @@ export const ComboboxMultiSelectExample: StoryFn = () => {
|
|
|
159
159
|
<p className="al-text-sm al-text-muted-foreground">
|
|
160
160
|
Changes are applied immediately when selecting/deselecting options
|
|
161
161
|
</p>
|
|
162
|
-
<
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
162
|
+
<div className="al-w-40">
|
|
163
|
+
<Combobox
|
|
164
|
+
options={options}
|
|
165
|
+
value={selectedValues}
|
|
166
|
+
placeholder="Select frameworks..."
|
|
167
|
+
multiSelect={true}
|
|
168
|
+
buttonProps={{ className: "al-w-full" }}
|
|
169
|
+
onChange={handleMultiSelectChange}
|
|
170
|
+
/>
|
|
171
|
+
</div>
|
|
170
172
|
<div className="al-text-sm">
|
|
171
173
|
Selected: {selectedValues.length > 0 ? selectedValues.join(", ") : "None"}
|
|
172
174
|
</div>
|