@lanaco/lnc-react-ui 4.0.214 → 4.0.215
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.
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
|
|
106
106
|
& .text__action {
|
|
107
107
|
background-color: var(--white, #fff);
|
|
108
|
-
color: var(--
|
|
108
|
+
color: var(--neutral-600, #0f2a46);
|
|
109
109
|
border: 1px solid var(--gray-200, #e4e9f0);
|
|
110
110
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
111
111
|
0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
max-height: 14.5rem;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`,k=p.forwardRef(({title:r,imageUrl:t,description:i,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:s,backgroundColor:h,borderColor:u,buttonLink:x,LinkComponent:f},w)=>{const _=f||"a",b=y.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(v,{ref:w,theme:b,className:m,position:g,backgroundColor:h,onClick:c,as:_,borderColor:u,...f?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image",loading:"lazy"}),e.jsxs("div",{className:"wrapper__text",children:[s&&e.jsx("div",{className:"text__tag",children:s}),e.jsx("div",{className:"text__title",children:r}),o.isDefinedNotEmptyString(i)&&e.jsx("div",{className:"text__description",children:i}),o.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action"})]})]})})}),S=l.styled.div`
|
|
145
|
+
`,k=p.forwardRef(({title:r,imageUrl:t,description:i,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:s,backgroundColor:h,borderColor:u,buttonLink:x,LinkComponent:f},w)=>{const _=f||"a",b=y.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(v,{ref:w,theme:b,className:m,position:g,backgroundColor:h,onClick:c,as:_,borderColor:u,...f?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image",loading:"lazy"}),e.jsxs("div",{className:"wrapper__text",children:[s&&e.jsx("div",{className:"text__tag",children:s}),e.jsx("div",{className:"text__title",children:r}),o.isDefinedNotEmptyString(i)&&e.jsx("div",{className:"text__description",children:i}),o.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action",color:"gray"})]})]})})}),S=l.styled.div`
|
|
146
146
|
display: flex;
|
|
147
147
|
flex-direction: column;
|
|
148
148
|
gap: 1.5rem;
|
|
@@ -125,7 +125,7 @@ const j = d.a`
|
|
|
125
125
|
|
|
126
126
|
& .text__action {
|
|
127
127
|
background-color: var(--white, #fff);
|
|
128
|
-
color: var(--
|
|
128
|
+
color: var(--neutral-600, #0f2a46);
|
|
129
129
|
border: 1px solid var(--gray-200, #e4e9f0);
|
|
130
130
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
131
131
|
0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
|
@@ -205,7 +205,8 @@ const j = d.a`
|
|
|
205
205
|
G,
|
|
206
206
|
{
|
|
207
207
|
text: i,
|
|
208
|
-
className: "text__action"
|
|
208
|
+
className: "text__action",
|
|
209
|
+
color: "gray"
|
|
209
210
|
}
|
|
210
211
|
)
|
|
211
212
|
] })
|