@getsoren/design-system 4.81.1 → 4.82.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/dist/main.cjs +58 -58
- package/dist/main.js +1671 -1672
- package/dist/src/components/Navigation/NavigationMenu/NavigationMenu.d.ts +12 -1
- package/package.json +1 -1
|
@@ -112,6 +112,11 @@ export interface BottomLinkProps {
|
|
|
112
112
|
* Content displayed for the link
|
|
113
113
|
*/
|
|
114
114
|
label?: ReactNode;
|
|
115
|
+
/**
|
|
116
|
+
* Shown right after the label (store marks, a badge…), and hidden with it on the collapsed rail,
|
|
117
|
+
* where the tooltip keeps the label alone
|
|
118
|
+
*/
|
|
119
|
+
endAdornment?: ReactNode;
|
|
115
120
|
/**
|
|
116
121
|
* Force the active state of the link
|
|
117
122
|
*/
|
|
@@ -126,6 +131,11 @@ export interface BottomLinkProps {
|
|
|
126
131
|
* @default false
|
|
127
132
|
*/
|
|
128
133
|
iconOnlyWhenCollapsed?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Leave the link out, so a list can declare every link and only toggle the ones shown
|
|
136
|
+
* @default false
|
|
137
|
+
*/
|
|
138
|
+
hidden?: boolean;
|
|
129
139
|
/**
|
|
130
140
|
* Disable the link
|
|
131
141
|
*/
|
|
@@ -219,7 +229,8 @@ export interface NavigationMenuProps {
|
|
|
219
229
|
*/
|
|
220
230
|
NavLink?: (props: NavLinkProps) => ReactNode;
|
|
221
231
|
/**
|
|
222
|
-
*
|
|
232
|
+
* Heads the drawer (phones and tablets), next to its close button on phones. Not shown on desktop,
|
|
233
|
+
* where the brand lives in the app bar. Activating a link or a button in it closes the drawer.
|
|
223
234
|
*/
|
|
224
235
|
Logo?: ReactNode;
|
|
225
236
|
/**
|