@coinbase/cds-mobile 8.14.0 → 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,16 @@ 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
+
11
21
  ## 8.14.0 ((10/6/2025, 02:57 PM PST))
12
22
 
13
23
  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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cds-mobile",
3
- "version": "8.14.0",
3
+ "version": "8.14.2",
4
4
  "description": "Coinbase Design System - Mobile",
5
5
  "repository": {
6
6
  "type": "git",
@@ -150,7 +150,7 @@
150
150
  "react-native-svg": "^14.1.0"
151
151
  },
152
152
  "dependencies": {
153
- "@coinbase/cds-common": "^8.14.0",
153
+ "@coinbase/cds-common": "^8.14.2",
154
154
  "@coinbase/cds-icons": "^5.4.2",
155
155
  "@coinbase/cds-illustrations": "^4.23.1",
156
156
  "@coinbase/cds-lottie-files": "^3.3.2",