@anoki/fse-ui 1.0.0-beta1.48.51 → 1.0.0-beta1.48.52
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/index.cjs248.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs456.js +27 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -2
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -27
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +2 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +2 -0
- package/dist/index.cjs471.js.map +1 -0
- package/dist/index.cjs472.js +2 -0
- package/dist/index.cjs472.js.map +1 -0
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs494.js +1 -1
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs496.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs498.js.map +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +2 -0
- package/dist/index.cjs504.js.map +1 -0
- package/dist/index.cjs505.js +2 -0
- package/dist/index.cjs505.js.map +1 -0
- package/dist/index.cjs506.js +4 -1
- package/dist/index.cjs506.js.map +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -4
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +38 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/{index.cjs521.js → index.cjs514.js} +1 -1
- package/dist/{index.cjs521.js.map → index.cjs514.js.map} +1 -1
- package/dist/{index.cjs522.js → index.cjs515.js} +1 -1
- package/dist/{index.cjs522.js.map → index.cjs515.js.map} +1 -1
- package/dist/{index.cjs523.js → index.cjs516.js} +1 -1
- package/dist/{index.cjs523.js.map → index.cjs516.js.map} +1 -1
- package/dist/{index.cjs535.js → index.cjs525.js} +1 -1
- package/dist/{index.cjs535.js.map → index.cjs525.js.map} +1 -1
- package/dist/{index.cjs536.js → index.cjs526.js} +1 -1
- package/dist/{index.cjs536.js.map → index.cjs526.js.map} +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs552.js +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/{index.cjs584.js → index.cjs580.js} +2 -2
- package/dist/{index.cjs584.js.map → index.cjs580.js.map} +1 -1
- package/dist/{index.cjs585.js → index.cjs581.js} +1 -1
- package/dist/index.cjs581.js.map +1 -0
- package/dist/{index.cjs587.js → index.cjs582.js} +1 -1
- package/dist/{index.cjs587.js.map → index.cjs582.js.map} +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs96.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es248.js +1 -1
- package/dist/index.es255.js +2 -2
- package/dist/index.es292.js +7 -7
- package/dist/index.es297.js +1 -1
- package/dist/index.es305.js +8 -8
- package/dist/index.es316.js +1 -1
- package/dist/index.es323.js +14 -14
- package/dist/index.es330.js +1 -1
- package/dist/index.es335.js +1 -1
- package/dist/index.es346.js +1 -1
- package/dist/index.es354.js +7 -7
- package/dist/index.es395.js +4 -4
- package/dist/index.es401.js +1 -1
- package/dist/index.es435.js +1 -1
- package/dist/index.es456.js +3674 -5
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +5 -520
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +2 -3675
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +5 -5
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +521 -2
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es470.js +7 -15
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +30 -0
- package/dist/index.es471.js.map +1 -0
- package/dist/index.es472.js +71 -0
- package/dist/index.es472.js.map +1 -0
- package/dist/index.es473.js +51 -6
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +33 -26
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +617 -63
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +10 -51
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +4 -34
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +54 -619
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +45 -10
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +13 -3
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +120 -52
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +14 -45
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +134 -13
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +206 -113
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +13 -14
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +60 -126
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +166 -203
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +10 -13
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +47 -66
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +9 -181
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +15 -11
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es494.js +11 -5
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es495.js +204 -24
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js +22 -12
- package/dist/index.es496.js.map +1 -1
- package/dist/index.es497.js +24 -204
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +396 -21
- package/dist/index.es498.js.map +1 -1
- package/dist/index.es499.js +5 -396
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es501.js +3 -3
- package/dist/index.es502.js +3 -3
- package/dist/index.es503.js +5 -15
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +6 -0
- package/dist/index.es504.js.map +1 -0
- package/dist/index.es505.js +27 -0
- package/dist/index.es505.js.map +1 -0
- package/dist/index.es506.js +110 -5
- package/dist/index.es506.js.map +1 -1
- package/dist/index.es507.js +16 -3
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +524 -21
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +126 -109
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +128 -15
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +13 -525
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +62 -124
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +67 -127
- package/dist/index.es513.js.map +1 -1
- package/dist/{index.es521.js → index.es514.js} +1 -1
- package/dist/{index.es521.js.map → index.es514.js.map} +1 -1
- package/dist/{index.es522.js → index.es515.js} +1 -1
- package/dist/{index.es522.js.map → index.es515.js.map} +1 -1
- package/dist/{index.es523.js → index.es516.js} +1 -1
- package/dist/{index.es523.js.map → index.es516.js.map} +1 -1
- package/dist/{index.es535.js → index.es525.js} +1 -1
- package/dist/{index.es535.js.map → index.es525.js.map} +1 -1
- package/dist/{index.es536.js → index.es526.js} +1 -1
- package/dist/{index.es536.js.map → index.es526.js.map} +1 -1
- package/dist/index.es541.js +1 -1
- package/dist/index.es542.js +3 -3
- package/dist/index.es547.js +1 -1
- package/dist/index.es551.js +2 -2
- package/dist/index.es552.js +15 -15
- package/dist/index.es559.js +9 -9
- package/dist/index.es564.js +8 -8
- package/dist/index.es566.js +1 -1
- package/dist/index.es573.js +16 -6
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +6 -16
- package/dist/index.es574.js.map +1 -1
- package/dist/{index.es584.js → index.es580.js} +3 -3
- package/dist/{index.es584.js.map → index.es580.js.map} +1 -1
- package/dist/{index.es585.js → index.es581.js} +1 -1
- package/dist/index.es581.js.map +1 -0
- package/dist/{index.es587.js → index.es582.js} +1 -1
- package/dist/{index.es587.js.map → index.es582.js.map} +1 -1
- package/dist/index.es596.js +1 -1
- package/dist/index.es96.js +21 -20
- package/dist/index.es96.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs492.js +0 -2
- package/dist/index.cjs492.js.map +0 -1
- package/dist/index.cjs493.js +0 -2
- package/dist/index.cjs493.js.map +0 -1
- package/dist/index.cjs520.js +0 -39
- package/dist/index.cjs520.js.map +0 -1
- package/dist/index.cjs524.js +0 -2
- package/dist/index.cjs524.js.map +0 -1
- package/dist/index.cjs585.js.map +0 -1
- package/dist/index.es492.js +0 -53
- package/dist/index.es492.js.map +0 -1
- package/dist/index.es493.js +0 -12
- package/dist/index.es493.js.map +0 -1
- package/dist/index.es520.js +0 -72
- package/dist/index.es520.js.map +0 -1
- package/dist/index.es524.js +0 -68
- package/dist/index.es524.js.map +0 -1
- package/dist/index.es585.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
|
-
//# sourceMappingURL=index.
|
|
2
|
+
//# sourceMappingURL=index.cjs581.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs581.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function n(t,[e,a]){return Math.min(a,Math.max(e,t))}exports.clamp=n;
|
|
2
|
-
//# sourceMappingURL=index.
|
|
2
|
+
//# sourceMappingURL=index.cjs582.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.
|
|
1
|
+
{"version":3,"file":"index.cjs582.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"gFACA,SAASA,EAAMC,EAAO,CAACC,EAAKC,CAAG,EAAG,CAChC,OAAO,KAAK,IAAIA,EAAK,KAAK,IAAID,EAAKD,CAAK,CAAC,CAC3C","x_google_ignoreList":[0]}
|
package/dist/index.cjs596.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.cjs457.js");var h,E;function V(){if(E)return h;E=1;var L="Expected a function",O=NaN,G="[object Symbol]",M=/^\s+|\s+$/g,q=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,N=/^0o[0-7]+$/i,R=parseInt,W=typeof g.commonjsGlobal=="object"&&g.commonjsGlobal&&g.commonjsGlobal.Object===Object&&g.commonjsGlobal,$=typeof self=="object"&&self&&self.Object===Object&&self,A=W||$||Function("return this")(),B=Object.prototype,F=B.toString,P=Math.max,H=Math.min,y=function(){return A.Date.now()};function D(e,r,i){var a,u,l,c,t,f,s=0,S=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(L);r=I(r)||0,j(i)&&(S=!!i.leading,d="maxWait"in i,l=d?P(I(i.maxWait)||0,r):l,p="trailing"in i?!!i.trailing:p);function v(n){var o=a,m=u;return a=u=void 0,s=n,c=e.apply(m,o),c}function z(n){return s=n,t=setTimeout(b,r),S?v(n):c}function J(n){var o=n-f,m=n-s,k=r-o;return d?H(k,l-m):k}function x(n){var o=n-f,m=n-s;return f===void 0||o>=r||o<0||d&&m>=l}function b(){var n=y();if(x(n))return _(n);t=setTimeout(b,J(n))}function _(n){return t=void 0,p&&a?v(n):(a=u=void 0,c)}function K(){t!==void 0&&clearTimeout(t),s=0,a=f=u=t=void 0}function Q(){return t===void 0?c:_(y())}function T(){var n=y(),o=x(n);if(a=arguments,u=this,f=n,o){if(t===void 0)return z(f);if(d)return t=setTimeout(b,r),v(f)}return t===void 0&&(t=setTimeout(b,r)),c}return T.cancel=K,T.flush=Q,T}function j(e){var r=typeof e;return!!e&&(r=="object"||r=="function")}function U(e){return!!e&&typeof e=="object"}function X(e){return typeof e=="symbol"||U(e)&&F.call(e)==G}function I(e){if(typeof e=="number")return e;if(X(e))return O;if(j(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=j(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=e.replace(M,"");var i=C.test(e);return i||N.test(e)?R(e.slice(2),i?2:8):q.test(e)?O:+e}return h=D,h}exports.__require=V;
|
|
2
2
|
//# sourceMappingURL=index.cjs596.js.map
|
package/dist/index.cjs96.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ActionBanner/ActionBanner.css');const e=require("./index.cjs244.js");;/* empty css */const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ActionBanner/ActionBanner.css');const e=require("./index.cjs244.js");;/* empty css */const p=require("./index.cjs42.js"),l=require("./index.cjs28.js"),o=require("./index.cjs193.js"),i=require("./index.cjs124.js"),a=require("./index.cjs99.js"),x=require("./index.cjs159.js");var u=(t=>(t.DEFAULT="default",t.OUTLINE="outline",t.SIMPLE="simple",t))(u||{});const d=({title:t,description:E,variant:j="default",withIcon:m=!1,link:r,firstAction:n,secondAction:s})=>e.jsxRuntimeExports.jsxs("div",{className:`action-banner action-banner-${j}`,children:[e.jsxRuntimeExports.jsx("div",{className:"banner-head",children:e.jsxRuntimeExports.jsx("div",{className:"banner-title",children:t})}),e.jsxRuntimeExports.jsxs("div",{className:"banner-body",children:[m&&e.jsxRuntimeExports.jsx("div",{className:"banner-icon",children:e.jsxRuntimeExports.jsx(o.Shape,{})}),e.jsxRuntimeExports.jsx("span",{className:"banner-description",children:E})]}),e.jsxRuntimeExports.jsxs("div",{className:"banner-actions",children:[r&&(r==null?void 0:r.title)&&(r.linkType===i.LinkTypeEnum.EXTERNAL?e.jsxRuntimeExports.jsx(a.Link,{title:r.title,src:r.link,icon:x.ExternalLink,external:!0}):e.jsxRuntimeExports.jsx(p.ArrowLink,{asLink:"a",children:r.title,href:r.link,isExternal:!1})),n&&(n==null?void 0:n.title)&&(n.linkType===i.LinkTypeEnum.EXTERNAL?e.jsxRuntimeExports.jsx(a.Link,{title:n.title,src:n.link,icon:x.ExternalLink,decoration:"ui-footer-logo-link",transform:"none",external:!0}):e.jsxRuntimeExports.jsx(l.Button,{variant:"secondary",className:"left-button",asLink:"a",href:n.link,isExternal:!1,children:n.title})),s&&(s==null?void 0:s.title)&&(s.linkType===i.LinkTypeEnum.EXTERNAL?e.jsxRuntimeExports.jsx(a.Link,{title:s.title,src:s.link,icon:x.ExternalLink,transform:"none",external:!0}):e.jsxRuntimeExports.jsx(l.Button,{asLink:"a",href:s.link,border:"primary",isExternal:!1,children:s.title}))]})]});exports.ActionBanner=d;exports.ActionBannerVariantEnum=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs96.js.map
|
package/dist/index.cjs96.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs96.js","sources":["../src/components/ui/ActionBanner/index.tsx"],"sourcesContent":["import React from \"react\";\nimport \"./ActionBanner.scss\";\nimport { ExternalLink, Shape } from \"@/icons\";\nimport { GetValues, Link } from \"@anoki/fse-common/dist\";\nimport { ArrowLink } from \"../ArrowLink\";\nimport { Button } from \"../Button\";\nimport { Link as LinkComponent, LinkTypeEnum } from \"@/components\";\n\nexport enum ActionBannerVariantEnum {\n DEFAULT = \"default\",\n OUTLINE = \"outline\",\n SIMPLE = \"simple\",\n}\n\nexport type ActionBannerVariantTypes = GetValues<\n typeof ActionBannerVariantEnum\n>;\n\ntype WithLinkType<T> = Link & { linkType: T };\n\ninterface ActionBannerProps {\n title: string;\n description: string;\n variant?: ActionBannerVariantTypes;\n link?: WithLinkType<LinkTypeEnum>;\n withIcon?: boolean;\n firstAction?: WithLinkType<LinkTypeEnum>;\n secondAction?: WithLinkType<LinkTypeEnum>;\n}\n\nexport const ActionBanner: React.FC<ActionBannerProps> = ({\n title,\n description,\n variant = \"default\",\n withIcon = false,\n link,\n firstAction,\n secondAction,\n}) => {\n return (\n <div className={`action-banner action-banner-${variant}`}>\n <div className=\"banner-head\">\n <div className=\"banner-title\">{title}</div>\n </div>\n <div className=\"banner-body\">\n {withIcon && (\n <div className=\"banner-icon\">\n <Shape />\n </div>\n )}\n <span className=\"banner-description\">{description}</span>\n </div>\n <div className=\"banner-actions\">\n {link &&\n link?.title &&\n (link.
|
|
1
|
+
{"version":3,"file":"index.cjs96.js","sources":["../src/components/ui/ActionBanner/index.tsx"],"sourcesContent":["import React from \"react\";\nimport \"./ActionBanner.scss\";\nimport { ExternalLink, Shape } from \"@/icons\";\nimport { GetValues, Link } from \"@anoki/fse-common/dist\";\nimport { ArrowLink } from \"../ArrowLink\";\nimport { Button } from \"../Button\";\nimport { Link as LinkComponent, LinkTypeEnum } from \"@/components\";\n\nexport enum ActionBannerVariantEnum {\n DEFAULT = \"default\",\n OUTLINE = \"outline\",\n SIMPLE = \"simple\",\n}\n\nexport type ActionBannerVariantTypes = GetValues<\n typeof ActionBannerVariantEnum\n>;\n\ntype WithLinkType<T> = Omit<Link, \"isExternal\"> & { linkType: T };\n\ninterface ActionBannerProps {\n title: string;\n description: string;\n variant?: ActionBannerVariantTypes;\n link?: WithLinkType<LinkTypeEnum>;\n withIcon?: boolean;\n firstAction?: WithLinkType<LinkTypeEnum>;\n secondAction?: WithLinkType<LinkTypeEnum>;\n}\n\nexport const ActionBanner: React.FC<ActionBannerProps> = ({\n title,\n description,\n variant = \"default\",\n withIcon = false,\n link,\n firstAction,\n secondAction,\n}) => {\n return (\n <div className={`action-banner action-banner-${variant}`}>\n <div className=\"banner-head\">\n <div className=\"banner-title\">{title}</div>\n </div>\n <div className=\"banner-body\">\n {withIcon && (\n <div className=\"banner-icon\">\n <Shape />\n </div>\n )}\n <span className=\"banner-description\">{description}</span>\n </div>\n <div className=\"banner-actions\">\n {link &&\n link?.title &&\n (link.linkType === LinkTypeEnum.EXTERNAL ? (\n <LinkComponent\n title={link.title}\n src={link.link}\n icon={ExternalLink}\n external={true}\n />\n ) : (\n <ArrowLink\n asLink=\"a\"\n children={link.title}\n href={link.link}\n isExternal={false}\n />\n ))}\n {firstAction &&\n firstAction?.title &&\n (firstAction.linkType === LinkTypeEnum.EXTERNAL ? (\n <LinkComponent\n title={firstAction.title}\n src={firstAction.link}\n icon={ExternalLink}\n decoration=\"ui-footer-logo-link\"\n transform=\"none\"\n external={true}\n />\n ) : (\n <Button\n variant=\"secondary\"\n className=\"left-button\"\n asLink=\"a\"\n href={firstAction.link}\n isExternal={false}\n >\n {firstAction.title}\n </Button>\n ))}\n {secondAction &&\n secondAction?.title &&\n (secondAction.linkType === LinkTypeEnum.EXTERNAL ? (\n <LinkComponent\n title={secondAction.title}\n src={secondAction.link}\n icon={ExternalLink}\n transform=\"none\"\n external={true}\n />\n ) : (\n <Button\n asLink=\"a\"\n href={secondAction.link}\n border=\"primary\"\n isExternal={false}\n >\n {secondAction.title}\n </Button>\n ))}\n </div>\n </div>\n );\n};\n"],"names":["ActionBannerVariantEnum","ActionBanner","title","description","variant","withIcon","link","firstAction","secondAction","jsxs","jsx","Shape","LinkTypeEnum","LinkComponent","ExternalLink","ArrowLink","Button"],"mappings":"+UAQY,IAAAA,GAAAA,IACVA,EAAA,QAAU,UACVA,EAAA,QAAU,UACVA,EAAA,OAAS,SAHCA,IAAAA,GAAA,CAAA,CAAA,EAsBL,MAAMC,EAA4C,CAAC,CACxD,MAAAC,EACA,YAAAC,EACA,QAAAC,EAAU,UACV,SAAAC,EAAW,GACX,KAAAC,EACA,YAAAC,EACA,aAAAC,CACF,IAEKC,EAAA,kBAAA,KAAA,MAAA,CAAI,UAAW,+BAA+BL,CAAO,GACpD,SAAA,CAACM,EAAAA,kBAAAA,IAAA,MAAA,CAAI,UAAU,cACb,SAAAA,EAAA,kBAAA,IAAC,OAAI,UAAU,eAAgB,WAAM,CACvC,CAAA,EACAD,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAU,cACZ,SAAA,CAAAJ,2BACE,MAAI,CAAA,UAAU,cACb,SAAAK,wBAACC,EAAAA,OAAM,CAAA,EACT,EAEDD,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,qBAAsB,SAAYP,CAAA,CAAA,CAAA,EACpD,EACAM,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAU,iBACZ,SAAA,CAAAH,IACCA,GAAA,YAAAA,EAAM,SACLA,EAAK,WAAaM,EAAAA,aAAa,SAC9BF,EAAA,kBAAA,IAACG,EAAA,KAAA,CACC,MAAOP,EAAK,MACZ,IAAKA,EAAK,KACV,KAAMQ,EAAA,aACN,SAAU,EAAA,CAAA,EAGZJ,EAAA,kBAAA,IAACK,EAAA,UAAA,CACC,OAAO,IACP,SAAUT,EAAK,MACf,KAAMA,EAAK,KACX,WAAY,EAAA,CAAA,GAGjBC,IACCA,GAAA,YAAAA,EAAa,SACZA,EAAY,WAAaK,EAAAA,aAAa,SACrCF,EAAA,kBAAA,IAACG,EAAA,KAAA,CACC,MAAON,EAAY,MACnB,IAAKA,EAAY,KACjB,KAAMO,EAAA,aACN,WAAW,sBACX,UAAU,OACV,SAAU,EAAA,CAAA,EAGZJ,EAAA,kBAAA,IAACM,EAAA,OAAA,CACC,QAAQ,YACR,UAAU,cACV,OAAO,IACP,KAAMT,EAAY,KAClB,WAAY,GAEX,SAAYA,EAAA,KAAA,CAAA,GAGlBC,IACCA,GAAA,YAAAA,EAAc,SACbA,EAAa,WAAaI,EAAAA,aAAa,SACtCF,EAAA,kBAAA,IAACG,EAAA,KAAA,CACC,MAAOL,EAAa,MACpB,IAAKA,EAAa,KAClB,KAAMM,EAAA,aACN,UAAU,OACV,SAAU,EAAA,CAAA,EAGZJ,EAAA,kBAAA,IAACM,EAAA,OAAA,CACC,OAAO,IACP,KAAMR,EAAa,KACnB,OAAO,UACP,WAAY,GAEX,SAAaA,EAAA,KAAA,CAChB,EAAA,CAEN,CAAA,CAAA,EACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -2759,7 +2759,7 @@ declare type WhatDoYouNeedProps = PropsWithChildren<{
|
|
|
2759
2759
|
|
|
2760
2760
|
export declare const Whatsapp: ({ className, height, width, decorative, ariaLabel, }: IconProps) => JSX.Element;
|
|
2761
2761
|
|
|
2762
|
-
declare type WithLinkType<T> = Link_2 & {
|
|
2762
|
+
declare type WithLinkType<T> = Omit<Link_2, "isExternal"> & {
|
|
2763
2763
|
linkType: T;
|
|
2764
2764
|
};
|
|
2765
2765
|
|
package/dist/index.es248.js
CHANGED
package/dist/index.es255.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as r } from "./index.
|
|
2
|
-
import { __require as o } from "./index.
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./index.es457.js";
|
|
2
|
+
import { __require as o } from "./index.es459.js";
|
|
3
3
|
var e = o();
|
|
4
4
|
const a = /* @__PURE__ */ r(e);
|
|
5
5
|
export {
|
package/dist/index.es292.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as p from "react";
|
|
2
|
-
import { composeEventHandlers as m } from "./index.
|
|
3
|
-
import { composeRefs as E } from "./index.
|
|
4
|
-
import { createContextScope as S } from "./index.
|
|
5
|
-
import { useControllableState as P } from "./index.
|
|
6
|
-
import { Primitive as y } from "./index.
|
|
7
|
-
import { createMenuScope as D, Root as O, Anchor as T, Portal as j, Content as G, Group as k, Item as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as X, SubContent as q } from "./index.
|
|
8
|
-
import { useId as g } from "./index.
|
|
2
|
+
import { composeEventHandlers as m } from "./index.es470.js";
|
|
3
|
+
import { composeRefs as E } from "./index.es471.js";
|
|
4
|
+
import { createContextScope as S } from "./index.es472.js";
|
|
5
|
+
import { useControllableState as P } from "./index.es473.js";
|
|
6
|
+
import { Primitive as y } from "./index.es474.js";
|
|
7
|
+
import { createMenuScope as D, Root as O, Anchor as T, Portal as j, Content as G, Group as k, Item as L, Label as K, CheckboxItem as U, RadioGroup as B, RadioItem as F, ItemIndicator as H, Separator as W, Arrow as $, SubTrigger as X, SubContent as q } from "./index.es475.js";
|
|
8
|
+
import { useId as g } from "./index.es476.js";
|
|
9
9
|
import { j as a } from "./index.es244.js";
|
|
10
10
|
var f = "DropdownMenu", [z, bo] = S(
|
|
11
11
|
f,
|
package/dist/index.es297.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Button as m } from "./index.es28.js";
|
|
|
3
3
|
import { HeaderTopBanner as y } from "./index.es21.js";
|
|
4
4
|
import { useState as g, useRef as w, useCallback as C, useEffect as u } from "react";
|
|
5
5
|
import { clsx as r } from "./index.es246.js";
|
|
6
|
-
import { useFocusTrap as N } from "./index.
|
|
6
|
+
import { useFocusTrap as N } from "./index.es491.js";
|
|
7
7
|
import { Container as k } from "./index.es6.js";
|
|
8
8
|
import './components/navigations/HeaderMobile/HeaderMobile.css';/* empty css */
|
|
9
9
|
import { Col as L } from "./index.es10.js";
|
package/dist/index.es305.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as c from "react";
|
|
2
|
-
import { useComposedRefs as j } from "./index.
|
|
3
|
-
import { createContextScope as F } from "./index.
|
|
4
|
-
import { composeEventHandlers as S } from "./index.
|
|
5
|
-
import { useControllableState as L } from "./index.
|
|
6
|
-
import { usePrevious as O } from "./index.
|
|
7
|
-
import { useSize as H } from "./index.
|
|
8
|
-
import { Presence as z } from "./index.
|
|
9
|
-
import { Primitive as E } from "./index.
|
|
2
|
+
import { useComposedRefs as j } from "./index.es471.js";
|
|
3
|
+
import { createContextScope as F } from "./index.es472.js";
|
|
4
|
+
import { composeEventHandlers as S } from "./index.es470.js";
|
|
5
|
+
import { useControllableState as L } from "./index.es473.js";
|
|
6
|
+
import { usePrevious as O } from "./index.es499.js";
|
|
7
|
+
import { useSize as H } from "./index.es497.js";
|
|
8
|
+
import { Presence as z } from "./index.es486.js";
|
|
9
|
+
import { Primitive as E } from "./index.es474.js";
|
|
10
10
|
import { j as u } from "./index.es244.js";
|
|
11
11
|
var R = "Checkbox", [G, ne] = F(R), [K, P] = G(R);
|
|
12
12
|
function U(t) {
|
package/dist/index.es316.js
CHANGED
package/dist/index.es323.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as s from "react";
|
|
2
|
-
import { composeEventHandlers as p } from "./index.
|
|
3
|
-
import { useComposedRefs as R } from "./index.
|
|
4
|
-
import { createContextScope as B, createContext as H } from "./index.
|
|
5
|
-
import { useId as C } from "./index.
|
|
6
|
-
import { useControllableState as V } from "./index.
|
|
7
|
-
import { DismissableLayer as q } from "./index.
|
|
8
|
-
import { FocusScope as K } from "./index.
|
|
9
|
-
import { Portal as U } from "./index.
|
|
10
|
-
import { Presence as _ } from "./index.
|
|
11
|
-
import { Primitive as m } from "./index.
|
|
12
|
-
import { useFocusGuards as Y } from "./index.
|
|
13
|
-
import Z from "./index.
|
|
14
|
-
import { hideOthers as z } from "./index.
|
|
15
|
-
import { createSlot as J } from "./index.
|
|
2
|
+
import { composeEventHandlers as p } from "./index.es470.js";
|
|
3
|
+
import { useComposedRefs as R } from "./index.es471.js";
|
|
4
|
+
import { createContextScope as B, createContext as H } from "./index.es472.js";
|
|
5
|
+
import { useId as C } from "./index.es476.js";
|
|
6
|
+
import { useControllableState as V } from "./index.es473.js";
|
|
7
|
+
import { DismissableLayer as q } from "./index.es481.js";
|
|
8
|
+
import { FocusScope as K } from "./index.es483.js";
|
|
9
|
+
import { Portal as U } from "./index.es485.js";
|
|
10
|
+
import { Presence as _ } from "./index.es486.js";
|
|
11
|
+
import { Primitive as m } from "./index.es474.js";
|
|
12
|
+
import { useFocusGuards as Y } from "./index.es482.js";
|
|
13
|
+
import Z from "./index.es490.js";
|
|
14
|
+
import { hideOthers as z } from "./index.es489.js";
|
|
15
|
+
import { createSlot as J } from "./index.es478.js";
|
|
16
16
|
import { j as i } from "./index.es244.js";
|
|
17
17
|
var v = "Dialog", [N, he] = B(v), [Q, u] = N(v), P = (e) => {
|
|
18
18
|
const {
|
package/dist/index.es330.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es244.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
|
4
4
|
export {
|
|
5
5
|
s as ConsentModalFooter
|
package/dist/index.es335.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es244.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({ children: o }) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
|
4
4
|
export {
|
|
5
5
|
s as DoctorModalFooter
|
package/dist/index.es346.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es244.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({
|
|
4
4
|
children: o
|
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|
package/dist/index.es354.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
|
-
import { composeEventHandlers as N } from "./index.
|
|
3
|
-
import { useComposedRefs as x } from "./index.
|
|
4
|
-
import { createContextScope as T } from "./index.
|
|
5
|
-
import { useControllableState as I } from "./index.
|
|
6
|
-
import { usePrevious as M } from "./index.
|
|
7
|
-
import { useSize as H } from "./index.
|
|
8
|
-
import { Primitive as P } from "./index.
|
|
2
|
+
import { composeEventHandlers as N } from "./index.es470.js";
|
|
3
|
+
import { useComposedRefs as x } from "./index.es471.js";
|
|
4
|
+
import { createContextScope as T } from "./index.es472.js";
|
|
5
|
+
import { useControllableState as I } from "./index.es473.js";
|
|
6
|
+
import { usePrevious as M } from "./index.es499.js";
|
|
7
|
+
import { useSize as H } from "./index.es497.js";
|
|
8
|
+
import { Primitive as P } from "./index.es474.js";
|
|
9
9
|
import { j as u } from "./index.es244.js";
|
|
10
10
|
var h = "Switch", [A, K] = T(h), [U, q] = A(h), R = r.forwardRef(
|
|
11
11
|
(t, a) => {
|
package/dist/index.es395.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { createContextScope as T } from "./index.
|
|
3
|
-
import { useComposedRefs as A } from "./index.
|
|
2
|
+
import { createContextScope as T } from "./index.es472.js";
|
|
3
|
+
import { useComposedRefs as A } from "./index.es471.js";
|
|
4
4
|
import { createDialogScope as v, Root as O, Portal as j, Overlay as b, WarningProvider as w, Content as M, Title as I, Description as L, Close as f, Trigger as $ } from "./index.es323.js";
|
|
5
|
-
import { composeEventHandlers as F } from "./index.
|
|
6
|
-
import { createSlottable as G } from "./index.
|
|
5
|
+
import { composeEventHandlers as F } from "./index.es470.js";
|
|
6
|
+
import { createSlottable as G } from "./index.es478.js";
|
|
7
7
|
import { j as i } from "./index.es244.js";
|
|
8
8
|
var D = "AlertDialog", [W, te] = T(D, [
|
|
9
9
|
v
|
package/dist/index.es401.js
CHANGED
package/dist/index.es435.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as t } from "./index.es244.js";
|
|
2
|
-
import './components/ui/
|
|
2
|
+
import './components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css';/* empty css */
|
|
3
3
|
const s = ({
|
|
4
4
|
children: o
|
|
5
5
|
}) => /* @__PURE__ */ t.jsx("footer", { className: "ui-consent-modal-footer bg-white shadow", children: o });
|