@popsure/dirty-swan 0.66.5 → 0.66.7

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 (31) hide show
  1. package/dist/cjs/index.js +21 -17
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/lib/components/icon/icons/BrokenGlass.d.ts +4 -0
  4. package/dist/cjs/lib/components/icon/icons/index.d.ts +1 -0
  5. package/dist/esm/components/cards/card/index.stories.js +1 -1
  6. package/dist/esm/components/cards/infoCard/index.js +14 -15
  7. package/dist/esm/components/cards/infoCard/index.js.map +1 -1
  8. package/dist/esm/components/cards/infoCard/index.stories.js +1 -1
  9. package/dist/esm/components/cards/infoCard/index.stories.js.map +1 -1
  10. package/dist/esm/components/icon/icons/BrokenGlass.js +14 -0
  11. package/dist/esm/components/icon/icons/BrokenGlass.js.map +1 -0
  12. package/dist/esm/components/icon/icons.stories.js +2 -1
  13. package/dist/esm/components/icon/icons.stories.js.map +1 -1
  14. package/dist/esm/components/icon/index.stories.js +2 -1
  15. package/dist/esm/components/icon/index.stories.js.map +1 -1
  16. package/dist/esm/components/input/checkbox/index.stories.js +1 -1
  17. package/dist/esm/components/input/radio/index.stories.js +1 -1
  18. package/dist/esm/{index-sVpmwnLl.js → index-BWJpOVlt.js} +3 -1
  19. package/dist/esm/{index-sVpmwnLl.js.map → index-BWJpOVlt.js.map} +1 -1
  20. package/dist/esm/{index-C4hs4X-e.js → index-C5N_dS2f.js} +3 -3
  21. package/dist/esm/index-C5N_dS2f.js.map +1 -0
  22. package/dist/esm/index.js +2 -1
  23. package/dist/esm/index.js.map +1 -1
  24. package/dist/esm/lib/components/icon/icons/BrokenGlass.d.ts +4 -0
  25. package/dist/esm/lib/components/icon/icons/index.d.ts +1 -0
  26. package/dist/esm/util/images/index.stories.js +1 -1
  27. package/package.json +1 -1
  28. package/src/lib/components/cards/infoCard/index.tsx +2 -2
  29. package/src/lib/components/cards/infoCard/style.module.scss +0 -4
  30. package/src/lib/util/images/index.ts +2 -2
  31. package/dist/esm/index-C4hs4X-e.js.map +0 -1
package/dist/cjs/index.js CHANGED
@@ -8575,6 +8575,10 @@ var Briefcase = (function (props) {
8575
8575
  return React.createElement(IconWrapper, props, jsxRuntime.jsx("path", { stroke: "currentColor", strokeWidth: 2, d: "M8 20V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v16M5 7h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Z" }));
8576
8576
  });
8577
8577
 
8578
+ var BrokenGlass = (function (props) {
8579
+ return React.createElement(IconWrapper, props, jsxRuntime.jsx("path", { stroke: "#26262E", strokeLinecap: "round", strokeWidth: 2, d: "m10 6-.5 5L5 13m5-7 3 3 2-1m-5-2L8 2m7 6 3 3m-3-3 3-5m0 8-3 2 4 3m-1-5h3m-2 5h-6l-4 4m10-4 3 2m-3-2 2-5M9 20v-5l-4-2m4 7-.842 2M5 13l-3 1m20-3h-1M7 9 4 7" }));
8580
+ });
8581
+
8578
8582
  var Calculator = (function (props) {
8579
8583
  return React.createElement(IconWrapper, props, jsxRuntime.jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 22h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2Z" }), jsxRuntime.jsx("path", { stroke: "currentColor", strokeLinejoin: "round", strokeWidth: 2, d: "M8 6h8v4H8z" }), jsxRuntime.jsx("path", { stroke: "currentColor", strokeDasharray: "0 1000000", strokeLinecap: "round", strokeLinejoin: "round", strokeMiterlimit: 2.413, strokeWidth: 2, d: "M8 14v-.04M12 14v-.04M16 14v-.04M8 18v-.04M12 18v-.04M16 18v-.04" }));
8580
8584
  });
@@ -17788,25 +17792,24 @@ var Card = function (_a) {
17788
17792
  }[titleVariant]), children: title })), description && (jsxRuntime.jsx("div", { className: classNames(styles$s.description, classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.description, descriptionVariant === 'small' ? 'p-p--small' : 'p-p', styles$s === null || styles$s === void 0 ? void 0 : styles$s["description--".concat(variant)]), children: description }))] }), (showActionIcon || (propsWithActionIcon && !hideActionIcon)) && (jsxRuntime.jsx("div", { className: classNames(styles$s.actionIcon, classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.actionIcon, styles$s["actionIconDensity--".concat(density)], 'd-flex ai-center'), children: actionIcon || jsxRuntime.jsx(ChevronRightIcon, { size: 24 }) }))] })] }), children && jsxRuntime.jsx("div", { className: classNames$1 === null || classNames$1 === void 0 ? void 0 : classNames$1.children, children: children })] }) })));
17789
17793
  };
17790
17794
 
17791
- var css_248z$s = ".style-module_bs-xs__2s8AD {\n box-shadow: 0 2px 12px rgba(38, 38, 46, 0.03);\n}\n\n.style-module_bs-sm__2KgTp {\n box-shadow: 0 2px 20px 0 rgba(38, 38, 46, 0.04);\n}\n\n.style-module_bs-md__3yrN1 {\n box-shadow: 0 2px 28px rgba(38, 38, 46, 0.08);\n}\n\n.style-module_bs-lg__Ydmy8 {\n box-shadow: 0 2px 32px rgba(38, 38, 46, 0.1);\n}\n\n.style-module_bs-xl__9OYoN {\n box-shadow: 0 2px 50px rgba(38, 38, 46, 0.18);\n}\n\n.style-module_bannerWrapper__1m3mn {\n padding-top: 124px;\n}\n\n.style-module_buttonWrapper__-dmFc:focus .style-module_wrapper__rVPyi {\n border-color: #696971;\n box-shadow: 0 2px 12px rgba(38, 38, 46, 0.03), 0 0 0 1px #696971;\n}\n\n.style-module_buttonWrapper__-dmFc:focus-visible .style-module_wrapper__rVPyi {\n overflow: hidden;\n border-color: #26262e;\n box-shadow: 0 2px 12px rgba(38, 38, 46, 0.03), 0 0 0 1px #26262e;\n}\n\n.style-module_topIconWrapper__VYKR7 {\n position: absolute;\n width: 80px;\n height: 80px;\n left: 50%;\n transform: translateX(-50%) translateY(-80px);\n}\n.style-module_topIconWrapper--muted__2a4Lq {\n opacity: 0.25;\n}\n\n.style-module_topIconBanner__31-Hc {\n position: absolute;\n top: -123px;\n left: -15px;\n right: -15px;\n height: 124px;\n width: calc(100% + 30px);\n overflow: hidden;\n}\n.style-module_topIconBanner__31-Hc img {\n position: absolute;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n min-width: 100%;\n min-height: 100%;\n}\n\n.style-module_contentWrapper__B1Dn1 {\n gap: 0 !important;\n}\n\n.style-module_floatingLabel__1iIBj {\n position: relative;\n}\n\n.style-module_disabled__1u28- {\n opacity: 0.25;\n cursor: not-allowed;\n}";
17792
- var styles$r = {"bannerWrapper":"style-module_bannerWrapper__1m3mn","buttonWrapper":"style-module_buttonWrapper__-dmFc","wrapper":"style-module_wrapper__rVPyi","topIconWrapper":"style-module_topIconWrapper__VYKR7","topIconBanner":"style-module_topIconBanner__31-Hc","contentWrapper":"style-module_contentWrapper__B1Dn1","floatingLabel":"style-module_floatingLabel__1iIBj","disabled":"style-module_disabled__1u28-"};
17795
+ var css_248z$s = ".style-module_bs-xs__2s8AD {\n box-shadow: 0 2px 12px rgba(38, 38, 46, 0.03);\n}\n\n.style-module_bs-sm__2KgTp {\n box-shadow: 0 2px 20px 0 rgba(38, 38, 46, 0.04);\n}\n\n.style-module_bs-md__3yrN1 {\n box-shadow: 0 2px 28px rgba(38, 38, 46, 0.08);\n}\n\n.style-module_bs-lg__Ydmy8 {\n box-shadow: 0 2px 32px rgba(38, 38, 46, 0.1);\n}\n\n.style-module_bs-xl__9OYoN {\n box-shadow: 0 2px 50px rgba(38, 38, 46, 0.18);\n}\n\n.style-module_bannerWrapper__1m3mn {\n padding-top: 124px;\n}\n\n.style-module_wrapper__rVPyi {\n border-radius: 12px;\n border: 1px solid #e7e7ed;\n}\n\n.style-module_buttonWrapper__-dmFc {\n border-radius: 12px;\n}\n\n.style-module_buttonWrapper__-dmFc:focus .style-module_wrapper__rVPyi {\n border-color: #696971;\n box-shadow: 0 0 0 1px #696971;\n}\n\n.style-module_buttonWrapper__-dmFc:focus-visible .style-module_wrapper__rVPyi {\n overflow: hidden;\n border-color: #26262e;\n box-shadow: 0 0 0 1px #26262e;\n}\n\n.style-module_topIconWrapper__VYKR7 {\n position: absolute;\n width: 80px;\n height: 80px;\n border-radius: 12px;\n left: 50%;\n transform: translateX(-50%) translateY(-80px);\n}\n.style-module_topIconWrapper--muted__2a4Lq {\n opacity: 0.25;\n}\n\n.style-module_topIconImage__3NQMd {\n width: 80px;\n height: 80px;\n border-radius: 12px;\n background-color: #FDF2E2;\n overflow: hidden;\n}\n.style-module_topIconImage__3NQMd img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 12px;\n}\n\n.style-module_topIconBanner__31-Hc {\n position: absolute;\n top: -123px;\n left: -15px;\n right: -15px;\n height: 124px;\n width: calc(100% + 30px);\n overflow: hidden;\n}\n.style-module_topIconBanner__31-Hc img {\n position: absolute;\n border-top-left-radius: 12px;\n border-top-right-radius: 12px;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n min-width: 100%;\n min-height: 100%;\n}\n\n.style-module_title__31OJa {\n margin-top: 20px;\n}\n\n.style-module_contentWrapper__B1Dn1 {\n gap: 0 !important;\n}\n\n.style-module_floatingLabel__1iIBj {\n position: relative;\n}\n\n.style-module_disabled__1u28- {\n opacity: 0.25;\n cursor: not-allowed;\n}";
17796
+ var styles$r = {"bannerWrapper":"style-module_bannerWrapper__1m3mn","wrapper":"style-module_wrapper__rVPyi","buttonWrapper":"style-module_buttonWrapper__-dmFc","topIconWrapper":"style-module_topIconWrapper__VYKR7","topIconImage":"style-module_topIconImage__3NQMd","topIconBanner":"style-module_topIconBanner__31-Hc","title":"style-module_title__31OJa","contentWrapper":"style-module_contentWrapper__B1Dn1","floatingLabel":"style-module_floatingLabel__1iIBj","disabled":"style-module_disabled__1u28-"};
17793
17797
  styleInject(css_248z$s);
17794
17798
 
17795
17799
  var InfoCard = function (_a) {
17796
- var _b, _c, _d;
17797
- _a.className; var _e = _a.showIcon, showIcon = _e === void 0 ? true : _e, title = _a.title, children = _a.children, topIcon = _a.topIcon, topIconType = _a.topIconType, _f = _a.disabled, disabled = _f === void 0 ? false : _f, onClick = _a.onClick, cardProps = __rest$1(_a, ["className", "showIcon", "title", "children", "topIcon", "topIconType", "disabled", "onClick"]);
17800
+ var _b, _c, _d, _e;
17801
+ _a.className; var _f = _a.showIcon, showIcon = _f === void 0 ? true : _f, title = _a.title, children = _a.children, topIcon = _a.topIcon, topIconType = _a.topIconType, _g = _a.disabled, disabled = _g === void 0 ? false : _g, onClick = _a.onClick, cardProps = __rest$1(_a, ["className", "showIcon", "title", "children", "topIcon", "topIconType", "disabled", "onClick"]);
17798
17802
  var isIconType = topIconType === 'icon' || topIconType === 'iconWithBackground';
17799
- return (jsxRuntime.jsx(Card, __assign({}, cardProps, { label: topIcon && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isIconType ? (jsxRuntime.jsx("div", { className: classNames('d-flex ai-center jc-center br-circle p16', styles$r.topIconWrapper, {
17800
- 'bg-orange-200': topIconType === 'iconWithBackground'
17801
- }), children: topIcon })) : (jsxRuntime.jsx("div", { className: classNames('d-flex ai-center jc-center', (_b = {}, _b[styles$r.topIconBanner] = topIconType === 'banner', _b)), children: topIcon })) })), title: title && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [title, showIcon && jsxRuntime.jsx(ArrowRight, { size: 20 })] })), titleVariant: 'medium', description: children, descriptionVariant: 'small', actionIcon: null, showActionIcon: false, classNames: __assign({ buttonWrapper: styles$r.buttonWrapper, wrapper: classNames((_c = {},
17802
- _c[styles$r.wrapper] = true,
17803
- _c[styles$r.disabled] = disabled,
17804
- _c['pt40'] = topIcon && isIconType,
17805
- _c['mt40'] = topIcon && isIconType,
17806
- _c[styles$r.bannerWrapper] = topIcon && topIconType === 'banner',
17807
- _c)), label: classNames((_d = {},
17808
- _d[styles$r.floatingLabel] = topIcon && topIconType !== 'image',
17809
- _d)), title: classNames({ 'mt16': topIcon && topIconType === 'banner' }, 'd-flex ai-center jc-center ta-center my8'), description: 'ta-center', contentWrapper: styles$r.contentWrapper }, (cardProps === null || cardProps === void 0 ? void 0 : cardProps.classNames) || {}), variant: 'default', onClick: disabled ? undefined : onClick, density: 'xsmall' })));
17803
+ var isFloatingType = isIconType;
17804
+ return (jsxRuntime.jsx(Card, __assign({}, cardProps, { label: topIcon && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: isIconType ? (jsxRuntime.jsx("div", { className: classNames('d-flex ai-center jc-center p16 bg-orange-200', styles$r.topIconWrapper), children: topIcon })) : (jsxRuntime.jsx("div", { className: classNames('d-flex ai-center jc-center', (_b = {}, _b[styles$r.topIconBanner] = topIconType === 'banner', _b), (_c = {}, _c[styles$r.topIconImage] = topIconType === 'image', _c)), children: topIcon })) })), title: title && (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [title, showIcon && jsxRuntime.jsx(ArrowRight, { size: 20 })] })), titleVariant: 'medium', description: children, descriptionVariant: 'small', dropShadow: false, actionIcon: null, showActionIcon: false, classNames: __assign({ buttonWrapper: styles$r.buttonWrapper, wrapper: classNames((_d = {},
17805
+ _d[styles$r.wrapper] = true,
17806
+ _d[styles$r.disabled] = disabled,
17807
+ _d['pt40'] = topIcon && isFloatingType,
17808
+ _d['mt40'] = topIcon && isFloatingType,
17809
+ _d[styles$r.bannerWrapper] = topIcon && topIconType === 'banner',
17810
+ _d)), label: classNames('d-flex jc-center', (_e = {},
17811
+ _e[styles$r.floatingLabel] = topIcon && (isFloatingType || topIconType === 'banner'),
17812
+ _e)), title: classNames({ 'mt16': topIcon && topIconType === 'banner' }, 'd-flex ai-center jc-center ta-center mb8', styles$r.title), description: 'ta-center', contentWrapper: styles$r.contentWrapper }, (cardProps === null || cardProps === void 0 ? void 0 : cardProps.classNames) || {}), variant: 'default', onClick: disabled ? undefined : onClick, density: 'xsmall' })));
17810
17813
  };
17811
17814
 
17812
17815
  var css_248z$r = ".style-module_containerDisabled__2j9_N {\n pointer-events: none;\n opacity: 0.25;\n}\n\n.style-module_contentWrapper__EkTN9 {\n gap: 4px !important;\n}";
@@ -22166,7 +22169,7 @@ var Link = function (_a) {
22166
22169
  };
22167
22170
 
22168
22171
  var basePath = 'https://assets.cdn.feather-insurance.com/assets/images';
22169
- var basePathIllustrations = "".concat(basePath, "/illustrations");
22172
+ var basePathIllustrations = "".concat(basePath, "/illustrations/v2");
22170
22173
  var images = {
22171
22174
  aid: "".concat(basePath, "/aid.svg"),
22172
22175
  bed: "".concat(basePath, "/bed.svg"),
@@ -22257,7 +22260,7 @@ var illustrations = {
22257
22260
  mail: "".concat(basePathIllustrations, "/mail.svg"),
22258
22261
  medicine: "".concat(basePathIllustrations, "/medicine.svg"),
22259
22262
  mentalHealth: "".concat(basePathIllustrations, "/mental-health.svg"),
22260
- mentalIllness: "".concat(basePathIllustrations, "/mental-llness.svg"),
22263
+ mentalIllness: "".concat(basePathIllustrations, "/mental-illness.svg"),
22261
22264
  miniJobExpat: "".concat(basePathIllustrations, "/minijob-expat.svg"),
22262
22265
  moneyIncome: "".concat(basePathIllustrations, "/money-income.svg"),
22263
22266
  movingTruck: "".concat(basePathIllustrations, "/moving-truck.svg"),
@@ -23179,6 +23182,7 @@ exports.BoxesAddIcon = BoxesAdd;
23179
23182
  exports.BoxesMultipleFilledIcon = BoxesMultipleFilled;
23180
23183
  exports.BoxesMultipleIcon = BoxesMultiple;
23181
23184
  exports.BriefcaseIcon = Briefcase;
23185
+ exports.BrokenGlassIcon = BrokenGlass;
23182
23186
  exports.Button = Button;
23183
23187
  exports.CalculatorIcon = Calculator;
23184
23188
  exports.CalendarIcon = CalendarIcon;