@popsure/dirty-swan 0.42.0 → 0.42.1

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
@@ -8751,13 +8751,13 @@ var css_248z$f = ".style-module_button__KWY7b {\n background-color: transparent
8751
8751
  var styles$e = {"button":"style-module_button__KWY7b","icon":"style-module_icon__N6B2P","iconbalanced":"style-module_iconbalanced__3JdKC","iconspacious":"style-module_iconspacious__36ovv","actionIcon":"style-module_actionIcon__2klnb","actionIconbalanced":"style-module_actionIconbalanced__1duYl","actionIconspacious":"style-module_actionIconspacious__1sjsd"};
8752
8752
  styleInject(css_248z$f);
8753
8753
 
8754
- var CardDefault = 'section';
8754
+ var cardDefaultAs = 'section';
8755
8755
  var Card = function (_a) {
8756
8756
  var _b;
8757
8757
  var as = _a.as, children = _a.children, classNames$1 = _a.classNames, _c = _a.density, density = _c === void 0 ? 'balanced' : _c, description = _a.description, _d = _a.descriptionVariant, descriptionVariant = _d === void 0 ? 'large' : _d, _e = _a.dropShadow, dropShadow = _e === void 0 ? true : _e, icon = _a.icon, label = _a.label, onClick = _a.onClick, actionIcon = _a.actionIcon, title = _a.title, _f = _a.titleVariant, titleVariant = _f === void 0 ? 'large' : _f, showActionIcon = _a.showActionIcon, rest = __rest$1(_a, ["as", "children", "classNames", "density", "description", "descriptionVariant", "dropShadow", "icon", "label", "onClick", "actionIcon", "title", "titleVariant", "showActionIcon"]);
8758
8758
  var hideActionIcon = typeof actionIcon !== 'undefined' && !actionIcon;
8759
8759
  var propsWithActionIcon = onClick || (rest === null || rest === void 0 ? void 0 : rest.href) || rest.to;
8760
- var cardDefaultTag = onClick ? 'button' : CardDefault;
8760
+ var cardDefaultTag = onClick ? 'button' : cardDefaultAs;
8761
8761
  var Tag = as || cardDefaultTag;
8762
8762
  return (jsxRuntime.jsx(Tag, __assign({ className: classNames(classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.buttonWrapper, ' d-flex w100 br8 ai-stretch', (_b = {
8763
8763
  'c-pointer': propsWithActionIcon