|
6 | 6 | # Changelog |
7 | 7 | All notable changes to this project will be documented in this file. |
8 | 8 |
|
9 | | -The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) |
10 | | -and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 9 | +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
11 | 10 |
|
12 | 11 | ## v0.3.3 - 2018-09-25 |
13 | 12 |
|
@@ -41,39 +40,42 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. |
41 | 40 |
|
42 | 41 | ### Changed |
43 | 42 |
|
44 | | -- Minor bugfixes (see [issue 2](https://github.com/dm3ll3n/AnyBox/issues/2)) |
| 43 | +- Minor bugfixes (issue #2) |
45 | 44 | - Corrections to examples. |
46 | 45 |
|
47 | 46 | ## v0.3.0 - 2018-03-04 |
48 | 47 |
|
49 | 48 | ### Added |
50 | 49 |
|
51 | 50 | Added `New-Prompt` as an alias for `New-AnyBoxPrompt`. New parameters include: |
52 | | - - `-Tab`: show prompts in a tab control view. |
53 | | - - `-Group`: group prompts in a group box. |
54 | | - - `-FontSize`, `-FontFamily`, `-FontColor`, `-Alignment`: allows the ability to have prompts of different sizes, colors, etc. |
55 | | - - `-ShowSetAs`: controls how a set (specified by `-ValidateSet` is displayed). The default is a dropdown (combo) box, but users can specify 'Radio' or 'Radio_Wide'. |
56 | | - - `-RadioGroup`: When `-ShowSetAs` is one of 'Radio' or 'Radio_Wide', each set of options in `-ValidateSet` is in one group. Use `-RadioGroup` to designate the group to which a set of radio buttons belongs. |
57 | | - - `-ShowSeparator`: When specified, a horizontal line is shown beneath the prompt. |
58 | | - - `-Collapsible`: When specified, the prompt is shown within a collapsible expander control. |
| 51 | + |
| 52 | +- `-Tab`: show prompts in a tab control view. |
| 53 | +- `-Group`: group prompts in a group box. |
| 54 | +- `-FontSize`, `-FontFamily`, `-FontColor`, `-Alignment`: allows the ability to have prompts of different sizes, colors, etc. |
| 55 | +- `-ShowSetAs`: controls how a set (specified by `-ValidateSet` is displayed). The default is a dropdown (combo) box, but users can specify 'Radio' or 'Radio_Wide'. |
| 56 | +- `-RadioGroup`: When `-ShowSetAs` is one of 'Radio' or 'Radio_Wide', each set of options in `-ValidateSet` is in one group. Use `-RadioGroup` to designate the group to which a set of radio buttons belongs. |
| 57 | +- `-ShowSeparator`: When specified, a horizontal line is shown beneath the prompt. |
| 58 | +- `-Collapsible`: When specified, the prompt is shown within a collapsible expander control. |
59 | 59 |
|
60 | 60 | New parameters for `Show-AnyBox` include: |
61 | | - - `-MaxHeight`, `-MaxWidth`: used to control the maximum size of the window. |
62 | | - - `-CollapsibleGroups`: if specified and prompt group(s) are specified, the groups are placed in a collapsible expander control, rather than a group box. |
63 | | - - `-AccentColor`: controls the color of lines in group boxes, expander boxes, and separator lines. |
64 | | - - `-PrepScript`: accepts a script block to run before the window is shown. |
| 61 | + |
| 62 | +- `-MaxHeight`, `-MaxWidth`: used to control the maximum size of the window. |
| 63 | +- `-CollapsibleGroups`: if specified and prompt group(s) are specified, the groups are placed in a collapsible expander control, rather than a group box. |
| 64 | +- `-AccentColor`: controls the color of lines in group boxes, expander boxes, and separator lines. |
| 65 | +- `-PrepScript`: accepts a script block to run before the window is shown. |
65 | 66 |
|
66 | 67 | New function `New-AnyBoxButton` (alias `New-Button`) to wrap around the new object type `AnyBox.Button`. Parameters for this function include: |
67 | | - - `-Name`: the unique key name for the button. |
68 | | - - `-Text`: the text to display on the button. If `-Name` is not specified, the value for `-Text` serves as the key. |
69 | | - - `-IsCancel`: designates the button to serve as the *cancel* button. |
70 | | - - `-IsDefault`: designates the button to serve as the *default* button. |
71 | | - - `-OnClick`: accepts a script block to run when the button is clicked. |
| 68 | + |
| 69 | +- `-Name`: the unique key name for the button. |
| 70 | +- `-Text`: the text to display on the button. If `-Name` is not specified, the value for `-Text` serves as the key. |
| 71 | +- `-IsCancel`: designates the button to serve as the *cancel* button. |
| 72 | +- `-IsDefault`: designates the button to serve as the *default* button. |
| 73 | +- `-OnClick`: accepts a script block to run when the button is clicked. |
72 | 74 |
|
73 | 75 | ### Changed |
74 | 76 |
|
75 | | - - `-ContentAlignment` now defaults to 'Left'. |
76 | | - - `-FontSize` now defaults to '12'. |
| 77 | +- `-ContentAlignment` now defaults to 'Left'. |
| 78 | +- `-FontSize` now defaults to '12'. |
77 | 79 |
|
78 | 80 | ## v0.2.1 - 2018-03-12 |
79 | 81 |
|
|
0 commit comments