vueless 1.2.15-beta.8 → 1.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "1.2.15-beta.8",
3
+ "version": "1.3.0",
4
4
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
5
5
  "author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
6
6
  "homepage": "https://vueless.com",
@@ -283,9 +283,9 @@ DefaultSlot.args = {
283
283
  round: true,
284
284
  toggleIcon: false,
285
285
  options: [
286
- { label: "Change avatar", id: "avatar" },
287
- { label: "Profile settings", id: "settings" },
288
- { label: "Delete profile", id: "delete" },
286
+ { label: "Change avatar", value: "avatar" },
287
+ { label: "Profile settings", value: "settings" },
288
+ { label: "Delete profile", value: "delete" },
289
289
  ],
290
290
  slotTemplate: `
291
291
  <template #default>
@@ -345,7 +345,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
345
345
  :options="[
346
346
  {
347
347
  label: 'John Doe',
348
- id: '1',
348
+ value: '1',
349
349
  role: 'Developer',
350
350
  avatar: johnDoe,
351
351
  status: 'online',
@@ -353,7 +353,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
353
353
  },
354
354
  {
355
355
  label: 'Jane Smith',
356
- id: '2',
356
+ value: '2',
357
357
  role: 'Designer',
358
358
  avatar: emilyDavis,
359
359
  status: 'away',
@@ -361,7 +361,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
361
361
  },
362
362
  {
363
363
  label: 'Mike Johnson',
364
- id: '3',
364
+ value: '3',
365
365
  role: 'Product Manager',
366
366
  avatar: alexJohnson,
367
367
  status: 'offline',
@@ -369,7 +369,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
369
369
  },
370
370
  {
371
371
  label: 'Sarah Wilson',
372
- id: '4',
372
+ value: '4',
373
373
  role: 'QA Engineer',
374
374
  avatar: patMorgan,
375
375
  status: 'online',
@@ -388,7 +388,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
388
388
  :options="[
389
389
  {
390
390
  label: 'John Doe',
391
- id: '1',
391
+ value: '1',
392
392
  role: 'Developer',
393
393
  avatar: johnDoe,
394
394
  status: 'online',
@@ -396,7 +396,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
396
396
  },
397
397
  {
398
398
  label: 'Jane Smith',
399
- id: '2',
399
+ value: '2',
400
400
  role: 'Designer',
401
401
  avatar: emilyDavis,
402
402
  status: 'away',
@@ -404,7 +404,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
404
404
  },
405
405
  {
406
406
  label: 'Mike Johnson',
407
- id: '3',
407
+ value: '3',
408
408
  role: 'Product Manager',
409
409
  avatar: alexJohnson,
410
410
  status: 'offline',
@@ -412,7 +412,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
412
412
  },
413
413
  {
414
414
  label: 'Sarah Wilson',
415
- id: '4',
415
+ value: '4',
416
416
  role: 'QA Engineer',
417
417
  avatar: patMorgan,
418
418
  status: 'online',
@@ -442,7 +442,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
442
442
  :options="[
443
443
  {
444
444
  label: 'John Doe',
445
- id: '1',
445
+ value: '1',
446
446
  role: 'Developer',
447
447
  avatar: johnDoe,
448
448
  status: 'online',
@@ -450,7 +450,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
450
450
  },
451
451
  {
452
452
  label: 'Jane Smith',
453
- id: '2',
453
+ value: '2',
454
454
  role: 'Designer',
455
455
  avatar: emilyDavis,
456
456
  status: 'away',
@@ -458,7 +458,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
458
458
  },
459
459
  {
460
460
  label: 'Mike Johnson',
461
- id: '3',
461
+ value: '3',
462
462
  role: 'Product Manager',
463
463
  avatar: alexJohnson,
464
464
  status: 'offline',
@@ -466,7 +466,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownBadgeArgs> = (args) => ({
466
466
  },
467
467
  {
468
468
  label: 'Sarah Wilson',
469
- id: '4',
469
+ value: '4',
470
470
  role: 'QA Engineer',
471
471
  avatar: patMorgan,
472
472
  status: 'online',
@@ -185,9 +185,9 @@ export const NoCloseOnSelect = SelectableTemplate.bind({});
185
185
  NoCloseOnSelect.args = {
186
186
  modelValue: "pending",
187
187
  options: [
188
- { label: "Active", id: "active" },
189
- { label: "Pending", id: "pending" },
190
- { label: "Archived", id: "archived" },
188
+ { label: "Active", value: "active" },
189
+ { label: "Pending", value: "pending" },
190
+ { label: "Archived", value: "archived" },
191
191
  ],
192
192
  closeOnSelect: false,
193
193
  };
@@ -197,9 +197,9 @@ OptionSelection.args = {
197
197
  label: "Select status",
198
198
  modelValue: "active",
199
199
  options: [
200
- { label: "Active", id: "active" },
201
- { label: "Pending", id: "pending" },
202
- { label: "Archived", id: "archived" },
200
+ { label: "Active", value: "active" },
201
+ { label: "Pending", value: "pending" },
202
+ { label: "Archived", value: "archived" },
203
203
  ],
204
204
  };
205
205
 
@@ -209,9 +209,9 @@ MultipleOptionSelection.args = {
209
209
  modelValue: ["active", "pending", "archived"],
210
210
  multiple: true,
211
211
  options: [
212
- { label: "Active", id: "active" },
213
- { label: "Pending", id: "pending" },
214
- { label: "Archived", id: "archived" },
212
+ { label: "Active", value: "active" },
213
+ { label: "Pending", value: "pending" },
214
+ { label: "Archived", value: "archived" },
215
215
  ],
216
216
  };
217
217
 
@@ -303,9 +303,9 @@ DefaultSlot.args = {
303
303
  toggleIcon: false,
304
304
  square: true,
305
305
  options: [
306
- { label: "Change avatar", id: "avatar" },
307
- { label: "Profile settings", id: "settings" },
308
- { label: "Delete profile", id: "delete" },
306
+ { label: "Change avatar", value: "avatar" },
307
+ { label: "Profile settings", value: "settings" },
308
+ { label: "Delete profile", value: "delete" },
309
309
  ],
310
310
  slotTemplate: `
311
311
  <template #default>
@@ -408,7 +408,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
408
408
  :options="[
409
409
  {
410
410
  label: 'John Doe',
411
- id: '1',
411
+ value: '1',
412
412
  role: 'Developer',
413
413
  avatar: johnDoe,
414
414
  status: 'online',
@@ -416,7 +416,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
416
416
  },
417
417
  {
418
418
  label: 'Jane Smith',
419
- id: '2',
419
+ value: '2',
420
420
  role: 'Designer',
421
421
  avatar: emilyDavis,
422
422
  status: 'away',
@@ -424,7 +424,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
424
424
  },
425
425
  {
426
426
  label: 'Mike Johnson',
427
- id: '3',
427
+ value: '3',
428
428
  role: 'Product Manager',
429
429
  avatar: alexJohnson,
430
430
  status: 'offline',
@@ -432,7 +432,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
432
432
  },
433
433
  {
434
434
  label: 'Sarah Wilson',
435
- id: '4',
435
+ value: '4',
436
436
  role: 'QA Engineer',
437
437
  avatar: patMorgan,
438
438
  status: 'online',
@@ -462,7 +462,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
462
462
  :options="[
463
463
  {
464
464
  label: 'John Doe',
465
- id: '1',
465
+ value: '1',
466
466
  role: 'Developer',
467
467
  avatar: johnDoe,
468
468
  status: 'online',
@@ -470,7 +470,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
470
470
  },
471
471
  {
472
472
  label: 'Jane Smith',
473
- id: '2',
473
+ value: '2',
474
474
  role: 'Designer',
475
475
  avatar: emilyDavis,
476
476
  status: 'away',
@@ -478,7 +478,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
478
478
  },
479
479
  {
480
480
  label: 'Mike Johnson',
481
- id: '3',
481
+ value: '3',
482
482
  role: 'Product Manager',
483
483
  avatar: alexJohnson,
484
484
  status: 'offline',
@@ -486,7 +486,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownButtonArgs> = (args) => ({
486
486
  },
487
487
  {
488
488
  label: 'Sarah Wilson',
489
- id: '4',
489
+ value: '4',
490
490
  role: 'QA Engineer',
491
491
  avatar: patMorgan,
492
492
  status: 'online',
@@ -331,7 +331,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
331
331
  :options="[
332
332
  {
333
333
  label: 'John Doe',
334
- id: '1',
334
+ value: '1',
335
335
  role: 'Developer',
336
336
  avatar: johnDoe,
337
337
  status: 'online',
@@ -339,7 +339,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
339
339
  },
340
340
  {
341
341
  label: 'Jane Smith',
342
- id: '2',
342
+ value: '2',
343
343
  role: 'Designer',
344
344
  avatar: emilyDavis,
345
345
  status: 'away',
@@ -347,7 +347,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
347
347
  },
348
348
  {
349
349
  label: 'Mike Johnson',
350
- id: '3',
350
+ value: '3',
351
351
  role: 'Product Manager',
352
352
  avatar: alexJohnson,
353
353
  status: 'offline',
@@ -355,7 +355,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
355
355
  },
356
356
  {
357
357
  label: 'Sarah Wilson',
358
- id: '4',
358
+ value: '4',
359
359
  role: 'QA Engineer',
360
360
  avatar: patMorgan,
361
361
  status: 'online',
@@ -374,7 +374,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
374
374
  :options="[
375
375
  {
376
376
  label: 'John Doe',
377
- id: '1',
377
+ value: '1',
378
378
  role: 'Developer',
379
379
  avatar: johnDoe,
380
380
  status: 'online',
@@ -382,7 +382,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
382
382
  },
383
383
  {
384
384
  label: 'Jane Smith',
385
- id: '2',
385
+ value: '2',
386
386
  role: 'Designer',
387
387
  avatar: emilyDavis,
388
388
  status: 'away',
@@ -390,7 +390,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
390
390
  },
391
391
  {
392
392
  label: 'Mike Johnson',
393
- id: '3',
393
+ value: '3',
394
394
  role: 'Product Manager',
395
395
  avatar: alexJohnson,
396
396
  status: 'offline',
@@ -398,7 +398,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
398
398
  },
399
399
  {
400
400
  label: 'Sarah Wilson',
401
- id: '4',
401
+ value: '4',
402
402
  role: 'QA Engineer',
403
403
  avatar: patMorgan,
404
404
  status: 'online',
@@ -428,7 +428,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
428
428
  :options="[
429
429
  {
430
430
  label: 'John Doe',
431
- id: '1',
431
+ value: '1',
432
432
  role: 'Developer',
433
433
  avatar: johnDoe,
434
434
  status: 'online',
@@ -436,7 +436,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
436
436
  },
437
437
  {
438
438
  label: 'Jane Smith',
439
- id: '2',
439
+ value: '2',
440
440
  role: 'Designer',
441
441
  avatar: emilyDavis,
442
442
  status: 'away',
@@ -444,7 +444,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
444
444
  },
445
445
  {
446
446
  label: 'Mike Johnson',
447
- id: '3',
447
+ value: '3',
448
448
  role: 'Product Manager',
449
449
  avatar: alexJohnson,
450
450
  status: 'offline',
@@ -452,7 +452,7 @@ export const OptionSlots: StoryFn<DefaultUDropdownLinkArgs> = (args) => ({
452
452
  },
453
453
  {
454
454
  label: 'Sarah Wilson',
455
- id: '4',
455
+ value: '4',
456
456
  role: 'QA Engineer',
457
457
  avatar: patMorgan,
458
458
  status: 'online',
@@ -33,9 +33,9 @@ export default {
33
33
  args: {
34
34
  label: "Select your preferred communication methods:",
35
35
  options: [
36
- { label: "Email Notifications", id: "email" },
37
- { label: "SMS Alerts", id: "sms" },
38
- { label: "Push Notifications", id: "push" },
36
+ { label: "Email Notifications", value: "email" },
37
+ { label: "SMS Alerts", value: "sms" },
38
+ { label: "Push Notifications", value: "push" },
39
39
  ],
40
40
  },
41
41
  argTypes: {
@@ -121,7 +121,7 @@ Options.args = {
121
121
  { label: "String", value: "Subscribed" },
122
122
  { label: "Number", value: 42 },
123
123
  { label: "Boolean", value: true },
124
- { label: "Object", value: { id: 101, status: "active" } },
124
+ { label: "Object", value: { value: 101, status: "active" } },
125
125
  { label: "Array", value: ["Admin", "Editor"] },
126
126
  ],
127
127
  };
@@ -1,5 +1,5 @@
1
1
  export default /*tw*/ {
2
- wrapper: "flex items-center gap-2",
2
+ wrapper: "flex items-center gap-2 w-fit",
3
3
  counterText: {
4
4
  variants: {
5
5
  size: {
@@ -29,9 +29,9 @@ export default {
29
29
  args: {
30
30
  label: "Select your preferred delivery option:",
31
31
  options: [
32
- { id: "standard", label: "Standard Shipping (3-5 business days)" },
33
- { id: "express", label: "Express Shipping (1-2 business days)" },
34
- { id: "pickup", label: "In-Store Pickup (Available same day)" },
32
+ { value: "standard", label: "Standard Shipping (3-5 business days)" },
33
+ { value: "express", label: "Express Shipping (1-2 business days)" },
34
+ { value: "pickup", label: "In-Store Pickup (Available same day)" },
35
35
  ],
36
36
  },
37
37
  argTypes: {
@@ -103,7 +103,7 @@ Options.args = {
103
103
  { label: "String", value: "Subscribed" },
104
104
  { label: "Number", value: 42 },
105
105
  { label: "Boolean", value: true },
106
- { label: "Object", value: { id: 101, status: "active" } },
106
+ { label: "Object", value: { value: 101, status: "active" } },
107
107
  { label: "Array", value: ["Admin", "Editor"] },
108
108
  ],
109
109
  };
@@ -39,11 +39,11 @@ export default {
39
39
  label: "Choose a city",
40
40
  modelValue: null,
41
41
  options: [
42
- { label: "New York", id: 1 },
43
- { label: "Los Angeles", id: 2 },
44
- { label: "Chicago", id: 3 },
45
- { label: "Houston", id: 4 },
46
- { label: "San Francisco", id: 5 },
42
+ { label: "New York", value: 1 },
43
+ { label: "Los Angeles", value: 2 },
44
+ { label: "Chicago", value: 3 },
45
+ { label: "Houston", value: 4 },
46
+ { label: "San Francisco", value: 5 },
47
47
  ],
48
48
  },
49
49
  argTypes: {
@@ -181,7 +181,7 @@ Sizes.args = { enum: "size", multiple: true, modelValue: [], label: "{enumValue}
181
181
  export const LargeItemList = DefaultTemplate.bind({});
182
182
  LargeItemList.args = {
183
183
  options: [...new Array(1000)].map((_, index) => {
184
- return { id: index + 1, label: `value ${index + 1}`, badge: "badge" };
184
+ return { value: index + 1, label: `value ${index + 1}`, badge: "badge" };
185
185
  }),
186
186
  };
187
187
 
@@ -272,16 +272,16 @@ AddOption.parameters = {
272
272
  export const OptionSettings = DefaultTemplate.bind({});
273
273
  OptionSettings.args = {
274
274
  options: [
275
- { label: "1. New York", id: "1" },
276
- { label: "2. Los Angeles", id: "2", isHidden: true },
275
+ { label: "1. New York", value: "1" },
276
+ { label: "2. Los Angeles", value: "2", isHvalueden: true },
277
277
  {
278
278
  label: "3. Chicago",
279
- id: "3",
279
+ value: "3",
280
280
  onClick: (option) =>
281
281
  alert("onClick function for the third option: " + JSON.stringify(option)),
282
282
  },
283
- { label: "4. Houston", id: "4" },
284
- { label: "5. San Francisco", id: "5" },
283
+ { label: "4. Houston", value: "4" },
284
+ { label: "5. San Francisco", value: "5" },
285
285
  ],
286
286
  };
287
287
  OptionSettings.parameters = {
@@ -298,17 +298,17 @@ export const IconProps: StoryFn<USelectArgs> = (args) => ({
298
298
  components: { USelect, URow },
299
299
  setup() {
300
300
  const levelOptions = [
301
- { label: "Awesome", id: "1" },
302
- { label: "Good", id: "2" },
303
- { label: "Could be better", id: "3" },
304
- { label: "Terrible", id: "4" },
301
+ { label: "Awesome", value: "1" },
302
+ { label: "Good", value: "2" },
303
+ { label: "Could be better", value: "3" },
304
+ { label: "Terrible", value: "4" },
305
305
  ];
306
306
 
307
307
  const roleOptions = [
308
- { label: "Admin", id: "1" },
309
- { label: "CEO", id: "2" },
310
- { label: "Manager", id: "3" },
311
- { label: "Guest", id: "4" },
308
+ { label: "Admin", value: "1" },
309
+ { label: "CEO", value: "2" },
310
+ { label: "Manager", value: "3" },
311
+ { label: "Guest", value: "4" },
312
312
  ];
313
313
 
314
314
  return { args, levelOptions, roleOptions };
@@ -342,10 +342,10 @@ export const Slots: StoryFn<USelectArgs> = (args) => ({
342
342
  v-model="leftSlotModel"
343
343
  label="Select Payment Method"
344
344
  :options="[
345
- { label: 'Visa', id: 'visa', icon: 'credit_card', details: '•••• 4242' },
346
- { label: 'PayPal', id: 'paypal', icon: 'payments', details: 'user@example.com' },
347
- { label: 'Bank Transfer', id: 'bank', icon: 'account_balance', details: 'Acct **** 1234' },
348
- { label: 'Apple Pay', id: 'apple', icon: 'phone_iphone', details: 'iPhone 15' },
345
+ { label: 'Visa', value: 'visa', icon: 'credit_card', details: '•••• 4242' },
346
+ { label: 'PayPal', value: 'paypal', icon: 'payments', details: 'user@example.com' },
347
+ { label: 'Bank Transfer', value: 'bank', icon: 'account_balance', details: 'Acct **** 1234' },
348
+ { label: 'Apple Pay', value: 'apple', icon: 'phone_iphone', details: 'iPhone 15' },
349
349
  ]"
350
350
  >
351
351
  <template #left="{ options }">
@@ -362,10 +362,10 @@ export const Slots: StoryFn<USelectArgs> = (args) => ({
362
362
  v-model="rightSlotModel"
363
363
  label="Select Payment Method"
364
364
  :options="[
365
- { label: 'Visa', id: 'visa', icon: 'credit_card', details: '•••• 4242' },
366
- { label: 'PayPal', id: 'paypal', icon: 'payments', details: 'user@example.com' },
367
- { label: 'Bank Transfer', id: 'bank', icon: 'account_balance', details: 'Acct **** 1234' },
368
- { label: 'Apple Pay', id: 'apple', icon: 'phone_iphone', details: 'iPhone 15' },
365
+ { label: 'Visa', value: 'visa', icon: 'credit_card', details: '•••• 4242' },
366
+ { label: 'PayPal', value: 'paypal', icon: 'payments', details: 'user@example.com' },
367
+ { label: 'Bank Transfer', value: 'bank', icon: 'account_balance', details: 'Acct **** 1234' },
368
+ { label: 'Apple Pay', value: 'apple', icon: 'phone_iphone', details: 'iPhone 15' },
369
369
  ]"
370
370
  >
371
371
  <template #right="{ options }">
@@ -398,9 +398,9 @@ export const ToggleSlots: StoryFn<USelectArgs> = (args) => ({
398
398
  v-model="beforeToggleModel"
399
399
  label="Before Toggle Slot"
400
400
  :options="[
401
- { label: 'John Doe', id: '1' },
402
- { label: 'Jane Smith', id: '2' },
403
- { label: 'Mike Johnson', id: '3' },
401
+ { label: 'John Doe', value: '1' },
402
+ { label: 'Jane Smith', value: '2' },
403
+ { label: 'Mike Johnson', value: '3' },
404
404
  ]"
405
405
  >
406
406
  <template #before-toggle>
@@ -416,9 +416,9 @@ export const ToggleSlots: StoryFn<USelectArgs> = (args) => ({
416
416
  v-model="toggleModel"
417
417
  label="Toggle Slot"
418
418
  :options="[
419
- { label: 'High', id: 'high' },
420
- { label: 'Medium', id: 'medium' },
421
- { label: 'Low', id: 'low' }
419
+ { label: 'High', value: 'high' },
420
+ { label: 'Medium', value: 'medium' },
421
+ { label: 'Low', value: 'low' }
422
422
  ]"
423
423
  >
424
424
  <template #toggle="{ opened }">
@@ -435,9 +435,9 @@ export const ToggleSlots: StoryFn<USelectArgs> = (args) => ({
435
435
  v-model="afterToggleModel"
436
436
  label="After Toggle Slot"
437
437
  :options="[
438
- { label: 'In Progress', id: 'in_progress' },
439
- { label: 'Done', id: 'done' },
440
- { label: 'Blocked', id: 'blocked' }
438
+ { label: 'In Progress', value: 'in_progress' },
439
+ { label: 'Done', value: 'done' },
440
+ { label: 'Blocked', value: 'blocked' }
441
441
  ]"
442
442
  >
443
443
  <template #after-toggle>
@@ -470,10 +470,10 @@ export const SelectedOptionsSlots: StoryFn<USelectArgs> = (args) => ({
470
470
  v-model="args.selectedOption"
471
471
  label="Selected option slot"
472
472
  :options="[
473
- { label: 'Paris', id: '1', icon: 'flight' },
474
- { label: 'Venice', id: '2', icon: 'sailing' },
475
- { label: 'Rome', id: '3', icon: 'directions_car' },
476
- { label: 'Milan', id: '4', icon: 'directions_bike' },
473
+ { label: 'Paris', value: '1', icon: 'flight' },
474
+ { label: 'Venice', value: '2', icon: 'sailing' },
475
+ { label: 'Rome', value: '3', icon: 'directions_car' },
476
+ { label: 'Milan', value: '4', icon: 'directions_bike' },
477
477
  ]"
478
478
  >
479
479
  <template #selected-option="{ option }">
@@ -492,10 +492,10 @@ export const SelectedOptionsSlots: StoryFn<USelectArgs> = (args) => ({
492
492
  v-model="args.selectedOptions"
493
493
  label="Selected options slot"
494
494
  :options="[
495
- { label: 'Paris', id: '1', icon: 'flight' },
496
- { label: 'Venice', id: '2', icon: 'sailing' },
497
- { label: 'Rome', id: '3', icon: 'directions_car' },
498
- { label: 'Milan', id: '4', icon: 'directions_bike' },
495
+ { label: 'Paris', value: '1', icon: 'flight' },
496
+ { label: 'Venice', value: '2', icon: 'sailing' },
497
+ { label: 'Rome', value: '3', icon: 'directions_car' },
498
+ { label: 'Milan', value: '4', icon: 'directions_bike' },
499
499
  ]"
500
500
  multiple
501
501
  >
@@ -568,7 +568,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
568
568
  :options="[
569
569
  {
570
570
  label: 'John Doe',
571
- id: '1',
571
+ value: '1',
572
572
  role: 'Developer',
573
573
  avatar: johnDoe,
574
574
  status: 'online',
@@ -576,7 +576,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
576
576
  },
577
577
  {
578
578
  label: 'Jane Smith',
579
- id: '2',
579
+ value: '2',
580
580
  role: 'Designer',
581
581
  avatar: emilyDavis,
582
582
  status: 'away',
@@ -584,7 +584,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
584
584
  },
585
585
  {
586
586
  label: 'Mike Johnson',
587
- id: '3',
587
+ value: '3',
588
588
  role: 'Product Manager',
589
589
  avatar: alexJohnson,
590
590
  status: 'offline',
@@ -592,7 +592,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
592
592
  },
593
593
  {
594
594
  label: 'Sarah Wilson',
595
- id: '4',
595
+ value: '4',
596
596
  role: 'QA Engineer',
597
597
  avatar: patMorgan,
598
598
  status: 'online',
@@ -611,7 +611,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
611
611
  :options="[
612
612
  {
613
613
  label: 'John Doe',
614
- id: '1',
614
+ value: '1',
615
615
  role: 'Developer',
616
616
  avatar: johnDoe,
617
617
  status: 'online',
@@ -619,7 +619,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
619
619
  },
620
620
  {
621
621
  label: 'Jane Smith',
622
- id: '2',
622
+ value: '2',
623
623
  role: 'Designer',
624
624
  avatar: emilyDavis,
625
625
  status: 'away',
@@ -627,7 +627,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
627
627
  },
628
628
  {
629
629
  label: 'Mike Johnson',
630
- id: '3',
630
+ value: '3',
631
631
  role: 'Product Manager',
632
632
  avatar: alexJohnson,
633
633
  status: 'offline',
@@ -635,7 +635,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
635
635
  },
636
636
  {
637
637
  label: 'Sarah Wilson',
638
- id: '4',
638
+ value: '4',
639
639
  role: 'QA Engineer',
640
640
  avatar: patMorgan,
641
641
  status: 'online',
@@ -665,7 +665,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
665
665
  :options="[
666
666
  {
667
667
  label: 'John Doe',
668
- id: '1',
668
+ value: '1',
669
669
  role: 'Developer',
670
670
  avatar: johnDoe,
671
671
  status: 'online',
@@ -673,7 +673,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
673
673
  },
674
674
  {
675
675
  label: 'Jane Smith',
676
- id: '2',
676
+ value: '2',
677
677
  role: 'Designer',
678
678
  avatar: emilyDavis,
679
679
  status: 'away',
@@ -681,7 +681,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
681
681
  },
682
682
  {
683
683
  label: 'Mike Johnson',
684
- id: '3',
684
+ value: '3',
685
685
  role: 'Product Manager',
686
686
  avatar: alexJohnson,
687
687
  status: 'offline',
@@ -689,7 +689,7 @@ export const OptionSlots: StoryFn<USelectArgs> = (args) => ({
689
689
  },
690
690
  {
691
691
  label: 'Sarah Wilson',
692
- id: '4',
692
+ value: '4',
693
693
  role: 'QA Engineer',
694
694
  avatar: patMorgan,
695
695
  status: 'online',