@coinbase/cds-common 8.55.0 → 8.56.0

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,18 @@ All notable changes to this project will be documented in this file.
8
8
 
9
9
  <!-- template-start -->
10
10
 
11
+ ## 8.56.0 ((3/23/2026, 06:31 AM PST))
12
+
13
+ This is an artificial version bump with no new change.
14
+
15
+ #### 📘 Misc
16
+
17
+ - Chore: Updated numerous deprecation annotation messages.
18
+
19
+ ## 8.55.1 ((3/22/2026, 01:43 PM PST))
20
+
21
+ This is an artificial version bump with no new change.
22
+
11
23
  ## 8.55.0 ((3/19/2026, 01:41 PM PST))
12
24
 
13
25
  This is an artificial version bump with no new change.
@@ -18,7 +18,10 @@ export type GroupToggleState<T extends string> = {
18
18
  }
19
19
  ]
20
20
  */
21
- /** @deprecated Do not use this. */
21
+ /**
22
+ * @deprecated Do not use this. This will be removed in a future major release.
23
+ * @deprecationExpectedRemoval v9
24
+ */
22
25
  export declare const useGroupToggler: <T extends string>(
23
26
  values: T[],
24
27
  initialState?: T[],
@@ -1 +1 @@
1
- {"version":3,"file":"useGroupToggler.d.ts","sourceRoot":"","sources":["../../src/hooks/useGroupToggler.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;IAC/C,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC;CAClC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AAEH,mCAAmC;AACnC,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,MAAM,EAC9C,QAAQ,CAAC,EAAE,EACX,eAAe,CAAC,EAAE,KACjB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAwG9B,CAAC"}
1
+ {"version":3,"file":"useGroupToggler.d.ts","sourceRoot":"","sources":["../../src/hooks/useGroupToggler.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,MAAM,IAAI;IAC/C,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC9B,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,aAAa,EAAE,OAAO,GAAG,OAAO,CAAC;CAClC,CAAC;AAEF;;;;;;;;;;;;;GAaG;AAEH;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,MAAM,EAC9C,QAAQ,CAAC,EAAE,EACX,eAAe,CAAC,EAAE,KACjB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAwG9B,CAAC"}
@@ -1,4 +1,7 @@
1
- /** @deprecated Use React.useState instead. */
1
+ /**
2
+ * @deprecated Use React.useState instead. This will be removed in a future major release.
3
+ * @deprecationExpectedRemoval v9
4
+ */
2
5
  export declare function useToggler(initial?: boolean): [
3
6
  boolean,
4
7
  {
@@ -1 +1 @@
1
- {"version":3,"file":"useToggler.d.ts","sourceRoot":"","sources":["../../src/hooks/useToggler.ts"],"names":[],"mappings":"AAEA,8CAA8C;AAC9C,wBAAgB,UAAU,CAAC,OAAO,UAAQ,GAAG;IAC3C,OAAO;IACP;QACE,QAAQ,EAAE,MAAM,IAAI,CAAC;QACrB,SAAS,EAAE,MAAM,IAAI,CAAC;QACtB,MAAM,EAAE,MAAM,IAAI,CAAC;KACpB;CACF,CAwBA"}
1
+ {"version":3,"file":"useToggler.d.ts","sourceRoot":"","sources":["../../src/hooks/useToggler.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,UAAQ,GAAG;IAC3C,OAAO;IACP;QACE,QAAQ,EAAE,MAAM,IAAI,CAAC;QACrB,SAAS,EAAE,MAAM,IAAI,CAAC;QACtB,MAAM,EAAE,MAAM,IAAI,CAAC;KACpB;CACF,CAwBA"}
@@ -1,5 +1,6 @@
1
1
  /**
2
- * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started
2
+ * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started. This will be removed in a future major release.
3
+ * @deprecationExpectedRemoval v7
3
4
  */
4
5
  export declare const useAlert: () => {
5
6
  open: (content: import('./usePortalState').PortalNode['element']) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"useAlert.d.ts","sourceRoot":"","sources":["../../src/overlays/useAlert.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,QAAQ;;;CAEpB,CAAC"}
1
+ {"version":3,"file":"useAlert.d.ts","sourceRoot":"","sources":["../../src/overlays/useAlert.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;CAEpB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  /**
2
- * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started
2
+ * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started. This will be removed in a future major release.
3
+ * @deprecationExpectedRemoval v7
3
4
  */
4
5
  export declare const useModal: () => {
5
6
  openModal: (content: import('./usePortalState').PortalNode['element']) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../src/overlays/useModal.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,QAAQ;;;CAUpB,CAAC"}
1
+ {"version":3,"file":"useModal.d.ts","sourceRoot":"","sources":["../../src/overlays/useModal.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;CAUpB,CAAC"}
@@ -26,7 +26,8 @@ type TagColorMap = Record<
26
26
  >
27
27
  >;
28
28
  /**
29
- * @deprecated Use tagEmphasisColorMap instead
29
+ * @deprecated Use tagEmphasisColorMap instead. This will be removed in a future major release.
30
+ * @deprecationExpectedRemoval v9
30
31
  */
31
32
  export declare const tagColorMap: TagColorMap;
32
33
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../src/tokens/tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEpF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,CAGhD,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAG1D,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,UAAU,CAG9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,YAAY,CAGxE,CAAC;AAEF,KAAK,mBAAmB,GAAG,MAAM,CAC/B,WAAW,EACX,MAAM,CACJ,cAAc,EACd;IAAE,UAAU,EAAE,SAAS,CAAC,aAAa,CAAC;IAAC,UAAU,EAAE,SAAS,CAAC,aAAa,CAAA;CAAE,CAC7E,CACF,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,mBAqDjC,CAAC;AAEF,KAAK,WAAW,GAAG,MAAM,CACvB,SAAS,EACT,MAAM,CACJ,cAAc,EACd;IAAE,UAAU,EAAE,SAAS,CAAC,aAAa,CAAC;IAAC,UAAU,EAAE,SAAS,CAAC,aAAa,CAAA;CAAE,CAC7E,CACF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,WAGzB,CAAC"}
1
+ {"version":3,"file":"tags.d.ts","sourceRoot":"","sources":["../../src/tokens/tags.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEpF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,SAAS,CAGhD,CAAC;AAEX,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAG1D,CAAC;AAEX,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,UAAU,CAG9D,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,YAAY,CAGxE,CAAC;AAEF,KAAK,mBAAmB,GAAG,MAAM,CAC/B,WAAW,EACX,MAAM,CACJ,cAAc,EACd;IAAE,UAAU,EAAE,SAAS,CAAC,aAAa,CAAC;IAAC,UAAU,EAAE,SAAS,CAAC,aAAa,CAAA;CAAE,CAC7E,CACF,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,mBAqDjC,CAAC;AAEF,KAAK,WAAW,GAAG,MAAM,CACvB,SAAS,EACT,MAAM,CACJ,cAAc,EACd;IAAE,UAAU,EAAE,SAAS,CAAC,aAAa,CAAC;IAAC,UAAU,EAAE,SAAS,CAAC,aAAa,CAAA;CAAE,CAC7E,CACF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,WAGzB,CAAC"}
@@ -2,18 +2,21 @@ import type { DimensionValue } from './DimensionStyles';
2
2
  import type { LottieStatus } from './LottieStatus';
3
3
  import type { SharedProps } from './SharedProps';
4
4
  /**
5
- * @deprecated Use LottieStatus directly from @coinbase/cds-common/types/LottieStatus instead
5
+ * @deprecated Use LottieStatus directly from @coinbase/cds-common/types/LottieStatus instead. This will be removed in a future major release.
6
+ * @deprecationExpectedRemoval v9
6
7
  */
7
8
  export type { LottieStatus as LottieStatusAnimationType };
8
9
  /**
9
- * @deprecated Use LottieStatusAnimationBaseProps from cds-web or cds-mobile instead
10
+ * @deprecated Use LottieStatusAnimationBaseProps from cds-web or cds-mobile instead. This will be removed in a future major release.
11
+ * @deprecationExpectedRemoval v9
10
12
  */
11
13
  type BaseStatusAnimationProps = {
12
14
  status?: LottieStatus;
13
15
  onFinish?: () => void;
14
16
  };
15
17
  /**
16
- * @deprecated Use LottieStatusAnimationPropsWithWidth from cds-web or cds-mobile instead
18
+ * @deprecated Use LottieStatusAnimationPropsWithWidth from cds-web or cds-mobile instead. This will be removed in a future major release.
19
+ * @deprecationExpectedRemoval v9
17
20
  */
18
21
  type LottieStatusAnimationPropsWithWidth = {
19
22
  /**
@@ -23,7 +26,8 @@ type LottieStatusAnimationPropsWithWidth = {
23
26
  width: DimensionValue;
24
27
  } & BaseStatusAnimationProps;
25
28
  /**
26
- * @deprecated Use LottieStatusAnimationPropsWithHeight from cds-web or cds-mobile instead
29
+ * @deprecated Use LottieStatusAnimationPropsWithHeight from cds-web or cds-mobile instead. This will be removed in a future major release.
30
+ * @deprecationExpectedRemoval v9
27
31
  */
28
32
  type LottieStatusAnimationPropsWithHeight = {
29
33
  /**
@@ -33,7 +37,8 @@ type LottieStatusAnimationPropsWithHeight = {
33
37
  height: DimensionValue;
34
38
  } & BaseStatusAnimationProps;
35
39
  /**
36
- * @deprecated Use LottieStatusAnimationProps from cds-web or cds-mobile instead
40
+ * @deprecated Use LottieStatusAnimationProps from cds-web or cds-mobile instead. This will be removed in a future major release.
41
+ * @deprecationExpectedRemoval v9
37
42
  */
38
43
  export type LottieStatusAnimationProps = (
39
44
  | LottieStatusAnimationPropsWithWidth
@@ -1 +1 @@
1
- {"version":3,"file":"LottieStatusAnimationProps.d.ts","sourceRoot":"","sources":["../../src/types/LottieStatusAnimationProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;GAEG;AACH,YAAY,EAAE,YAAY,IAAI,yBAAyB,EAAE,CAAC;AAE1D;;GAEG;AACH,KAAK,wBAAwB,GAAG;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,KAAK,mCAAmC,GAAG;IACzC;;;OAGG;IACH,KAAK,EAAE,cAAc,CAAC;CACvB,GAAG,wBAAwB,CAAC;AAE7B;;GAEG;AACH,KAAK,oCAAoC,GAAG;IAC1C;;;OAGG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB,GAAG,wBAAwB,CAAC;AAE7B;;GAEG;AACH,MAAM,MAAM,0BAA0B,GAAG,CACrC,mCAAmC,GACnC,oCAAoC,CACvC,GACC,WAAW,CAAC"}
1
+ {"version":3,"file":"LottieStatusAnimationProps.d.ts","sourceRoot":"","sources":["../../src/types/LottieStatusAnimationProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;;GAGG;AACH,YAAY,EAAE,YAAY,IAAI,yBAAyB,EAAE,CAAC;AAE1D;;;GAGG;AACH,KAAK,wBAAwB,GAAG;IAC9B,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF;;;GAGG;AACH,KAAK,mCAAmC,GAAG;IACzC;;;OAGG;IACH,KAAK,EAAE,cAAc,CAAC;CACvB,GAAG,wBAAwB,CAAC;AAE7B;;;GAGG;AACH,KAAK,oCAAoC,GAAG;IAC1C;;;OAGG;IACH,MAAM,EAAE,cAAc,CAAC;CACxB,GAAG,wBAAwB,CAAC;AAE7B;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,CACrC,mCAAmC,GACnC,oCAAoC,CACvC,GACC,WAAW,CAAC"}
@@ -2,7 +2,8 @@ import type { SharedAccessibilityProps } from './SharedAccessibilityProps';
2
2
  import type { SharedProps } from './SharedProps';
3
3
  import type { PaddingProps } from './SpacingProps';
4
4
  /**
5
- * @deprecated Use StickyFooterProps from @coinbase/cds-mobile instead.
5
+ * @deprecated Use StickyFooterProps from @coinbase/cds-mobile instead. This will be removed in a future major release.
6
+ * @deprecationExpectedRemoval v8
6
7
  */
7
8
  export type StickyFooterProps = {
8
9
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"StickyFooterProps.d.ts","sourceRoot":"","sources":["../../src/types/StickyFooterProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;CACvB,GAAG,WAAW,GACb,YAAY,GACZ,IAAI,CAAC,wBAAwB,EAAE,oBAAoB,CAAC,CAAC"}
1
+ {"version":3,"file":"StickyFooterProps.d.ts","sourceRoot":"","sources":["../../src/types/StickyFooterProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;CACvB,GAAG,WAAW,GACb,YAAY,GACZ,IAAI,CAAC,wBAAwB,EAAE,oBAAoB,CAAC,CAAC"}
@@ -15,7 +15,10 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
15
15
  ]
16
16
  */
17
17
 
18
- /** @deprecated Do not use this. */
18
+ /**
19
+ * @deprecated Do not use this. This will be removed in a future major release.
20
+ * @deprecationExpectedRemoval v9
21
+ */
19
22
  export const useGroupToggler = (values, initialState) => {
20
23
  // The function inside useState will still run on every render.
21
24
  // This makes sure that we are not creating new Sets on every render
@@ -1,6 +1,9 @@
1
1
  import { useCallback, useMemo, useState } from 'react';
2
2
 
3
- /** @deprecated Use React.useState instead. */
3
+ /**
4
+ * @deprecated Use React.useState instead. This will be removed in a future major release.
5
+ * @deprecationExpectedRemoval v9
6
+ */
4
7
  export function useToggler() {
5
8
  let initial = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
6
9
  const [isToggled, setIsToggled] = useState(initial);
@@ -1,7 +1,8 @@
1
1
  import { useOverlay } from './useOverlay';
2
2
 
3
3
  /**
4
- * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started
4
+ * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started. This will be removed in a future major release.
5
+ * @deprecationExpectedRemoval v7
5
6
  */
6
7
  export const useAlert = () => {
7
8
  return useOverlay('alert_');
@@ -2,7 +2,8 @@ import { useMemo } from 'react';
2
2
  import { useOverlay } from './useOverlay';
3
3
 
4
4
  /**
5
- * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started
5
+ * @deprecated Use the visible and onRequestClose props as outlined in the docs here https://cds.coinbase.com/components/modal#get-started. This will be removed in a future major release.
6
+ * @deprecationExpectedRemoval v7
6
7
  */
7
8
  export const useModal = () => {
8
9
  const {
@@ -69,7 +69,8 @@ export const tagEmphasisColorMap = {
69
69
  }
70
70
  };
71
71
  /**
72
- * @deprecated Use tagEmphasisColorMap instead
72
+ * @deprecated Use tagEmphasisColorMap instead. This will be removed in a future major release.
73
+ * @deprecationExpectedRemoval v9
73
74
  */
74
75
  export const tagColorMap = {
75
76
  informational: tagEmphasisColorMap.low,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cds-common",
3
- "version": "8.55.0",
3
+ "version": "8.56.0",
4
4
  "description": "Coinbase Design System - Common",
5
5
  "repository": {
6
6
  "type": "git",
@@ -39,8 +39,8 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@coinbase/cds-icons": "^5.13.0",
42
- "@coinbase/cds-illustrations": "^4.34.0",
43
- "@coinbase/cds-mcp-server": "^8.55.0",
42
+ "@coinbase/cds-illustrations": "^4.35.0",
43
+ "@coinbase/cds-mcp-server": "^8.56.0",
44
44
  "@coinbase/cds-utils": "^2.3.5",
45
45
  "@modelcontextprotocol/sdk": "^1.13.1",
46
46
  "d3-array": "^3.2.4",