dce-reactkit 3.6.11 → 3.6.12

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/cjs/index.js CHANGED
@@ -41176,11 +41176,16 @@ const AutoscrollToBottomContainer = (props) => {
41176
41176
  /**
41177
41177
  * Merges a list of class names into a class name, intelligently handling spaces
41178
41178
  * @author Gabe Abrams
41179
- * @param classNames the list of class names to merge
41179
+ * @param classNames the list of class names to merge (or falsey values to
41180
+ * ignore)
41180
41181
  * @returns the merged class name
41181
41182
  */
41182
41183
  const combineClassNames = (classNames) => {
41183
41184
  return (classNames
41185
+ // Turn falsey values into empty strings
41186
+ .map((className) => {
41187
+ return className || '';
41188
+ })
41184
41189
  // Trim whitespace
41185
41190
  .map((className) => {
41186
41191
  return className.trim();