@zenpatient-org/healthspan-marketing-ui 0.1.120 → 0.1.121

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.
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),r=require("./filterError.module.css.cjs.js"),c=require("../Icon/Icon.cjs.js"),n=require("../Icon/constants.cjs.js"),a=require("../Typography/Typography.cjs.js"),s=require("../Button/Button.cjs.js"),i=({text:o,onClearAllFilters:t})=>e.jsxs("div",{className:r.default.root,children:[e.jsx(c.Icon,{name:n.EIconName.ALERT_ERROR_FILL}),e.jsx(a.Typography,{defaultVariant:"headingLg",mobileVariant:"headingMd",className:r.default.text,children:o}),e.jsx("div",{className:r.default.buttonWrapper,children:e.jsx(s.Button,{onClick:t,variant:"muted",size:"md",prefixIcon:n.EIconName.SEARCH,children:"clear search"})})]});exports.FilterError=i;
@@ -0,0 +1,5 @@
1
+ export type TFilterError = {
2
+ text: string;
3
+ onClearAllFilters: () => void;
4
+ };
5
+ export declare const FilterError: ({ text, onClearAllFilters }: TFilterError) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
+ import o from "./filterError.module.css.es.js";
3
+ import { Icon as m } from "../Icon/Icon.es.js";
4
+ import { EIconName as e } from "../Icon/constants.es.js";
5
+ import { Typography as n } from "../Typography/Typography.es.js";
6
+ import { Button as c } from "../Button/Button.es.js";
7
+ const u = ({ text: t, onClearAllFilters: i }) => /* @__PURE__ */ a("div", { className: o.root, children: [
8
+ /* @__PURE__ */ r(m, { name: e.ALERT_ERROR_FILL }),
9
+ /* @__PURE__ */ r(n, { defaultVariant: "headingLg", mobileVariant: "headingMd", className: o.text, children: t }),
10
+ /* @__PURE__ */ r("div", { className: o.buttonWrapper, children: /* @__PURE__ */ r(c, { onClick: i, variant: "muted", size: "md", prefixIcon: e.SEARCH, children: "clear search" }) })
11
+ ] });
12
+ export {
13
+ u as FilterError
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="filterError-module__root___4-rUA",r="filterError-module__text___rlySt",e="filterError-module__buttonWrapper___-ZjUz",o={root:t,text:r,buttonWrapper:e};exports.buttonWrapper=e;exports.default=o;exports.root=t;exports.text=r;
@@ -0,0 +1,11 @@
1
+ const t = "filterError-module__root___4-rUA", r = "filterError-module__text___rlySt", o = "filterError-module__buttonWrapper___-ZjUz", e = {
2
+ root: t,
3
+ text: r,
4
+ buttonWrapper: o
5
+ };
6
+ export {
7
+ o as buttonWrapper,
8
+ e as default,
9
+ t as root,
10
+ r as text
11
+ };
@@ -0,0 +1,2 @@
1
+ export { FilterError } from './FilterError';
2
+ export type { TFilterError } from './FilterError';