@pantheon-systems/pds-toolkit-react 2.0.0-alpha.74 → 2.0.0-alpha.75

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.
@@ -34,10 +34,11 @@ export interface MenuButtonProps extends ComponentPropsWithRef<'span'> {
34
34
  * Opt in to swapping the trigger + floating dropdown panel for an inline
35
35
  * accordion at the mobile breakpoint. Defaults to `false` — MenuButton
36
36
  * always renders its normal trigger + dropdown otherwise, regardless of
37
- * viewport. Only set this when rendering inside a mobile nav menu that
38
- * provides the accordion's expected layout (e.g. `Navbar` sets this
39
- * automatically on its own mobile-menu copy of any MenuButton children —
40
- * you shouldn't need to set it yourself in that case).
37
+ * viewport. Set this explicitly when placing MenuButton inside a mobile
38
+ * nav menu that provides the accordion's expected layout (e.g. `Navbar`'s
39
+ * own mobile menu) typically `isMobileAccordion={useIsMobile()}`, using
40
+ * the `useIsMobile` hook, so the swap only takes effect at the mobile
41
+ * breakpoint.
41
42
  */
42
43
  isMobileAccordion?: boolean;
43
44
  /**
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generated by: npm run generate:icon-data
5
5
  * Source: icon-registry.ts + Font Awesome packages + custom-icons.tsx
6
- * Generated: 2026-08-24T23:42:55.504Z
6
+ * Generated: 2026-08-25T01:31:01.546Z
7
7
  */
8
8
  import { customIcons } from './custom-icons';
9
9
  export { customIcons };
@@ -47,10 +47,11 @@ export interface UserMenuProps extends ComponentPropsWithoutRef<'span'> {
47
47
  * Opt in to swapping the trigger + floating dropdown panel for an inline
48
48
  * accordion at the mobile breakpoint. Defaults to `false` — UserMenu
49
49
  * always renders its normal trigger + dropdown otherwise, regardless of
50
- * viewport. Only set this when rendering inside a mobile nav menu that
51
- * provides the accordion's expected layout (e.g. `Navbar` sets this
52
- * automatically on its own mobile-menu copy you shouldn't need to set
53
- * it yourself in that case).
50
+ * viewport. Set this explicitly when placing UserMenu inside a mobile nav
51
+ * menu that provides the accordion's expected layout (e.g. `Navbar`'s own
52
+ * mobile menu)typically `isMobileAccordion={useIsMobile()}`, using the
53
+ * `useIsMobile` hook, so the swap only takes effect at the mobile
54
+ * breakpoint.
54
55
  */
55
56
  isMobileAccordion?: boolean;
56
57
  /**
@@ -69,10 +69,11 @@ export interface WorkspaceSelectorProps extends ComponentPropsWithoutRef<'span'>
69
69
  * Opt in to swapping the trigger + floating dropdown panel for an inline
70
70
  * accordion at the mobile breakpoint. Defaults to `false` — WorkspaceSelector
71
71
  * always renders its normal trigger + dropdown otherwise, regardless of
72
- * viewport. Only set this when rendering inside a mobile nav menu that
73
- * provides the accordion's expected layout (e.g. `Navbar` sets this
74
- * automatically on its own mobile-menu copy you shouldn't need to set
75
- * it yourself in that case).
72
+ * viewport. Set this explicitly when placing WorkspaceSelector inside a
73
+ * mobile nav menu that provides the accordion's expected layout (e.g.
74
+ * `Navbar`'s own mobile menu)typically `isMobileAccordion={useIsMobile()}`,
75
+ * using the `useIsMobile` hook, so the swap only takes effect at the
76
+ * mobile breakpoint.
76
77
  */
77
78
  isMobileAccordion?: boolean;
78
79
  /**