@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.
- package/dist/components/buttons/MenuButton/MenuButton.d.ts +5 -4
- package/dist/components/icons/Icon/generated-icon-data.d.ts +1 -1
- package/dist/components/navigation/UserMenu/UserMenu.d.ts +5 -4
- package/dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +5 -4
- package/dist/index.css +1 -1
- package/dist/index.js +567 -571
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
38
|
-
* provides the accordion's expected layout (e.g. `Navbar`
|
|
39
|
-
*
|
|
40
|
-
*
|
|
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-
|
|
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.
|
|
51
|
-
* provides the accordion's expected layout (e.g. `Navbar`
|
|
52
|
-
*
|
|
53
|
-
*
|
|
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.
|
|
73
|
-
* provides the accordion's expected layout (e.g.
|
|
74
|
-
*
|
|
75
|
-
*
|
|
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
|
/**
|