Skip to content

Commit

Permalink
package update and options grid span adjustments (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
godind authored Aug 6, 2024
1 parent 75c00bd commit d4a1640
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@


# V 2.12.2
## Improvements
* Makes Radial and Linear gauge highlights width configurable by @jaredjensen
## Fixes
* Metadata not being available on initial load by @jaredjensen
# V 2.12.1
## Fixes
* Numeric widget using seconds value not converting to HH:MM:SS format. Fixes #438
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mxtommy/kip",
"version": "2.12.1",
"version": "2.12.2",
"description": "An advanced and versatile marine instrumentation package to display Signal K data.",
"license": "MIT",
"author": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
</mat-checkbox>
</div>
} @else if ( ['measuring','capacity'].indexOf(formMaster.value.gauge.subType) > -1 ) {
<mat-form-field formGroupName="gauge" class="options-grid-span2">
<mat-form-field formGroupName="gauge">
<mat-label>Gauge Type</mat-label>
<mat-select
placeholder="Select Gauge Type..."
Expand All @@ -171,7 +171,7 @@
}

@if (widgetConfig.gauge?.type == 'ngLinear') {
<mat-form-field formGroupName="gauge" class="options-grid-span2">
<mat-form-field formGroupName="gauge">
<mat-label>Orientation</mat-label>
<mat-select
placeholder="Select type..."
Expand All @@ -184,7 +184,7 @@
}

@if ( (widgetConfig.gauge?.type == 'ngRadial' && ['measuring','capacity'].includes(formMaster.value.gauge.subType)) || widgetConfig.gauge?.type == 'ngLinear') {
<mat-form-field formGroupName="gauge" class="options-grid-span2">
<mat-form-field formGroupName="gauge">
<mat-label>Highlights Width</mat-label>
<input type="number" min="0" max="25" matInput placeholder="Enter or select number..." name="highlightsWidth" formControlName="highlightsWidth" required>
</mat-form-field>
Expand Down

0 comments on commit d4a1640

Please sign in to comment.