···11# @clack/core
2233+## 1.0.0-alpha.7
44+55+### Patch Changes
66+77+- 0718b07: fix: export `*Options` types for prompts.
88+- 4ba2d78: Support short terminal windows when re-rendering by accounting for off-screen lines
99+- acc4c3a: Add a new `withGuide` option to all prompts to disable the default clack border
1010+311## 1.0.0-alpha.6
412513### Patch Changes
···11# @clack/prompts
2233+## 1.0.0-alpha.7
44+55+### Minor Changes
66+77+- 38019c7: Updates the API for stopping spinners and progress bars to be clearer
88+99+ Previously, both the spinner and progress bar components used a single `stop` method that accepted a code to indicate success, cancellation, or error. This update separates these into distinct methods: `stop()`, `cancel()`, and `error()`:
1010+1111+ ```diff
1212+ const spinner = prompts.spinner();
1313+ spinner.start();
1414+1515+ // Cancelling a spinner
1616+ - spinner.stop(undefined, 1);
1717+ + spinner.cancel();
1818+1919+ // Stopping with an error
2020+ - spinner.stop(undefined, 2);
2121+ + spinner.error();
2222+ ```
2323+2424+ As before, you can pass a message to each method to customize the output displayed:
2525+2626+ ```js
2727+ spinner.cancel("Operation cancelled by user");
2828+ progressBar.error("An error occurred during processing");
2929+ ```
3030+3131+### Patch Changes
3232+3333+- 4d1d83b: Fixes rendering of multi-line messages and options in select prompt.
3434+- 6176ced: Add withGuide support to note prompt
3535+- 69681ea: Strip destructive ANSI codes from task log messages.
3636+- b0fa7d8: Add support for wrapped messages in multi line prompts
3737+- 7530af0: Fixes wrapping of cancelled and success messages of select prompt
3838+- acc4c3a: Add a new `withGuide` option to all prompts to disable the default clack border
3939+- Updated dependencies [0718b07]
4040+- Updated dependencies [4ba2d78]
4141+- Updated dependencies [acc4c3a]
4242+ - @clack/core@1.0.0-alpha.7
4343+344## 1.0.0-alpha.6
445546### Minor Changes