@popsure/dirty-swan 0.59.0-beta-4 → 0.59.0-beta-5

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.
Files changed (35) hide show
  1. package/dist/cjs/index.js +7 -5
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/{TableSection-018d8e8f.js → TableSection-4be9ca3a.js} +1 -1
  4. package/dist/esm/{TableSection-018d8e8f.js.map → TableSection-4be9ca3a.js.map} +1 -1
  5. package/dist/esm/components/cards/card/index.js +7 -5
  6. package/dist/esm/components/cards/card/index.js.map +1 -1
  7. package/dist/esm/components/table/Table.js +1 -1
  8. package/dist/esm/components/table/Table.stories.js +1 -1
  9. package/dist/esm/components/table/Table.test.js +1 -1
  10. package/dist/esm/components/table/components/TableContents/TableContents.js +1 -1
  11. package/dist/esm/components/table/components/TableContents/TableContents.test.js +1 -1
  12. package/dist/esm/components/table/components/TableSection/TableSection.js +1 -1
  13. package/dist/esm/components/table/components/TableSection/TableSection.test.js +1 -1
  14. package/dist/esm/index.js +1 -1
  15. package/dist/esm/scss/public/demo.js +21 -11
  16. package/dist/esm/scss/public/demo.js.map +1 -1
  17. package/dist/index.css +27 -21
  18. package/dist/index.css.map +1 -1
  19. package/dist/lib/scss/private/base/_typography.scss +1 -2
  20. package/dist/lib/scss/private/components/_cards.scss +6 -5
  21. package/dist/lib/scss/private/components/_input.scss +4 -0
  22. package/dist/lib/scss/public/colors/default.scss +1 -1
  23. package/dist/lib/scss/public/demo.tsx +21 -11
  24. package/dist/lib/scss/public/font-weight.scss +1 -1
  25. package/package.json +1 -1
  26. package/src/lib/components/cards/card/index.tsx +3 -0
  27. package/src/lib/components/cards/card/style.module.scss +26 -13
  28. package/src/lib/scss/private/base/_typography.scss +1 -2
  29. package/src/lib/scss/private/components/_cards.scss +6 -5
  30. package/src/lib/scss/private/components/_input.scss +4 -0
  31. package/src/lib/scss/private/components/cards.mdx +2 -2
  32. package/src/lib/scss/public/colors/default.scss +1 -1
  33. package/src/lib/scss/public/demo.tsx +21 -11
  34. package/src/lib/scss/public/font-weight.mdx +1 -1
  35. package/src/lib/scss/public/font-weight.scss +1 -1
package/dist/cjs/index.js CHANGED
@@ -11655,14 +11655,14 @@ var FullScreenModal = function (_a) {
11655
11655
  }, body: classNames$1(styles$s.body, classNames === null || classNames === void 0 ? void 0 : classNames.body) }) }, rest)));
11656
11656
  };
11657
11657
 
11658
- var css_248z$s = ".style-module_border-strong-default__3_zF3 {\n border: 1px solid #d2d2d9;\n}\n\n.style-module_border-strong-hover__2gkuG {\n border: 1px solid #919199;\n}\n\n.style-module_border-strong-active__3BFbj {\n border: 1px solid #26262e;\n}\n\n.style-module_border-medium-default__21dIE {\n border: 1px solid #e7e7ed;\n}\n\n.style-module_border-medium-hover__Pq6pQ {\n border: 1px solid #b8b8c0;\n}\n\n.style-module_border-medium-active__uLwlN {\n border: 1px solid #3f3f47;\n}\n\n.style-module_border-soft-default__398BS {\n border: 1px solid #f5f5fb;\n}\n\n.style-module_border-soft-hover__30OW0 {\n border: 1px solid #d2d2d9;\n}\n\n.style-module_border-soft-active__eUC5s {\n border: 1px solid #919199;\n}\n\n.style-module_border-focus__28f29 {\n border: 2px solid #26262e;\n}\n\n.style-module_wrapper__35C6V {\n background-color: #fff;\n border: 1px solid transparent;\n transition: all 0.2s ease-in-out;\n}\n.style-module_wrapper--default__NYcwG {\n background-color: #fff;\n}\n.style-module_wrapper--transparent__1M1sg {\n background-color: transparent;\n}\n.style-module_wrapper--outline__3fBDi {\n background-color: #fff;\n border: 1px solid #d2d2d9;\n}\n.style-module_wrapper--secondary__1l7bB {\n background-color: #EEEEFE;\n}\n.style-module_wrapper--primary__Sulin {\n background-color: #FEECD3;\n}\n\n.style-module_button__P-UIa {\n background-color: transparent;\n color: #26262e;\n outline: 1px solid transparent;\n transition: all 0.2s ease-in-out;\n text-decoration: none;\n border-radius: 8px;\n border: 1px solid transparent;\n outline: 1px solid transparent;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--default__NYcwG {\n border: 1px solid #d2d2d9;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--transparent__1M1sg {\n background-color: transparent;\n border-color: transparent;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--outline__3fBDi {\n background-color: #fff;\n border: 1px solid #26262e;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--secondary__1l7bB {\n background-color: #EEEEFE;\n border-color: #B8B4F3;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--primary__Sulin {\n background-color: #FEECD3;\n border-color: #F2B873;\n}\n.style-module_button__P-UIa:focus .style-module_wrapper--default__NYcwG, .style-module_button__P-UIa:focus-visible .style-module_wrapper--default__NYcwG {\n border-color: #26262e;\n box-shadow: inset 0 0 0 1px #26262e;\n}\n.style-module_button__P-UIa:focus .style-module_wrapper--outline__3fBDi, .style-module_button__P-UIa:focus-visible .style-module_wrapper--outline__3fBDi {\n box-shadow: inset 0 0 0 1px #26262e;\n border-color: #26262e;\n}\n.style-module_button__P-UIa:focus .style-module_wrapper--transparent__1M1sg, .style-module_button__P-UIa:focus-visible .style-module_wrapper--transparent__1M1sg {\n background-color: #f5f5fb;\n box-shadow: none;\n}\n.style-module_button__P-UIa:focus .style-module_wrapper--primary__Sulin, .style-module_button__P-UIa:focus-visible .style-module_wrapper--primary__Sulin {\n border-color: #C6824E;\n box-shadow: inset 0 0 0 1px #C6824E;\n}\n.style-module_button__P-UIa:focus .style-module_wrapper--secondary__1l7bB, .style-module_button__P-UIa:focus-visible .style-module_wrapper--secondary__1l7bB {\n border-color: #6A65AE;\n box-shadow: inset 0 0 0 1px #6A65AE;\n}\n.style-module_button__P-UIa:focus-visible .style-module_wrapper__35C6V {\n border-color: #26262e;\n box-shadow: inset 0 0 0 1px #26262e;\n}\n\n.style-module_icon__15X1c {\n margin-right: 12px;\n color: #26262e;\n}\n.style-module_iconbalanced__Zb-hZ {\n margin-right: 16px;\n}\n.style-module_iconspacious__3Ly0X {\n margin-right: 24px;\n}\n\n.style-module_actionIcon__3pnwR {\n color: #26262e;\n margin-left: 12px;\n}\n.style-module_actionIconbalanced__19jnn {\n margin-left: 16px;\n}\n.style-module_actionIconspacious__2LJN4 {\n margin-left: 24px;\n}\n\n.style-module_description__ksrnP {\n color: #696971;\n}";
11659
- var styles$r = {"border-strong-default":"style-module_border-strong-default__3_zF3","border-strong-hover":"style-module_border-strong-hover__2gkuG","border-strong-active":"style-module_border-strong-active__3BFbj","border-medium-default":"style-module_border-medium-default__21dIE","border-medium-hover":"style-module_border-medium-hover__Pq6pQ","border-medium-active":"style-module_border-medium-active__uLwlN","border-soft-default":"style-module_border-soft-default__398BS","border-soft-hover":"style-module_border-soft-hover__30OW0","border-soft-active":"style-module_border-soft-active__eUC5s","border-focus":"style-module_border-focus__28f29","wrapper":"style-module_wrapper__35C6V","wrapper--default":"style-module_wrapper--default__NYcwG","wrapper--transparent":"style-module_wrapper--transparent__1M1sg","wrapper--outline":"style-module_wrapper--outline__3fBDi","wrapper--secondary":"style-module_wrapper--secondary__1l7bB","wrapper--primary":"style-module_wrapper--primary__Sulin","button":"style-module_button__P-UIa","icon":"style-module_icon__15X1c","iconbalanced":"style-module_iconbalanced__Zb-hZ","iconspacious":"style-module_iconspacious__3Ly0X","actionIcon":"style-module_actionIcon__3pnwR","actionIconbalanced":"style-module_actionIconbalanced__19jnn","actionIconspacious":"style-module_actionIconspacious__2LJN4","description":"style-module_description__ksrnP"};
11658
+ var css_248z$s = ".style-module_border-strong-default__3_zF3 {\n border: 1px solid #d2d2d9;\n}\n\n.style-module_border-strong-hover__2gkuG {\n border: 1px solid #919199;\n}\n\n.style-module_border-strong-active__3BFbj {\n border: 1px solid #26262e;\n}\n\n.style-module_border-medium-default__21dIE {\n border: 1px solid #e7e7ed;\n}\n\n.style-module_border-medium-hover__Pq6pQ {\n border: 1px solid #b8b8c0;\n}\n\n.style-module_border-medium-active__uLwlN {\n border: 1px solid #3f3f47;\n}\n\n.style-module_border-soft-default__398BS {\n border: 1px solid #f2f2f8;\n}\n\n.style-module_border-soft-hover__30OW0 {\n border: 1px solid #d2d2d9;\n}\n\n.style-module_border-soft-active__eUC5s {\n border: 1px solid #919199;\n}\n\n.style-module_border-focus__28f29 {\n border: 2px solid #26262e;\n}\n\n.style-module_wrapper__35C6V {\n background-color: #fff;\n border: 1px solid transparent;\n transition: all 0.2s ease-in-out;\n}\n.style-module_wrapper--default__NYcwG {\n background-color: #fff;\n}\n.style-module_wrapper--defaultNoShadow__2x-zI {\n border: 1px solid #f2f2f8;\n}\n.style-module_wrapper--transparent__1M1sg {\n background-color: transparent;\n}\n.style-module_wrapper--outline__3fBDi {\n background-color: #fff;\n border: 1px solid #d2d2d9;\n}\n.style-module_wrapper--secondary__1l7bB {\n background-color: #EEEEFE;\n}\n.style-module_wrapper--primary__Sulin {\n background-color: #FEECD3;\n}\n\n.style-module_button__P-UIa {\n background-color: transparent;\n color: #26262e;\n outline: 1px solid transparent;\n transition: all 0.2s ease-in-out;\n text-decoration: none;\n border-radius: 8px;\n border: 1px solid transparent;\n outline: 1px solid transparent;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--default__NYcwG {\n border: 1px solid #d2d2d9;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--transparent__1M1sg {\n background-color: transparent;\n border-color: transparent;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--outline__3fBDi {\n background-color: #fff;\n border: 1px solid #26262e;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--secondary__1l7bB {\n background-color: #EEEEFE;\n border-color: #B8B4F3;\n}\n.style-module_button__P-UIa:hover .style-module_wrapper--primary__Sulin {\n background-color: #FEECD3;\n border-color: #F2B873;\n}\n.style-module_button__P-UIa:focus-visible .style-module_wrapper__35C6V {\n border-color: #26262e;\n box-shadow: inset 0 0 0 1px #26262e;\n}\n.style-module_button__P-UIa:focus-visible .style-module_wrapper--default__NYcwG {\n border-color: #26262e;\n}\n.style-module_button__P-UIa:focus-visible .style-module_wrapper--outline__3fBDi {\n border-color: #26262e;\n}\n.style-module_button__P-UIa:focus-visible .style-module_wrapper--transparent__1M1sg {\n background-color: #f2f2f8;\n}\n.style-module_button__P-UIa:active .style-module_wrapper__35C6V {\n border-color: #b8b8c0;\n box-shadow: inset 0 0 0 1px #b8b8c0;\n}\n.style-module_button__P-UIa:active .style-module_wrapper--outline__3fBDi {\n border-color: #26262e;\n box-shadow: inset 0 0 0 1px #26262e;\n}\n.style-module_button__P-UIa:active .style-module_wrapper--transparent__1M1sg {\n background-color: #f2f2f8;\n border-color: transparent;\n box-shadow: none;\n}\n.style-module_button__P-UIa:active .style-module_wrapper--primary__Sulin {\n border-color: #F2B873;\n box-shadow: inset 0 0 0 1px #F2B873;\n}\n.style-module_button__P-UIa:active .style-module_wrapper--secondary__1l7bB {\n border-color: #8883D8;\n box-shadow: inset 0 0 0 1px #8883D8;\n}\n\n.style-module_icon__15X1c {\n margin-right: 12px;\n color: #26262e;\n}\n.style-module_iconbalanced__Zb-hZ {\n margin-right: 16px;\n}\n.style-module_iconspacious__3Ly0X {\n margin-right: 24px;\n}\n\n.style-module_actionIcon__3pnwR {\n color: #26262e;\n margin-left: 12px;\n}\n.style-module_actionIconbalanced__19jnn {\n margin-left: 16px;\n}\n.style-module_actionIconspacious__2LJN4 {\n margin-left: 24px;\n}\n\n.style-module_description__ksrnP {\n color: #696971;\n}";
11659
+ var styles$r = {"border-strong-default":"style-module_border-strong-default__3_zF3","border-strong-hover":"style-module_border-strong-hover__2gkuG","border-strong-active":"style-module_border-strong-active__3BFbj","border-medium-default":"style-module_border-medium-default__21dIE","border-medium-hover":"style-module_border-medium-hover__Pq6pQ","border-medium-active":"style-module_border-medium-active__uLwlN","border-soft-default":"style-module_border-soft-default__398BS","border-soft-hover":"style-module_border-soft-hover__30OW0","border-soft-active":"style-module_border-soft-active__eUC5s","border-focus":"style-module_border-focus__28f29","wrapper":"style-module_wrapper__35C6V","wrapper--default":"style-module_wrapper--default__NYcwG","wrapper--defaultNoShadow":"style-module_wrapper--defaultNoShadow__2x-zI","wrapper--transparent":"style-module_wrapper--transparent__1M1sg","wrapper--outline":"style-module_wrapper--outline__3fBDi","wrapper--secondary":"style-module_wrapper--secondary__1l7bB","wrapper--primary":"style-module_wrapper--primary__Sulin","button":"style-module_button__P-UIa","icon":"style-module_icon__15X1c","iconbalanced":"style-module_iconbalanced__Zb-hZ","iconspacious":"style-module_iconspacious__3Ly0X","actionIcon":"style-module_actionIcon__3pnwR","actionIconbalanced":"style-module_actionIconbalanced__19jnn","actionIconspacious":"style-module_actionIconspacious__2LJN4","description":"style-module_description__ksrnP"};
11660
11660
  styleInject(css_248z$s);
11661
11661
 
11662
11662
  var cardDefaultAs = 'section';
11663
11663
  var Card = function (_a) {
11664
- var _b;
11665
- var as = _a.as, children = _a.children, classNames = _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, _g = _a.verticalAlignment, verticalAlignment = _g === void 0 ? 'center' : _g, _h = _a.variant, variant = _h === void 0 ? 'default' : _h, rest = __rest$1(_a, ["as", "children", "classNames", "density", "description", "descriptionVariant", "dropShadow", "icon", "label", "onClick", "actionIcon", "title", "titleVariant", "showActionIcon", "verticalAlignment", "variant"]);
11664
+ var _b, _c;
11665
+ var as = _a.as, children = _a.children, classNames = _a.classNames, _d = _a.density, density = _d === void 0 ? 'balanced' : _d, description = _a.description, _e = _a.descriptionVariant, descriptionVariant = _e === void 0 ? 'large' : _e, _f = _a.dropShadow, dropShadow = _f === void 0 ? true : _f, icon = _a.icon, label = _a.label, onClick = _a.onClick, actionIcon = _a.actionIcon, title = _a.title, _g = _a.titleVariant, titleVariant = _g === void 0 ? 'large' : _g, showActionIcon = _a.showActionIcon, _h = _a.verticalAlignment, verticalAlignment = _h === void 0 ? 'center' : _h, _j = _a.variant, variant = _j === void 0 ? 'default' : _j, rest = __rest$1(_a, ["as", "children", "classNames", "density", "description", "descriptionVariant", "dropShadow", "icon", "label", "onClick", "actionIcon", "title", "titleVariant", "showActionIcon", "verticalAlignment", "variant"]);
11666
11666
  var hideActionIcon = typeof actionIcon !== 'undefined' && !actionIcon;
11667
11667
  var propsWithActionIcon = onClick || (rest === null || rest === void 0 ? void 0 : rest.href) || rest.to;
11668
11668
  var cardDefaultTag = onClick ? 'button' : cardDefaultAs;
@@ -11682,7 +11682,9 @@ var Card = function (_a) {
11682
11682
  top: 'jc-start',
11683
11683
  center: 'jc-center',
11684
11684
  bottom: 'jc-end',
11685
- }[verticalAlignment], styles$r === null || styles$r === void 0 ? void 0 : styles$r.wrapper, styles$r === null || styles$r === void 0 ? void 0 : styles$r["wrapper--".concat(variant)], classNames === null || classNames === void 0 ? void 0 : classNames.wrapper), children: [jsxRuntime.jsxs("div", { className: "d-flex w100", children: [icon && (jsxRuntime.jsx("div", { className: classNames$1("d-flex", styles$r.icon, styles$r["icon".concat(density)], classNames === null || classNames === void 0 ? void 0 : classNames.icon, {
11685
+ }[verticalAlignment], styles$r === null || styles$r === void 0 ? void 0 : styles$r.wrapper, styles$r === null || styles$r === void 0 ? void 0 : styles$r["wrapper--".concat(variant)], (_c = {},
11686
+ _c[styles$r === null || styles$r === void 0 ? void 0 : styles$r["wrapper--defaultNoShadow"]] = !dropShadow && variant === 'default',
11687
+ _c), classNames === null || classNames === void 0 ? void 0 : classNames.wrapper), children: [jsxRuntime.jsxs("div", { className: "d-flex w100", children: [icon && (jsxRuntime.jsx("div", { className: classNames$1("d-flex", styles$r.icon, styles$r["icon".concat(density)], classNames === null || classNames === void 0 ? void 0 : classNames.icon, {
11686
11688
  top: 'ai-start',
11687
11689
  center: 'ai-center',
11688
11690
  bottom: 'ai-end',