@hashicorp/design-system-components 2.12.0 → 2.12.2

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,24 @@
1
1
  # @hashicorp/design-system-components
2
2
 
3
+ ## 2.12.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1655](https://github.com/hashicorp/design-system/pull/1655) [`38f7e36c2`](https://github.com/hashicorp/design-system/commit/38f7e36c25f3efdade9c8833512d55af502ee07e) Thanks [@alex-ju](https://github.com/alex-ju)! - PowerSelect - fix style overrides when the list is positioned above
8
+
9
+ - [#1652](https://github.com/hashicorp/design-system/pull/1652) [`61af964b0`](https://github.com/hashicorp/design-system/commit/61af964b0078377dcedafa744e0fd18e89852b96) Thanks [@didoo](https://github.com/didoo)! - `Text` - Fixed issue with whitespace adding extra underline when used in links (eg. inside a `Link::Inline`)
10
+
11
+ - Updated dependencies []:
12
+ - @hashicorp/ember-flight-icons@3.1.3
13
+
14
+ ## 2.12.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [#1627](https://github.com/hashicorp/design-system/pull/1627) [`53c9f13c0`](https://github.com/hashicorp/design-system/commit/53c9f13c0a2b120d19d74a88fd0e0799d59752c4) Thanks [@MelSumner](https://github.com/MelSumner)! - `Pagination` - Bugfix `aria-label` on the component
19
+
20
+ - [#1635](https://github.com/hashicorp/design-system/pull/1635) [`2ecab760c`](https://github.com/hashicorp/design-system/commit/2ecab760c07c89ee9d34e993b879fc19e914c2e0) Thanks [@KristinLBradley](https://github.com/KristinLBradley)! - `Dropdown` - changed `@height` property to use `max-height` instead of a fixed height.
21
+
3
22
  ## 2.12.0
4
23
 
5
24
  ### Minor Changes
@@ -12,7 +12,7 @@
12
12
  }}
13
13
  </:toggle>
14
14
  <:content as |c|>
15
- <div class={{this.classNamesContent}} {{style width=@width height=@height}}>
15
+ <div class={{this.classNamesContent}} {{style width=@width max-height=@height}}>
16
16
  {{yield (hash Header=(component "hds/dropdown/header"))}}
17
17
  <ul class="hds-dropdown__list" {{did-insert this.didInsertList}}>
18
18
  {{yield
@@ -50,10 +50,10 @@ export default class HdsPaginationCompactIndexComponent extends Component {
50
50
  /**
51
51
  * @param ariaLabel
52
52
  * @type {string}
53
- * @default 'Pagination navigation'
53
+ * @default 'Pagination'
54
54
  */
55
55
  get ariaLabel() {
56
- return this.args.ariaLabel ?? 'Pagination navigation';
56
+ return this.args.ariaLabel ?? 'Pagination';
57
57
  }
58
58
 
59
59
  get routeQueryParams() {
@@ -130,10 +130,10 @@ export default class HdsPaginationNumberedIndexComponent extends Component {
130
130
  /**
131
131
  * @param ariaLabel
132
132
  * @type {string}
133
- * @default 'Pagination navigation'
133
+ * @default 'Pagination'
134
134
  */
135
135
  get ariaLabel() {
136
- return this.args.ariaLabel ?? 'Pagination navigation';
136
+ return this.args.ariaLabel ?? 'Pagination';
137
137
  }
138
138
 
139
139
  // This very specific `get/set` pattern is used to handle the two different use cases of the component
@@ -2,7 +2,6 @@
2
2
  Copyright (c) HashiCorp, Inc.
3
3
  SPDX-License-Identifier: MPL-2.0
4
4
  }}
5
-
6
5
  <Hds::Text
7
6
  @group="body"
8
7
  @size={{this.size}}
@@ -2,7 +2,6 @@
2
2
  Copyright (c) HashiCorp, Inc.
3
3
  SPDX-License-Identifier: MPL-2.0
4
4
  }}
5
-
6
5
  <Hds::Text
7
6
  @group="code"
8
7
  @size={{this.size}}
@@ -2,7 +2,6 @@
2
2
  Copyright (c) HashiCorp, Inc.
3
3
  SPDX-License-Identifier: MPL-2.0
4
4
  }}
5
-
6
5
  <Hds::Text
7
6
  @group="display"
8
7
  @size={{this.size}}
@@ -2,7 +2,9 @@
2
2
  Copyright (c) HashiCorp, Inc.
3
3
  SPDX-License-Identifier: MPL-2.0
4
4
  }}
5
-
6
- {{#let (element this.componentTag) as |Tag|}}
7
- <Tag class={{this.classNames}} {{style color=this.customColor}} ...attributes>{{yield}}</Tag>
8
- {{/let}}
5
+ {{! IMPORTANT: we removed any extra newlines before/after the `let` to reduce the issues with unexpected whitespaces (see https://github.com/hashicorp/design-system/pull/1652) }}
6
+ {{#let (element this.componentTag) as |Tag|}}<Tag
7
+ class={{this.classNames}}
8
+ {{style color=this.customColor}}
9
+ ...attributes
10
+ >{{yield}}</Tag>{{/let}}
@@ -71,6 +71,7 @@
71
71
 
72
72
  .ember-basic-select-dropdown,
73
73
  .ember-power-select-dropdown {
74
+ &.ember-basic-dropdown-content--below,
74
75
  &.ember-basic-dropdown-content--in-place {
75
76
  margin-top: -3px;
76
77
  border: var(--token-form-control-border-width) solid var(--token-form-control-base-border-color-default);
@@ -78,6 +79,13 @@
78
79
  border-bottom-left-radius: 6px;
79
80
  box-shadow: var(--token-elevation-high-box-shadow), var(--token-elevation-high-box-shadow);
80
81
  }
82
+
83
+ &.ember-basic-dropdown-content--above {
84
+ margin-top: 3px;
85
+ border: var(--token-form-control-border-width) solid var(--token-form-control-base-border-color-default);
86
+ border-radius: 6px 6px 0 0;
87
+ box-shadow: none;
88
+ }
81
89
  }
82
90
 
83
91
  .ember-power-select-search {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hashicorp/design-system-components",
3
- "version": "2.12.0",
3
+ "version": "2.12.2",
4
4
  "description": "Helios Design System Components",
5
5
  "keywords": [
6
6
  "hashicorp",
@@ -42,7 +42,7 @@
42
42
  "@ember/render-modifiers": "^2.0.5",
43
43
  "@ember/test-waiters": "^3.0.2",
44
44
  "@hashicorp/design-system-tokens": "^1.8.0",
45
- "@hashicorp/ember-flight-icons": "^3.1.2",
45
+ "@hashicorp/ember-flight-icons": "^3.1.3",
46
46
  "dialog-polyfill": "^0.5.6",
47
47
  "ember-a11y-refocus": "^3.0.2",
48
48
  "ember-auto-import": "^2.6.3",