@aleph-alpha/ui-library 6.3.3 → 6.3.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.
Files changed (50) hide show
  1. package/dist/system/components/UiFileUploadBox/types.d.ts +8 -5
  2. package/dist/system/components/UiStepper/context.d.ts +8 -0
  3. package/dist/system/components/core/range-calendar/RangeCalendar.vue.d.ts +24 -24
  4. package/dist/system/icons/story-sidebar-icons.json +7 -0
  5. package/dist/system/lib.js +14776 -14598
  6. package/dist/system/patterns/UiLayout/layout-shell.d.ts +217 -5
  7. package/dist/system/patterns/UiTopBar/accessory-dropdown.d.ts +227 -0
  8. package/dist/system/story-sidebar-icons.json +7 -0
  9. package/package.json +1 -1
  10. package/src/components/UiAccordion/UiAccordion.stories.ts +1079 -0
  11. package/src/components/UiCalendar/UiCalendar.stories.ts +734 -0
  12. package/src/components/UiCalendar/__tests__/UiCalendar.test.ts +8 -5
  13. package/src/components/UiDropdownMenu/UiDropdownMenuTrigger.vue +3 -1
  14. package/src/components/UiFileUploadBox/UiFileUploadBox.stories.ts +389 -3
  15. package/src/components/UiFileUploadBox/UiFileUploadBox.vue +55 -75
  16. package/src/components/UiFileUploadBox/__tests__/UiFileUploadBox.test.ts +44 -0
  17. package/src/components/UiFileUploadBox/types.ts +8 -5
  18. package/src/components/UiNavigationMenu/UiNavigationMenu.stories.ts +723 -0
  19. package/src/components/UiRangeCalendar/UiRangeCalendar.stories.ts +819 -7
  20. package/src/components/UiRangeCalendar/__tests__/UiRangeCalendar.test.ts +8 -3
  21. package/src/components/UiResizable/UiResizable.stories.ts +1215 -5
  22. package/src/components/UiSnackbar/UiSnackbar.stories.ts +1017 -4
  23. package/src/components/UiSnackbar/UiSnackbar.vue +3 -2
  24. package/src/components/UiSnackbar/UiSnackbarContent.vue +1 -1
  25. package/src/components/UiSnackbar/__tests__/UiSnackbar.test.ts +3 -1
  26. package/src/components/UiStepper/UiStepper.stories.ts +566 -2
  27. package/src/components/UiStepper/UiStepper.vue +14 -1
  28. package/src/components/UiStepper/UiStepperItem.vue +22 -4
  29. package/src/components/UiStepper/__tests__/UiStepper.test.ts +66 -0
  30. package/src/components/UiStepper/context.ts +10 -0
  31. package/src/components/core/calendar/Calendar.vue +234 -2
  32. package/src/components/core/calendar/CalendarCellTrigger.vue +1 -1
  33. package/src/components/core/navigation-menu/NavigationMenuList.vue +1 -1
  34. package/src/components/core/range-calendar/RangeCalendar.vue +254 -6
  35. package/src/components/core/range-calendar/RangeCalendarCellTrigger.vue +1 -1
  36. package/src/patterns/UiDatePicker/UiDatePicker.stories.ts +846 -17
  37. package/src/patterns/UiDatePicker/UiDatePicker.vue +9 -0
  38. package/src/patterns/UiDatePicker/__tests__/UiDatePicker.test.ts +13 -8
  39. package/src/patterns/UiFileUpload/UiFileItem.stories.ts +23 -17
  40. package/src/patterns/UiFileUpload/UiFileUpload.stories.ts +138 -113
  41. package/src/patterns/UiFileUpload/UiFileUpload.vue +1 -1
  42. package/src/patterns/UiFileUpload/__tests__/UiFileUpload.test.ts +2 -2
  43. package/src/patterns/UiLayout/UiLayout.stories.ts +25 -0
  44. package/src/patterns/UiLayout/UiLayoutContent.stories.ts +359 -0
  45. package/src/patterns/UiLayout/UiLayoutContent.vue +45 -23
  46. package/src/patterns/UiLayout/UiLayoutMobile.stories.ts +13 -0
  47. package/src/patterns/UiLayout/layout-shell.ts +159 -13
  48. package/src/patterns/UiTopBar/UiTopBar.stories.ts +245 -36
  49. package/src/patterns/UiTopBar/UiTopBar.vue +4 -2
  50. package/src/patterns/UiTopBar/accessory-dropdown.ts +97 -0
@@ -28,9 +28,12 @@ export interface UiFileUploadBoxProps {
28
28
  maxSizeLabel?: string;
29
29
  /** Heading inside the drop zone. */
30
30
  dropLabel?: string;
31
- /** Label for the secondary button. */
31
+ /** Label for the button-styled hint inside the drop zone (the whole zone is the button). */
32
32
  chooseLabel?: string;
33
- /** Accessible name for the drop region. */
33
+ /**
34
+ * Overrides the drop zone's accessible name, which otherwise comes from its visible text.
35
+ * Start it with the visible labels so speech-input users can still target it (WCAG 2.5.3).
36
+ */
34
37
  ariaLabel?: string;
35
38
  }
36
39
 
@@ -72,10 +75,10 @@ export interface UiFileUploadBoxEmits {
72
75
  /** Re-emitted when files are dropped; processing runs after this emit. */
73
76
  drop: [event: DragEvent];
74
77
 
75
- /** Emitted for clicks on the drop zone (before opening the picker unless the target is the choose button). */
78
+ /** Emitted for clicks anywhere on the drop zone, before the picker opens. */
76
79
  click: [event: MouseEvent];
77
80
 
78
- /** Emitted for keydown on the drop zone (Enter/Space opens the picker when enabled). */
81
+ /** Emitted for keydown on the drop zone (Enter/Space open the picker when enabled). */
79
82
  keydown: [event: KeyboardEvent];
80
83
 
81
84
  /** Emitted when the drop zone receives focus. */
@@ -88,7 +91,7 @@ export interface UiFileUploadBoxEmits {
88
91
  change: [event: Event];
89
92
 
90
93
  /**
91
- * Emitted immediately before the native file picker opens (zone click, choose button, or keyboard).
94
+ * Emitted immediately before the native file picker opens (zone click or keyboard).
92
95
  * Useful for analytics or closing overlays.
93
96
  */
94
97
  pickerOpen: [];