dce-reactkit 3.6.11 → 3.6.13

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();
@@ -41405,7 +41410,7 @@ const MultiSwitch = (props) => {
41405
41410
  });
41406
41411
  // Highlight behind selected option
41407
41412
  const highlight = (React__default["default"].createElement("div", { className: "MultiSwitch-highlight bg-warning d-inline-block" }));
41408
- return (React__default["default"].createElement("div", { className: "MultiSwitch-outer-box alert alert-dark" },
41413
+ return (React__default["default"].createElement("div", { className: "MultiSwitch-outer-box alert alert-dark m-0" },
41409
41414
  React__default["default"].createElement("style", null, style),
41410
41415
  React__default["default"].createElement("div", { className: "MultiSwitch-options-container" }, optionElements),
41411
41416
  React__default["default"].createElement("div", { className: "MultiSwitch-highlight-container" }, highlight)));