Skip to content

@clack/prompts@1.6.0

Latest

Choose a tag to compare

@bombshell-bot bombshell-bot released this 19 Jun 17:53
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
0e70056

Minor Changes

  • #568 f87933f Thanks @florian-lefebvre! - Updates default formatter of note() to note dim lines anymore

    If you want the old behavior, provide a format() function:

    import { note } from '@clack/prompts';
    +import { styleText } from 'node:util';
    
    note(
      'You can edit the file src/index.jsx',
      'Next steps.'
    +  { format: (text) => styleText('dim', text) }
    );
  • #567 cc6aab5 Thanks @dreyfus92! - Add keyboard instruction footers to select, multiselect, and groupMultiselect in the active state, matching autocomplete. No option — always shown.

Patch Changes