@coinbase/cds-common 8.51.0 → 8.52.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 +8 -0
- package/dts/index.d.ts +1 -0
- package/dts/index.d.ts.map +1 -1
- package/dts/lottie/statusToAccessibilityLabel.d.ts +3 -0
- package/dts/lottie/statusToAccessibilityLabel.d.ts.map +1 -0
- package/dts/types/LottieStatus.d.ts +2 -0
- package/dts/types/LottieStatus.d.ts.map +1 -0
- package/dts/types/LottieStatusAnimationProps.d.ts +24 -11
- package/dts/types/LottieStatusAnimationProps.d.ts.map +1 -1
- package/dts/types/index.d.ts +1 -0
- package/dts/types/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/lottie/statusToAccessibilityLabel.js +7 -0
- package/esm/types/LottieStatus.js +1 -0
- package/esm/types/index.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.52.0 (3/10/2026 PST)
|
|
12
|
+
|
|
13
|
+
#### 🚀 Updates
|
|
14
|
+
|
|
15
|
+
- Deprecated all exports from LottieStatusAnimationProps file in common. [[#388](https://github.com/coinbase/cds/pull/388)]
|
|
16
|
+
- Added lottieStatusToAccessibilityLabel constant. [[#388](https://github.com/coinbase/cds/pull/388)]
|
|
17
|
+
- Deprecated LottieStatusAnimationType and renamed it to LottieStatus. [[#388](https://github.com/coinbase/cds/pull/388)]
|
|
18
|
+
|
|
11
19
|
## 8.51.0 ((3/9/2026, 06:39 AM PST))
|
|
12
20
|
|
|
13
21
|
This is an artificial version bump with no new change.
|
package/dts/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './carousel';
|
|
|
2
2
|
export * from './core/theme';
|
|
3
3
|
export * from './hooks/useToggler';
|
|
4
4
|
export * from './lottie/lottieUtils';
|
|
5
|
+
export * from './lottie/statusToAccessibilityLabel';
|
|
5
6
|
export * from './lottie/useStatusAnimationPoller';
|
|
6
7
|
export * from './types';
|
|
7
8
|
export * from './utils/getWidthInEm';
|
package/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusToAccessibilityLabel.d.ts","sourceRoot":"","sources":["../../src/lottie/statusToAccessibilityLabel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,YAAY,EAAE,MAAM,CAMzE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LottieStatus.d.ts","sourceRoot":"","sources":["../../src/types/LottieStatus.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -1,30 +1,43 @@
|
|
|
1
1
|
import type { DimensionValue } from './DimensionStyles';
|
|
2
|
+
import type { LottieStatus } from './LottieStatus';
|
|
2
3
|
import type { SharedProps } from './SharedProps';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use LottieStatus directly from @coinbase/cds-common/types/LottieStatus instead
|
|
6
|
+
*/
|
|
7
|
+
export type { LottieStatus as LottieStatusAnimationType };
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use LottieStatusAnimationBaseProps from cds-web or cds-mobile instead
|
|
10
|
+
*/
|
|
9
11
|
type BaseStatusAnimationProps = {
|
|
10
|
-
status?:
|
|
12
|
+
status?: LottieStatus;
|
|
11
13
|
onFinish?: () => void;
|
|
12
14
|
};
|
|
13
|
-
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Use LottieStatusAnimationPropsWithWidth from cds-web or cds-mobile instead
|
|
17
|
+
*/
|
|
18
|
+
type LottieStatusAnimationPropsWithWidth = {
|
|
14
19
|
/**
|
|
15
20
|
* We use aspect ratio to calculate the unset dimension based on the set dimension and a given aspect ratio.
|
|
16
21
|
* Only width or height is allowed, but not both.
|
|
17
22
|
*/
|
|
18
23
|
width: DimensionValue;
|
|
19
24
|
} & BaseStatusAnimationProps;
|
|
20
|
-
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use LottieStatusAnimationPropsWithHeight from cds-web or cds-mobile instead
|
|
27
|
+
*/
|
|
28
|
+
type LottieStatusAnimationPropsWithHeight = {
|
|
21
29
|
/**
|
|
22
30
|
* We use aspect ratio to calculate the unset dimension based on the set dimension and a given aspect ratio.
|
|
23
31
|
* Only width or height is allowed, but not both.
|
|
24
32
|
*/
|
|
25
33
|
height: DimensionValue;
|
|
26
34
|
} & BaseStatusAnimationProps;
|
|
27
|
-
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Use LottieStatusAnimationProps from cds-web or cds-mobile instead
|
|
37
|
+
*/
|
|
38
|
+
export type LottieStatusAnimationProps = (
|
|
39
|
+
| LottieStatusAnimationPropsWithWidth
|
|
40
|
+
| LottieStatusAnimationPropsWithHeight
|
|
41
|
+
) &
|
|
28
42
|
SharedProps;
|
|
29
|
-
export {};
|
|
30
43
|
//# sourceMappingURL=LottieStatusAnimationProps.d.ts.map
|
|
@@ -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,
|
|
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"}
|
package/dts/types/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './IllustrationProps';
|
|
|
28
28
|
export * from './InputBaseProps';
|
|
29
29
|
export * from './LottiePlayer';
|
|
30
30
|
export * from './LottieSource';
|
|
31
|
+
export * from './LottieStatus';
|
|
31
32
|
export * from './LottieStatusAnimationProps';
|
|
32
33
|
export * from './Motion';
|
|
33
34
|
export * from './OverlayLifecycleProps';
|
package/dts/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,c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AAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,cAAc,yBAAyB,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,qCAAqC,CAAC;AACpD,cAAc,kBAAkB,CAAC;AACjC,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC;AACxB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uCAAuC,CAAC;AACtD,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -2,6 +2,7 @@ export * from './carousel';
|
|
|
2
2
|
export * from './core/theme';
|
|
3
3
|
export * from './hooks/useToggler';
|
|
4
4
|
export * from './lottie/lottieUtils';
|
|
5
|
+
export * from './lottie/statusToAccessibilityLabel';
|
|
5
6
|
export * from './lottie/useStatusAnimationPoller';
|
|
6
7
|
export * from './types';
|
|
7
8
|
export * from './utils/getWidthInEm';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/esm/types/index.js
CHANGED
|
@@ -29,6 +29,7 @@ export * from './IllustrationProps';
|
|
|
29
29
|
export * from './InputBaseProps';
|
|
30
30
|
export * from './LottiePlayer';
|
|
31
31
|
export * from './LottieSource';
|
|
32
|
+
export * from './LottieStatus';
|
|
32
33
|
export * from './LottieStatusAnimationProps';
|
|
33
34
|
export * from './Motion';
|
|
34
35
|
export * from './OverlayLifecycleProps';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-common",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.52.0",
|
|
4
4
|
"description": "Coinbase Design System - Common",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@coinbase/cds-icons": "^5.12.0",
|
|
42
42
|
"@coinbase/cds-illustrations": "^4.32.0",
|
|
43
|
-
"@coinbase/cds-mcp-server": "^8.
|
|
43
|
+
"@coinbase/cds-mcp-server": "^8.52.0",
|
|
44
44
|
"@coinbase/cds-utils": "^2.3.5",
|
|
45
45
|
"@modelcontextprotocol/sdk": "^1.13.1",
|
|
46
46
|
"d3-array": "^3.2.4",
|