@coinbase/cds-mobile 8.13.6 → 8.14.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
@@ -8,6 +8,24 @@ All notable changes to this project will be documented in this file.
8
8
 
9
9
  <!-- template-start -->
10
10
 
11
+ ## 8.14.2 (10/7/2025 PST)
12
+
13
+ #### 🐞 Fixes
14
+
15
+ - Update Accordion Divider color to match default Divider. [[#75](https://github.com/coinbase/cds/pull/75)]
16
+
17
+ ## 8.14.1 ((10/7/2025, 12:59 PM PST))
18
+
19
+ This is an artificial version bump with no new change.
20
+
21
+ ## 8.14.0 ((10/6/2025, 02:57 PM PST))
22
+
23
+ This is an artificial version bump with no new change.
24
+
25
+ ## 8.13.7 (10/6/2025 PST)
26
+
27
+ This is an artificial version bump with no new change.
28
+
11
29
  ## 8.13.6 ((10/3/2025, 01:54 PM PST))
12
30
 
13
31
  This is an artificial version bump with no new change.
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  import type { ViewProps } from 'react-native';
3
2
  import { type AccordionProviderProps } from '@coinbase/cds-common/accordion/AccordionProvider';
4
3
  import type { SharedProps } from '@coinbase/cds-common/types';
5
4
  export type AccordionBaseProps = SharedProps & AccordionProviderProps;
6
5
  export type AccordionProps = AccordionBaseProps & Pick<ViewProps, 'style'>;
7
- export declare const Accordion: React.MemoExoticComponent<
6
+ export declare const Accordion: import('react').MemoExoticComponent<
8
7
  ({
9
8
  activeKey,
10
9
  children,
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../src/accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAK9D,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,sBAAsB,CAAC;AAEtE,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAE3E,eAAO,MAAM,SAAS,gHASjB,cAAc,6CAclB,CAAC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../src/accordion/Accordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAEL,KAAK,sBAAsB,EAC5B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAK9D,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,sBAAsB,CAAC;AAEtE,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AAE3E,eAAO,MAAM,SAAS,0HASjB,cAAc,6CAclB,CAAC"}
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  import type { ThemeVars } from '@coinbase/cds-common/core/theme';
3
2
  import type { BoxProps } from './Box';
4
3
  export type DividerBaseProps = {
5
4
  /**
6
5
  * Color of the divider line.
7
- * @default line
6
+ * @default bgLine
8
7
  */
9
8
  color?: ThemeVars.Color;
10
9
  /**
@@ -14,5 +13,5 @@ export type DividerBaseProps = {
14
13
  direction?: 'horizontal' | 'vertical';
15
14
  };
16
15
  export type DividerProps = DividerBaseProps & BoxProps;
17
- export declare const Divider: React.NamedExoticComponent<DividerProps>;
16
+ export declare const Divider: import('react').NamedExoticComponent<DividerProps>;
18
17
  //# sourceMappingURL=Divider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../src/layout/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAIjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEvD,eAAO,MAAM,OAAO,0CAqBlB,CAAC"}
1
+ {"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../src/layout/Divider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAIjE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEvD,eAAO,MAAM,OAAO,oDAqBlB,CAAC"}
@@ -1,4 +1,4 @@
1
- import React, { Children, memo } from 'react';
1
+ import { Children, memo } from 'react';
2
2
  import { AccordionProvider } from '@coinbase/cds-common/accordion/AccordionProvider';
3
3
  import { join } from '@coinbase/cds-common/utils/join';
4
4
  import { Divider, VStack } from '../layout';
@@ -22,9 +22,7 @@ export const Accordion = /*#__PURE__*/memo(_ref => {
22
22
  style: style,
23
23
  testID: testID,
24
24
  width: "100%",
25
- children: join(Children.toArray(children), /*#__PURE__*/_jsx(Divider, {
26
- color: "bgLineHeavy"
27
- }))
25
+ children: join(Children.toArray(children), /*#__PURE__*/_jsx(Divider, {}))
28
26
  })
29
27
  });
30
28
  });
@@ -1,7 +1,7 @@
1
1
  const _excluded = ["color", "direction"];
2
2
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
3
  function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
- import React, { memo, useMemo } from 'react';
4
+ import { memo, useMemo } from 'react';
5
5
  import { StyleSheet, View } from 'react-native';
6
6
  import { useTheme } from '../hooks/useTheme';
7
7
  import { Box } from './Box';
@@ -426,6 +426,27 @@ const ProgressBarScreen = () => {
426
426
  }), /*#__PURE__*/_jsx(Example, {
427
427
  title: "CustomStyles",
428
428
  children: /*#__PURE__*/_jsx(CustomStyles, {})
429
+ }), /*#__PURE__*/_jsx(Example, {
430
+ title: "Thin",
431
+ children: /*#__PURE__*/_jsx(ProgressContainerWithButtons, {
432
+ children: _ref7 => {
433
+ let {
434
+ calculateProgress
435
+ } = _ref7;
436
+ return /*#__PURE__*/_jsxs(HStack, {
437
+ gap: 2,
438
+ children: [/*#__PURE__*/_jsx(ProgressCircle, {
439
+ progress: calculateProgress(0),
440
+ size: 100,
441
+ weight: "thin"
442
+ }), /*#__PURE__*/_jsx(ProgressCircle, {
443
+ progress: calculateProgress(0.2),
444
+ size: 100,
445
+ weight: "thin"
446
+ })]
447
+ });
448
+ }
449
+ })
429
450
  })]
430
451
  });
431
452
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cds-mobile",
3
- "version": "8.13.6",
3
+ "version": "8.14.2",
4
4
  "description": "Coinbase Design System - Mobile",
5
5
  "repository": {
6
6
  "type": "git",
@@ -150,11 +150,11 @@
150
150
  "react-native-svg": "^14.1.0"
151
151
  },
152
152
  "dependencies": {
153
- "@coinbase/cds-common": "^8.13.6",
154
- "@coinbase/cds-icons": "^5.4.1",
155
- "@coinbase/cds-illustrations": "^4.23.0",
156
- "@coinbase/cds-lottie-files": "^3.3.1",
157
- "@coinbase/cds-utils": "^2.3.2",
153
+ "@coinbase/cds-common": "^8.14.2",
154
+ "@coinbase/cds-icons": "^5.4.2",
155
+ "@coinbase/cds-illustrations": "^4.23.1",
156
+ "@coinbase/cds-lottie-files": "^3.3.2",
157
+ "@coinbase/cds-utils": "^2.3.3",
158
158
  "@floating-ui/react-native": "^0.10.5",
159
159
  "@react-spring/native": "^9.7.4",
160
160
  "lodash": "^4.17.21",