@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.
@@ -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
- * Logo component
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
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.81.1",
5
+ "version": "4.82.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",