Comparing version 153.8.0 to 153.9.0
@@ -104,8 +104,2 @@ import { Component as ReactComponent, ReactNode } from 'react'; | ||
_logTwoColWhitespace?: (arg1: number) => void; | ||
/** | ||
* Temporal prop to sync gutter logic on full width layout refactor. | ||
* | ||
* This is an experimental prop and will be removed in the future. | ||
*/ | ||
_legacyFlexibleGutterLogic?: boolean; | ||
}; | ||
@@ -112,0 +106,0 @@ type State<T> = { |
@@ -5,3 +5,3 @@ import { Cache } from './Cache'; | ||
readonly [key: string]: unknown; | ||
}>({ width, idealColumnWidth, gutter, minCols, measurementCache, _twoColItems, _legacyFlexibleGutterLogic, ...otherProps }: { | ||
}>({ width, idealColumnWidth, gutter, minCols, measurementCache, _twoColItems, ...otherProps }: { | ||
idealColumnWidth?: number | undefined; | ||
@@ -14,3 +14,2 @@ gutter?: number | undefined; | ||
_twoColItems?: boolean | undefined; | ||
_legacyFlexibleGutterLogic?: boolean | undefined; | ||
whitespaceThreshold?: number | undefined; | ||
@@ -17,0 +16,0 @@ logWhitespace?: ((arg1: number) => void) | undefined; |
@@ -5,3 +5,3 @@ import { Cache } from './Cache'; | ||
readonly [key: string]: unknown; | ||
}>({ align, columnWidth, gutter, items, layout, measurementStore, minCols, positionStore, width, _twoColItems, _logTwoColWhitespace, _legacyFlexibleGutterLogic, }: { | ||
}>({ align, columnWidth, gutter, items, layout, measurementStore, minCols, positionStore, width, _twoColItems, _logTwoColWhitespace, }: { | ||
align: Align; | ||
@@ -18,3 +18,2 @@ columnWidth: number; | ||
_logTwoColWhitespace?: (arg1: number) => void; | ||
_legacyFlexibleGutterLogic?: boolean; | ||
}): (forItems: ReadonlyArray<T>) => ReadonlyArray<Position>; |
@@ -108,8 +108,2 @@ import { ReactNode } from 'react'; | ||
_useRAF?: boolean; | ||
/** | ||
* Temporal prop to sync gutter logic on full width layout refactor. | ||
* | ||
* This is an experimental prop and will be removed in the future. | ||
*/ | ||
_legacyFlexibleGutterLogic?: boolean; | ||
}; | ||
@@ -116,0 +110,0 @@ type MasonryRef = { |
{ | ||
"name": "gestalt", | ||
"version": "153.8.0", | ||
"version": "153.9.0", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "homepage": "https://gestalt.pinterest.systems/", |
@@ -17,3 +17,2 @@ import { Cache } from './Cache'; | ||
_twoColItems = false, | ||
_legacyFlexibleGutterLogic = true, | ||
...otherProps | ||
@@ -28,3 +27,2 @@ }: { | ||
_twoColItems?: boolean; | ||
_legacyFlexibleGutterLogic?: boolean; | ||
whitespaceThreshold?: number; | ||
@@ -81,3 +79,3 @@ logWhitespace?: (arg1: number) => void; | ||
heights[col] += height + (_legacyFlexibleGutterLogic ? 0 : gutter); | ||
heights[col] += height + gutter; | ||
position = { | ||
@@ -84,0 +82,0 @@ top, |
@@ -23,3 +23,2 @@ import { Cache } from './Cache'; | ||
_logTwoColWhitespace, | ||
_legacyFlexibleGutterLogic, | ||
}: { | ||
@@ -37,3 +36,2 @@ align: Align; | ||
_logTwoColWhitespace?: (arg1: number) => void; | ||
_legacyFlexibleGutterLogic?: boolean; | ||
}): (forItems: ReadonlyArray<T>) => ReadonlyArray<Position> { | ||
@@ -50,3 +48,2 @@ if ((layout === 'flexible' || layout === 'serverRenderedFlexible') && width !== null) { | ||
_twoColItems, | ||
_legacyFlexibleGutterLogic, | ||
}); | ||
@@ -53,0 +50,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9027086
82087