|
1 | 1 | # @hashicorp/design-system-components
|
2 | 2 |
|
| 3 | +## 4.17.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +`Tag` - Truncate any text that is longer than about 20 characters, and add a tooltip with the full text when truncation occurs |
| 8 | + |
| 9 | +`Tag` - Added `@tooltipPlacement` argument |
| 10 | + |
| 11 | +<small class="doc-whats-new-changelog-metadata">[#2655](https://github.com/hashicorp/design-system/pull/2655)</small> |
| 12 | + |
| 13 | +<div class="doc-whats-new-changelog-separator"></div> |
| 14 | + |
| 15 | +`MaskedInput` - added support for externally controlled content masking |
| 16 | + |
| 17 | +<small class="doc-whats-new-changelog-metadata">[#2716](https://github.com/hashicorp/design-system/pull/2716)</small> |
| 18 | + |
| 19 | +<div class="doc-whats-new-changelog-separator"></div> |
| 20 | + |
| 21 | +`Badge` - Update foreground and background colors to improve contrast for a11y |
| 22 | + |
| 23 | +`BadgeCount` - Update foreground color of neutral variant to improve contrast for a11y |
| 24 | + |
| 25 | +<small class="doc-whats-new-changelog-metadata">[#2695](https://github.com/hashicorp/design-system/pull/2695)</small> |
| 26 | + |
| 27 | +<div class="doc-whats-new-changelog-separator"></div> |
| 28 | + |
| 29 | +`CodeBlock` - Added `@copyButtonText` argument to `CodeBlock` and `@text` argument to the `CodeBlock::CopyButton` subcomponent to customize the `aria-label` of the Copy Button. The default label is still "Copy". |
| 30 | + |
| 31 | +`CodeEditor` - Added `@copyButtonText` argument to customize the `aria-label` of the Copy Button. The default label is still "Copy". |
| 32 | + |
| 33 | +<small class="doc-whats-new-changelog-metadata">[#2696](https://github.com/hashicorp/design-system/pull/2696)</small> |
| 34 | + |
| 35 | +<div class="doc-whats-new-changelog-separator"></div> |
| 36 | + |
| 37 | +`hds-code-editor` modifier - Add language syntax highlighting suport for JavaScript and Rego |
| 38 | + |
| 39 | +`CodeEditor` - Add language syntax highlighting suport for JavaScript and Rego |
| 40 | + |
| 41 | +Dependencies - added @codemirror/lang-javascript |
| 42 | + |
| 43 | +<small class="doc-whats-new-changelog-metadata">[#2684](https://github.com/hashicorp/design-system/pull/2684)</small> |
| 44 | + |
| 45 | +<div class="doc-whats-new-changelog-separator"></div> |
| 46 | + |
| 47 | +`Time` - Updated visual style to display a dotted underline when the `hasTooltip` argument is true |
| 48 | + |
| 49 | +`RichTooltip` - Fixed Safari bug causing the dotted underline style not to display |
| 50 | + |
| 51 | +<small class="doc-whats-new-changelog-metadata">[#2725](https://github.com/hashicorp/design-system/pull/2725)</small> |
| 52 | + |
| 53 | +<div class="doc-whats-new-changelog-separator"></div> |
| 54 | + |
| 55 | +`hds-code-editor` modifier - Added `hasLineWrapping` named argument that sets line wrapping behavior within the code editor. |
| 56 | + |
| 57 | +`CodeEditor` - Added `@hasLineWrapping` argument that is passed to the `hds-code-editor` modifier |
| 58 | + |
| 59 | +<small class="doc-whats-new-changelog-metadata">[#2712](https://github.com/hashicorp/design-system/pull/2712)</small> |
| 60 | + |
| 61 | +<div class="doc-whats-new-changelog-separator"></div> |
| 62 | + |
| 63 | +### Patch Changes |
| 64 | + |
| 65 | +`Time` - Fixed type declarations |
| 66 | + |
| 67 | +`CodeEditor` - Added missing `@lezer/highlight` dependency |
| 68 | + |
| 69 | +<small class="doc-whats-new-changelog-metadata">[#2700](https://github.com/hashicorp/design-system/pull/2700) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏</small> |
| 70 | + |
| 71 | +<div class="doc-whats-new-changelog-separator"></div> |
| 72 | + |
| 73 | +`hds-tooltip` - Changed structure of tooltip content to add a wrapper that is always in the DOM and set `aria-controls` on trigger elements for a11y improvements with toggled content |
| 74 | + |
| 75 | +`Tooltip` - Changed structure of tooltip content to add a wrapper that is always in the DOM and set `aria-controls` on button for a11y improvements with toggled content |
| 76 | + |
| 77 | +<small class="doc-whats-new-changelog-metadata">[#2648](https://github.com/hashicorp/design-system/pull/2648)</small> |
| 78 | + |
| 79 | +<div class="doc-whats-new-changelog-separator"></div> |
| 80 | + |
| 81 | +`CopyButton` - Fixed issue preventing copying of empty string and zero number values |
| 82 | + |
| 83 | +`CopySnippet` - Fixed issue preventing copying of empty string and zero number values |
| 84 | + |
| 85 | +<small class="doc-whats-new-changelog-metadata">[#2685](https://github.com/hashicorp/design-system/pull/2685)</small> |
| 86 | + |
| 87 | +<div class="doc-whats-new-changelog-separator"></div> |
| 88 | + |
| 89 | +`CodeEditor` - Fixed import path for `HdsCodeEditorModifierSignature` |
| 90 | + |
| 91 | +<small class="doc-whats-new-changelog-metadata">[#2681](https://github.com/hashicorp/design-system/pull/2681)</small> |
| 92 | + |
| 93 | +<div class="doc-whats-new-changelog-separator"></div> |
| 94 | + |
| 95 | +Swap unmaintained `ember-composable-helpers` with `@nullvoxpopuli/ember-composable-helpers` |
| 96 | + |
| 97 | +<small class="doc-whats-new-changelog-metadata">[#2493](https://github.com/hashicorp/design-system/pull/2493) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏</small> |
| 98 | + |
| 99 | +<div class="doc-whats-new-changelog-separator"></div> |
| 100 | + |
| 101 | +Migrated our tooling from yarn to pnpm and updated our JavaScript compiler configuration |
| 102 | + |
| 103 | +Updated `decorator-transforms` from `1.2.1` to `2.3.0` |
| 104 | + |
| 105 | +<small class="doc-whats-new-changelog-metadata">[#2671](https://github.com/hashicorp/design-system/pull/2671) - Thanks [@aklkv](https://github.com/aklkv) for the contribution! 🙏</small> |
| 106 | + |
| 107 | +<div class="doc-whats-new-changelog-separator"></div> |
| 108 | + |
| 109 | +`AdvancedTable` - Refactored keyboard navigation to a new modifier `hds-advanced-table-cell` for reusability, and disabled default behavior for arrow keys in focused cells. |
| 110 | + |
| 111 | +<small class="doc-whats-new-changelog-metadata">[#2659](https://github.com/hashicorp/design-system/pull/2659)</small> |
| 112 | + |
| 113 | +<div class="doc-whats-new-changelog-separator"></div> |
| 114 | + |
| 115 | +`Table` - Removed unused `updateAriaLabel` function and event listener |
| 116 | + |
| 117 | +<small class="doc-whats-new-changelog-metadata">[#2690](https://github.com/hashicorp/design-system/pull/2690)</small> |
| 118 | + |
| 119 | +<div class="doc-whats-new-changelog-separator"></div> |
| 120 | + |
| 121 | +`Tooltip` - Remove style import from Tippy.js, copy arrow positioning styles into component styles |
| 122 | + |
| 123 | +<small class="doc-whats-new-changelog-metadata">[#2726](https://github.com/hashicorp/design-system/pull/2726)</small> |
| 124 | + |
| 125 | +<div class="doc-whats-new-changelog-separator"></div> |
| 126 | + |
3 | 127 | ## 4.16.0
|
4 | 128 |
|
5 | 129 | [4.16.0 documentation](https://hds-website-4-16-0.vercel.app/)
|
|
0 commit comments