You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -254,6 +257,31 @@ For all other props, refer to [BAISelect](/?path=/docs/components-input-baiselec
254
257
defaultValue: {summary: 'false'},
255
258
},
256
259
},
260
+
showOpenButton: {
261
+
control: {type: 'boolean'},
262
+
description: 'Show button that opens the selected folder in the explorer',
263
+
table: {
264
+
type: {summary: 'boolean'},
265
+
defaultValue: {summary: 'false'},
266
+
},
267
+
},
268
+
showCreateButton: {
269
+
control: {type: 'boolean'},
270
+
description:
271
+
'Show button that opens FolderCreateModalV2 to create a new folder',
272
+
table: {
273
+
type: {summary: 'boolean'},
274
+
defaultValue: {summary: 'false'},
275
+
},
276
+
},
277
+
showRefreshButton: {
278
+
control: {type: 'boolean'},
279
+
description: 'Show button that re-fetches the vfolder list',
280
+
table: {
281
+
type: {summary: 'boolean'},
282
+
defaultValue: {summary: 'false'},
283
+
},
284
+
},
257
285
placeholder: {
258
286
control: {type: 'text'},
259
287
description: 'Placeholder text when no value is selected',
@@ -418,6 +446,41 @@ export const WithClickableNames: Story = {
418
446
),
419
447
};
420
448
449
+
/**
450
+
* Select with the open, create, and refresh action buttons enabled.
451
+
*/
452
+
exportconstWithActionButtons: Story={
453
+
name: 'WithActionButtons',
454
+
parameters: {
455
+
docs: {
456
+
description: {
457
+
story:
458
+
'Demonstrates `showOpenButton`, `showCreateButton`, and `showRefreshButton`. The open button writes a `folder` query param via `react-router-dom`. The create button opens the project `FolderCreateModalV2`. The refresh button re-fetches the paginated list.',
0 commit comments