@veevarts/design-system 2.1.0-beta.13 → 2.1.0-beta.15

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 (45) hide show
  1. package/dist/components/Select/Select.d.ts +10 -0
  2. package/dist/index.cjs +8 -8
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +4947 -4060
  5. package/dist/patterns/AdminToolbar/AdminToolbar.d.ts +10 -2
  6. package/dist/patterns/AdminToolbar/index.d.ts +1 -0
  7. package/dist/patterns/AdminToolbar/styles.d.ts +49 -0
  8. package/dist/patterns/AdminToolbar/types.d.ts +2 -0
  9. package/dist/patterns/CardList/styles.d.ts +5 -1
  10. package/dist/patterns/CardList/types.d.ts +1 -0
  11. package/dist/patterns/DiscardGuard/DiscardGuard.d.ts +23 -0
  12. package/dist/patterns/DiscardGuard/context.d.ts +25 -0
  13. package/dist/patterns/DiscardGuard/index.d.ts +6 -0
  14. package/dist/patterns/DiscardGuard/useDiscardGuard.d.ts +38 -0
  15. package/dist/patterns/EntityRow/EntityList.d.ts +9 -0
  16. package/dist/patterns/EntityRow/EntityRow.d.ts +3 -0
  17. package/dist/patterns/EntityRow/context.d.ts +2 -0
  18. package/dist/patterns/EntityRow/icons.d.ts +3 -0
  19. package/dist/patterns/EntityRow/index.d.ts +3 -0
  20. package/dist/patterns/EntityRow/initials.d.ts +6 -0
  21. package/dist/patterns/EntityRow/styles.d.ts +59 -0
  22. package/dist/patterns/EntityRow/types.d.ts +118 -0
  23. package/dist/patterns/FilterSelect/styles.d.ts +6 -5
  24. package/dist/patterns/InlineConfirm/InlineConfirm.d.ts +38 -0
  25. package/dist/patterns/InlineConfirm/index.d.ts +2 -0
  26. package/dist/patterns/InlineConfirm/styles.d.ts +16 -0
  27. package/dist/patterns/ModalPanels/ModalPanels.d.ts +35 -0
  28. package/dist/patterns/ModalPanels/context.d.ts +20 -0
  29. package/dist/patterns/ModalPanels/focus.d.ts +39 -0
  30. package/dist/patterns/ModalPanels/index.d.ts +6 -0
  31. package/dist/patterns/ModalPanels/styles.d.ts +13 -0
  32. package/dist/patterns/ModalPanels/useModalPanels.d.ts +30 -0
  33. package/dist/patterns/PaginationSummary/PaginationSummary.d.ts +12 -0
  34. package/dist/patterns/PaginationSummary/index.d.ts +1 -1
  35. package/dist/patterns/PillTabs/index.d.ts +1 -1
  36. package/dist/patterns/PillTabs/styles.d.ts +14 -4
  37. package/dist/patterns/PillTabs/types.d.ts +8 -0
  38. package/dist/patterns/RecordCard/index.d.ts +1 -1
  39. package/dist/patterns/RecordCard/styles.d.ts +3 -2
  40. package/dist/patterns/RecordCard/types.d.ts +5 -0
  41. package/dist/patterns/index.d.ts +12 -4
  42. package/dist/providers/DensityProvider.d.ts +7 -0
  43. package/dist/providers/density.d.ts +17 -0
  44. package/dist/providers/index.d.ts +4 -0
  45. package/package.json +2 -2
@@ -3,6 +3,16 @@ type HeroSelectProps<T extends object = object> = HeroUISelectProps<T>;
3
3
  export type SelectPopoverProps = NonNullable<HeroSelectProps['popoverProps']> & {
4
4
  disableDialogFocus?: boolean;
5
5
  portalContainer?: Element;
6
+ /**
7
+ * Marks the popover root as a react-aria top layer. The Modal aria-hides every node added outside
8
+ * its dialog, and the list is portaled next to the dialog, so without the marker the open list is
9
+ * hidden from assistive tech (WCAG 4.1.2).
10
+ * - `undefined` (default): set to `'true'` only when the Select renders inside a dialog.
11
+ * - `'true'`: always set to `'true'`, inside or outside a dialog.
12
+ * - `'false'`: opt out. The attribute is not passed to HeroUI at all, because react-aria's focus
13
+ * and outside-click checks match its presence, so a rendered `'false'` would still count there.
14
+ */
15
+ 'data-react-aria-top-layer'?: 'true' | 'false';
6
16
  };
7
17
  export type SelectProps<T extends object = object> = Omit<HeroSelectProps<T>, 'popoverProps'> & {
8
18
  popoverProps?: SelectPopoverProps;