@hashicorp/design-system-components 1.5.0 → 1.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hashicorp/design-system-components
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#867](https://github.com/hashicorp/design-system/pull/867) [`a26f3da41`](https://github.com/hashicorp/design-system/commit/a26f3da4158ea75e7bb06ba284d62f5169e7759d) Thanks [@MelSumner](https://github.com/MelSumner)! - Bugfix: removed extra space in label that was causing label and legend to be inconsistent. Moved the ` ` to the `required` indicator instead for consistency.
8
+
3
9
  ## 1.5.0
4
10
 
5
11
  ### Minor Changes
@@ -2,5 +2,5 @@
2
2
  <span class={{this.classNames}}>(Optional)</span>
3
3
  {{/if}}
4
4
  {{#if @isRequired}}
5
- <Hds::Badge class={{this.classNames}} @size="small" @color="neutral" @text="Required" />
5
+ &nbsp;<Hds::Badge class={{this.classNames}} @size="small" @color="neutral" @text="Required" />
6
6
  {{/if}}
@@ -1,4 +1,4 @@
1
1
  <label class={{this.classNames}} for={{@controlId}} ...attributes>
2
- {{yield}}{{#if (or @isRequired @isOptional)}}&nbsp;{{/if}}
2
+ {{yield}}
3
3
  <Hds::Form::Indicator @isRequired={{@isRequired}} @isOptional={{@isOptional}} />
4
4
  </label>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashicorp/design-system-components",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "HashiCorp Design System Components",
5
5
  "keywords": [
6
6
  "hashicorp",