@nice2dev/ui 1.3.0 → 1.3.1

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/index.d.ts CHANGED
@@ -17424,6 +17424,15 @@ export declare interface NiceNavShellProps {
17424
17424
  * `--nice-shell-surface-alpha` CSS variable.
17425
17425
  */
17426
17426
  surfaceOpacity?: number;
17427
+ /**
17428
+ * Height of the shell (1.3.1) — px or any CSS length. Default `100%`, which fills a parent with
17429
+ * a definite height. Under a parent that only has `min-height` (a page wrapper with
17430
+ * `min-height: 100vh`), 100% is the height of the content: the shell grows with the page,
17431
+ * nothing scrolls inside it, and the sticky header / footer rows and the sidebar's collapse
17432
+ * button move down with the content. Give the shell a definite height then — `'100dvh'` when it
17433
+ * is the whole page, a number — or give its parent one.
17434
+ */
17435
+ height?: number | string;
17427
17436
  className?: string;
17428
17437
  contentClassName?: string;
17429
17438
  'data-testid'?: string;
@@ -20782,6 +20791,14 @@ export declare interface NiceSetupWizardProps {
20782
20791
  };
20783
20792
  /** Accessibility */
20784
20793
  accessMode?: NiceAccessMode;
20794
+ /**
20795
+ * Height of the wizard (1.3.1) — px or any CSS length. Default: as tall as the step, up to the
20796
+ * screen (`max-height: 100vh`), so on a short step the button bar sits right under it. With a
20797
+ * height the wizard fills exactly that (no 400px minimum, no 100vh cap): the step body scrolls
20798
+ * and the button bar stays at the bottom edge on every step. `'100%'` fills a parent with a
20799
+ * definite height, `'100dvh'` the screen.
20800
+ */
20801
+ height?: number | string;
20785
20802
  id?: string;
20786
20803
  className?: string;
20787
20804
  style?: default_2.CSSProperties;
@@ -22585,7 +22602,8 @@ export declare interface NiceThemePickerProps extends NiceFormFieldProps, DualVi
22585
22602
  previewSize?: number;
22586
22603
  /**
22587
22604
  * Preview rendering style:
22588
- * - `'page'` (default): a small "page" thumbnail with header/text/sidebar.
22605
+ * - `'page'` (default): a page in miniature — accent bar on top, a card with two lines of text
22606
+ * between thin margins of the page background.
22589
22607
  * - `'swatch'`: a flag-like vertical colour stripe (cheaper, less informative).
22590
22608
  */
22591
22609
  previewShape?: 'page' | 'swatch';
@@ -28067,17 +28085,20 @@ export { themePastelSky }
28067
28085
 
28068
28086
  export { themePink }
28069
28087
 
28070
- /** Colours used to render a theme preview thumbnail. All optional except `background`. */
28088
+ /** Colours used to render a theme preview thumbnail. */
28071
28089
  export declare interface ThemePreviewColors {
28072
- /** Main page background. */
28090
+ /** Main surface (a theme's `backgrounds.primary`) — the card in the middle of the 'page' shape. */
28073
28091
  background: string;
28074
- /** Sidebar / secondary surface (left bar in 'page' shape). */
28092
+ /**
28093
+ * Secondary surface (`backgrounds.secondary`) — the page background left and right of the card
28094
+ * in the 'page' shape. Defaults to `background`.
28095
+ */
28075
28096
  backgroundSecondary?: string;
28076
- /** Accent / header bar colour. */
28097
+ /** Accent — the bar across the top of the 'page' shape. */
28077
28098
  primary: string;
28078
- /** Body text colour (rendered as a thin line). */
28099
+ /** Body text — the two lines on the card. */
28079
28100
  textColor: string;
28080
- /** Optional border (defaults to a translucent overlay). */
28101
+ /** Border of the thumbnail and of the card (defaults to a translucent overlay). */
28081
28102
  border?: string;
28082
28103
  }
28083
28104