@coinbase/cds-web 8.62.0 → 8.62.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
@@ -8,6 +8,12 @@ All notable changes to this project will be documented in this file.
8
8
 
9
9
  <!-- template-start -->
10
10
 
11
+ ## 8.62.1 (4/1/2026 PST)
12
+
13
+ #### 🐞 Fixes
14
+
15
+ - Remove usage of Array.prototype.at(). [[#575](https://github.com/coinbase/cds/pull/575)]
16
+
11
17
  ## 8.62.0 (3/30/2026 PST)
12
18
 
13
19
  #### 🚀 Updates
@@ -141,7 +141,7 @@ export const FocusTrap = /*#__PURE__*/memo(_props => {
141
141
  event.preventDefault();
142
142
  const elementWithMatchingFirstLetter = focusableElements.find(el => {
143
143
  var _el$textContent;
144
- const textContentFirstLetter = (_el$textContent = el.textContent) === null || _el$textContent === void 0 || (_el$textContent = _el$textContent.at(0)) === null || _el$textContent === void 0 ? void 0 : _el$textContent.toLowerCase();
144
+ const textContentFirstLetter = (_el$textContent = el.textContent) === null || _el$textContent === void 0 || (_el$textContent = _el$textContent[0]) === null || _el$textContent === void 0 ? void 0 : _el$textContent.toLowerCase();
145
145
  const eventKeyLowerCase = event.key.toLowerCase();
146
146
  return textContentFirstLetter === eventKeyLowerCase;
147
147
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cds-web",
3
- "version": "8.62.0",
3
+ "version": "8.62.1",
4
4
  "description": "Coinbase Design System - Web",
5
5
  "repository": {
6
6
  "type": "git",
@@ -207,7 +207,7 @@
207
207
  "react-dom": "^18.3.1"
208
208
  },
209
209
  "dependencies": {
210
- "@coinbase/cds-common": "^8.62.0",
210
+ "@coinbase/cds-common": "^8.62.1",
211
211
  "@coinbase/cds-icons": "^5.13.0",
212
212
  "@coinbase/cds-illustrations": "^4.36.0",
213
213
  "@coinbase/cds-lottie-files": "^3.3.4",