rbro-tat-uds 1.5.56 → 1.5.58
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.
@@ -4,11 +4,12 @@ export interface DashboardCardProps extends React.HTMLAttributes<HTMLDivElement>
|
|
4
4
|
title?: string;
|
5
5
|
text?: string;
|
6
6
|
salesText?: string;
|
7
|
-
tagType
|
7
|
+
tagType?: "default" | "featured" | "warning" | "success" | "danger" | "info" | undefined;
|
8
8
|
tagVariant?: "light" | "default" | undefined;
|
9
|
-
tagText
|
9
|
+
tagText?: string;
|
10
10
|
callToAction?: "null" | "addConfig" | "oferte";
|
11
11
|
callToActionEvent?: () => void;
|
12
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
12
13
|
variant?: "default" | "inspect";
|
13
14
|
featured?: boolean;
|
14
15
|
disabled?: boolean;
|
package/dist/index.cjs.js
CHANGED
@@ -5121,7 +5121,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[p2]+=1);const F3=e=>o.createE
|
|
5121
5121
|
& > div:first-of-type {
|
5122
5122
|
width: 90px;
|
5123
5123
|
min-width: 90px;
|
5124
|
-
min-height:
|
5124
|
+
min-height: 125px;
|
5125
5125
|
|
5126
5126
|
& > img {
|
5127
5127
|
width: 100%;
|
@@ -5171,7 +5171,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[p2]+=1);const F3=e=>o.createE
|
|
5171
5171
|
flex-direction: column;
|
5172
5172
|
gap: 8px;
|
5173
5173
|
justify-content: space-between;
|
5174
|
-
min-height:
|
5174
|
+
min-height: 125px;
|
5175
5175
|
|
5176
5176
|
& > div {
|
5177
5177
|
flex: 1;
|
@@ -5238,14 +5238,14 @@ See https://s-c.sh/2BAXzed for more info.`),window[p2]+=1);const F3=e=>o.createE
|
|
5238
5238
|
display: flex;
|
5239
5239
|
align-items: center;
|
5240
5240
|
justify-content: center;
|
5241
|
-
min-height:
|
5241
|
+
min-height: 125px;
|
5242
5242
|
width: fit-content;
|
5243
5243
|
}
|
5244
5244
|
`}
|
5245
|
-
`,M9=({imgSrc:e="",title:r="",text:a="",salesText:n="",tagType:l="default",tagText:s="",tagVariant:p="light",callToAction:d="null",callToActionEvent:f=()=>{},variant:x="default",featured:y=!1,disabled:h=!1,loading:m=!1,statusConfiguratii:w=0,..._})=>i.jsxs(k9,{$variant:x,$featured:y,$disabled:h,$loading:m,onClick:L=>{var b;h||m||(b=_.onClick)==null||b.call(_,L)},..._,children:[w>0&&i.jsx("div",{className:"a7b2c9d4e8f5h3",children:i.jsx("span",{children:w})}),m?i.jsx("div",{children:i.jsx(a2,{style:{opacity:.4},speed:2})}):x==="default"?i.jsxs("div",{className:"j8k2m5n9p4q7r3",children:[i.jsx("div",{children:i.jsx("img",{src:e,alt:r})}),i.jsxs("div",{children:[i.jsx("span",{children:r}),(d!=="null"||l!==void 0||s!=="")&&i.jsxs("div",{children:[l!==void 0&&s!==""&&i.jsx(et,{size:"small",variant:p,intent:l,text:s}),i.jsx("div",{className:"xk9m2pq4nt",children:d!=="null"&&i.jsx(x1,{onClick:()=>{h||m||f()},size:"medium",disabled:h,icon:N2[d].icon,intent:N2[d].intent,variant:N2[d].variant})})]})]})]}):i.jsxs("div",{className:"x7k9m4p2n5q8r3",children:[i.jsxs("div",{children:[i.jsx("span",{children:r}),i.jsx("span",{children:a})]}),i.jsx("span",{children:n})]})]}),j9=V.div`
|
5245
|
+
`,M9=({imgSrc:e="",title:r="",text:a="",salesText:n="",tagType:l="default",tagText:s="",tagVariant:p="light",callToAction:d="null",callToActionEvent:f=()=>{},variant:x="default",featured:y=!1,disabled:h=!1,loading:m=!1,statusConfiguratii:w=0,..._})=>i.jsxs(k9,{$variant:x,$featured:y,$disabled:h,$loading:m,onClick:L=>{var b;h||m||(b=_.onClick)==null||b.call(_,L)},..._,children:[w>0&&!m&&i.jsx("div",{className:"a7b2c9d4e8f5h3",children:i.jsx("span",{children:w})}),m?i.jsx("div",{children:i.jsx(a2,{style:{opacity:.4},speed:2})}):x==="default"?i.jsxs("div",{className:"j8k2m5n9p4q7r3",children:[i.jsx("div",{children:i.jsx("img",{src:e,alt:r})}),i.jsxs("div",{children:[i.jsx("span",{children:r}),(d!=="null"||l!==void 0||s!=="")&&i.jsxs("div",{children:[l!==void 0&&s!==""&&i.jsx(et,{size:"small",variant:p,intent:l,text:s}),i.jsx("div",{className:"xk9m2pq4nt",children:d!=="null"&&i.jsx(x1,{onClick:()=>{h||m||f()},size:"medium",disabled:h,icon:N2[d].icon,intent:N2[d].intent,variant:N2[d].variant})})]})]})]}):i.jsxs("div",{className:"x7k9m4p2n5q8r3",children:[i.jsxs("div",{children:[i.jsx("span",{children:r}),i.jsx("span",{children:a})]}),i.jsx("span",{children:n})]})]}),j9=V.div`
|
5246
5246
|
display: flex;
|
5247
5247
|
flex-direction: column;
|
5248
|
-
gap:
|
5248
|
+
gap: 8px;
|
5249
5249
|
|
5250
5250
|
& > div:first-of-type {
|
5251
5251
|
display: flex;
|