@hashicorp/design-system-components 1.0.2 → 1.0.3

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.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#529](https://github.com/hashicorp/design-system/pull/529) [`b956be8f`](https://github.com/hashicorp/design-system/commit/b956be8fcb3692d184603a2a40e0c42df0461ff5) Thanks [@alex-ju](https://github.com/alex-ju)! - Fix `required` attribute on form fields
8
+
3
9
  ## 1.0.2
4
10
 
5
11
  ### Patch Changes
@@ -12,10 +12,10 @@
12
12
  class="hds-form-field__control"
13
13
  @value={{@value}}
14
14
  name={{@name}}
15
+ required={{@isRequired}}
15
16
  ...attributes
16
17
  id={{F.id}}
17
18
  aria-describedby={{F.ariaDescribedBy}}
18
- required={{@isRequired}}
19
19
  />
20
20
  </F.Control>
21
21
  </Hds::Form::Field>
@@ -12,10 +12,10 @@
12
12
  class="hds-form-field__control"
13
13
  @value={{@value}}
14
14
  name={{@name}}
15
+ required={{@isRequired}}
15
16
  ...attributes
16
17
  id={{F.id}}
17
18
  aria-describedby={{F.ariaDescribedBy}}
18
- required={{@isRequired}}
19
19
  />
20
20
  </F.Control>
21
21
  </Hds::Form::Field>
@@ -15,10 +15,10 @@
15
15
  @value={{@value}}
16
16
  @isInvalid={{@isInvalid}}
17
17
  @width={{@width}}
18
+ required={{@isRequired}}
18
19
  ...attributes
19
20
  id={{F.id}}
20
21
  aria-describedby={{F.ariaDescribedBy}}
21
- required={{@isRequired}}
22
22
  as |S|
23
23
  >
24
24
  {{yield (hash Options=S.Options)}}
@@ -16,10 +16,10 @@
16
16
  @value={{@value}}
17
17
  @isInvalid={{@isInvalid}}
18
18
  @width={{@width}}
19
+ required={{@isRequired}}
19
20
  ...attributes
20
21
  id={{F.id}}
21
22
  aria-describedby={{F.ariaDescribedBy}}
22
- required={{@isRequired}}
23
23
  />
24
24
  </F.Control>
25
25
  </Hds::Form::Field>
@@ -16,10 +16,10 @@
16
16
  @isInvalid={{@isInvalid}}
17
17
  @width={{@width}}
18
18
  @height={{@height}}
19
+ required={{@isRequired}}
19
20
  ...attributes
20
21
  id={{F.id}}
21
22
  aria-describedby={{F.ariaDescribedBy}}
22
- required={{@isRequired}}
23
23
  />
24
24
  </F.Control>
25
25
  </Hds::Form::Field>
@@ -12,10 +12,10 @@
12
12
  {{! template-lint-disable no-capital-arguments }}
13
13
  @_wrapperClass="hds-form-field__control"
14
14
  @value={{@value}}
15
+ required={{@isRequired}}
15
16
  ...attributes
16
17
  id={{F.id}}
17
18
  aria-describedby={{F.ariaDescribedBy}}
18
- required={{@isRequired}}
19
19
  />
20
20
  </F.Control>
21
21
  </Hds::Form::Field>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashicorp/design-system-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "HashiCorp Design System Components",
5
5
  "keywords": [
6
6
  "hashicorp",
@@ -50,11 +50,12 @@
50
50
  "@embroider/test-setup": "^1.5.0",
51
51
  "@glimmer/component": "^1.0.4",
52
52
  "@glimmer/tracking": "^1.0.4",
53
- "@percy/cli": "^1.7.2",
53
+ "@percy/cli": "^1.9.0",
54
54
  "@percy/ember": "^3.0.1",
55
55
  "babel-eslint": "^10.1.0",
56
56
  "broccoli-asset-rev": "^3.0.0",
57
57
  "ember-a11y-refocus": "^2.1.0",
58
+ "ember-a11y-testing": "^5.0.0",
58
59
  "ember-cli": "~4.3.0",
59
60
  "ember-cli-clipboard": "^0.16.0",
60
61
  "ember-cli-dependency-checker": "^3.3.0",