@cambly/syntax-core 2.7.0 → 2.8.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/dist/index.d.ts CHANGED
@@ -66,7 +66,7 @@ declare function Box(props: {
66
66
  /**
67
67
  * The background color of the box.
68
68
  */
69
- color?: (typeof colors)[number];
69
+ backgroundColor?: (typeof colors)[number];
70
70
  /**
71
71
  * The children to be rendered inside the box.
72
72
  */
package/dist/index.js CHANGED
@@ -178,7 +178,7 @@ function Box(props) {
178
178
  smAlignItems,
179
179
  lgAlignItems,
180
180
  alignSelf,
181
- color,
181
+ backgroundColor: backgroundColor2,
182
182
  direction,
183
183
  smDirection,
184
184
  lgDirection,
@@ -229,7 +229,7 @@ function Box(props) {
229
229
  "smAlignItems",
230
230
  "lgAlignItems",
231
231
  "alignSelf",
232
- "color",
232
+ "backgroundColor",
233
233
  "direction",
234
234
  "smDirection",
235
235
  "lgDirection",
@@ -285,7 +285,7 @@ function Box(props) {
285
285
  smAlignItems && Box_module_default[`alignItems${smAlignItems}Small`],
286
286
  lgAlignItems && Box_module_default[`alignItems${lgAlignItems}Large`],
287
287
  alignSelf && Box_module_default[`alignSelf${alignSelf}`],
288
- color && colors_module_default[`${color}BackgroundColor`],
288
+ backgroundColor2 && colors_module_default[`${backgroundColor2}BackgroundColor`],
289
289
  direction && Box_module_default[direction],
290
290
  smDirection && Box_module_default[`${smDirection}Small`],
291
291
  lgDirection && Box_module_default[`${lgDirection}Large`],