canny-ui-react 6.5.0 → 6.6.2

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.
@@ -2,6 +2,11 @@ import type { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes, ReactN
2
2
  import type { SxProp } from '../Layout/sx';
3
3
  export interface NavbarProps extends HTMLAttributes<HTMLElement> {
4
4
  solid?: boolean;
5
+ /**
6
+ * Background (solid, no glass, when raised). `'base'` (default) sits on the page tone; `'raised'` uses the
7
+ * surface of drawers, dialogs and menus (white in light mode).
8
+ */
9
+ surface?: 'base' | 'raised';
5
10
  /**
6
11
  * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a
7
12
  * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx
@@ -12,6 +12,11 @@ export interface SidebarProps extends HTMLAttributes<HTMLElement> {
12
12
  * menu button such as `NavbarToggle`. Ignored at 900px and wider.
13
13
  */
14
14
  mobileOpen?: boolean;
15
+ /**
16
+ * Background. `'base'` (default) sits on the page tone; `'raised'` uses the
17
+ * surface of drawers, dialogs and menus (white in light mode).
18
+ */
19
+ surface?: 'base' | 'raised';
15
20
  /**
16
21
  * Turns on the mobile drawer for a `responsive` sidebar. Called with `false` when
17
22
  * the backdrop is clicked or Escape is pressed.