@cambly/syntax-core 4.0.0 → 4.1.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
@@ -99,6 +99,11 @@ declare function Box(props: {
99
99
  * @defaultValue `block`
100
100
  */
101
101
  display?: Display;
102
+ /**
103
+ * If the size of all flex items is larger than the flex container, items shrink to fit according to flex-shrink
104
+ *
105
+ */
106
+ flexShrink?: number;
102
107
  /**
103
108
  * By default, flex items will all try to fit onto one line. But if you specify `flexWrap="wrap"`, the flex items will wrap onto multiple lines.
104
109
  *
package/dist/index.js CHANGED
@@ -185,6 +185,7 @@ function Box(props) {
185
185
  display,
186
186
  smDisplay,
187
187
  lgDisplay,
188
+ flexShrink,
188
189
  flexWrap,
189
190
  gap: gap2,
190
191
  justifyContent,
@@ -236,6 +237,7 @@ function Box(props) {
236
237
  "display",
237
238
  "smDisplay",
238
239
  "lgDisplay",
240
+ "flexShrink",
239
241
  "flexWrap",
240
242
  "gap",
241
243
  "justifyContent",
@@ -337,6 +339,7 @@ function Box(props) {
337
339
  rounding && rounding !== "none" && Box_module_default[`rounding${rounding}`]
338
340
  ),
339
341
  style: __spreadValues({
342
+ flexShrink,
340
343
  height,
341
344
  maxHeight,
342
345
  maxWidth,