@rolster/react-components 1.5.4 → 1.5.6
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/cjs/assets/{lib.cjs-c7838c89.css → lib.cjs-1621a5fc.css} +15 -11
- package/dist/cjs/lib.cjs.js +2 -2
- package/dist/cjs/lib.cjs.js.map +1 -1
- package/dist/es/assets/{lib-c7838c89.css → lib-1621a5fc.css} +15 -11
- package/dist/es/lib.js +2 -2
- package/dist/es/lib.js.map +1 -1
- package/dist/esm/components/atoms/Button/Button.css +2 -2
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.css +7 -7
- package/dist/esm/components/molecules/PasswordField/PasswordField.css +2 -2
- package/dist/esm/components/organisms/Card/Card.css +4 -0
- package/dist/esm/components/organisms/Card/Card.d.ts +5 -1
- package/dist/esm/components/organisms/Card/Card.js +3 -2
- package/dist/esm/components/organisms/Card/Card.js.map +1 -1
- package/package.json +2 -2
|
@@ -244,9 +244,9 @@
|
|
|
244
244
|
line-height: initial;
|
|
245
245
|
width: auto;
|
|
246
246
|
margin: auto 0rem;
|
|
247
|
-
font-size:
|
|
247
|
+
font-size: var(--button-font-size);
|
|
248
248
|
font-weight: var(--font-weight-bold);
|
|
249
|
-
letter-spacing:
|
|
249
|
+
letter-spacing: var(--button-letter-spacing);
|
|
250
250
|
text-transform: var(--rls-button-label-text-transform);
|
|
251
251
|
}
|
|
252
252
|
.rls-button__label a {
|
|
@@ -280,7 +280,7 @@
|
|
|
280
280
|
user-select: none;
|
|
281
281
|
cursor: default;
|
|
282
282
|
background: transparent;
|
|
283
|
-
color: var(--rls-
|
|
283
|
+
color: var(--rls-action-color);
|
|
284
284
|
}
|
|
285
285
|
.rls-button-action::before {
|
|
286
286
|
position: absolute;
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
visibility: hidden;
|
|
293
293
|
border-radius: 50%;
|
|
294
294
|
transform: scale(0);
|
|
295
|
-
background: var(--rls-
|
|
295
|
+
background: var(--rls-action-ripple-color);
|
|
296
296
|
padding-top: calc(120% - var(--sizing-8));
|
|
297
297
|
padding-left: calc(120% - var(--sizing-8));
|
|
298
298
|
margin-top: calc(-60% + var(--sizing-4));
|
|
@@ -310,12 +310,12 @@
|
|
|
310
310
|
top: 50%;
|
|
311
311
|
left: 50%;
|
|
312
312
|
opacity: 0.24;
|
|
313
|
-
width: var(--rls-
|
|
314
|
-
height: var(--rls-
|
|
315
|
-
margin-top: var(--rls-
|
|
316
|
-
margin-left: var(--rls-
|
|
313
|
+
width: var(--rls-action-ripple-dimension);
|
|
314
|
+
height: var(--rls-action-ripple-dimension);
|
|
315
|
+
margin-top: var(--rls-action-ripple-position);
|
|
316
|
+
margin-left: var(--rls-action-ripple-position);
|
|
317
317
|
border-radius: 50%;
|
|
318
|
-
background: var(--rls-
|
|
318
|
+
background: var(--rls-action-ripple-color);
|
|
319
319
|
transform: scale(0);
|
|
320
320
|
transition: transform 160ms 0ms var(--sharp-curve);
|
|
321
321
|
}
|
|
@@ -1240,8 +1240,8 @@
|
|
|
1240
1240
|
|
|
1241
1241
|
.rls-password-field {
|
|
1242
1242
|
--rls-input-parent-padding: var(--sizing-6) var(--sizing-8);
|
|
1243
|
-
--rls-
|
|
1244
|
-
--rls-
|
|
1243
|
+
--rls-action-ripple-dimension: var(--sizing-32);
|
|
1244
|
+
--rls-action-ripple-position: -1rem;
|
|
1245
1245
|
position: relative;
|
|
1246
1246
|
float: left;
|
|
1247
1247
|
width: 100%;
|
|
@@ -1545,7 +1545,11 @@
|
|
|
1545
1545
|
.rls-card {
|
|
1546
1546
|
background: var(--background-theme-500);
|
|
1547
1547
|
border-radius: var(--sizing-8);
|
|
1548
|
+
box-shadow: var(--shadow-center-light-8);
|
|
1549
|
+
}
|
|
1550
|
+
.rls-card--outline {
|
|
1548
1551
|
border: var(--border-1-theme-100);
|
|
1552
|
+
box-shadow: none;
|
|
1549
1553
|
}
|
|
1550
1554
|
.rls-card__content {
|
|
1551
1555
|
display: flex;
|
package/dist/cjs/lib.cjs.js
CHANGED
|
@@ -2823,8 +2823,8 @@ function RlsAutocompleteField({ suggestions, children, disabled, formControl, on
|
|
|
2823
2823
|
}, children: jsxRuntimeExports.jsx(RlsIcon, { value: "search" }) }))] }), searching && jsxRuntimeExports.jsx(RlsProgressBar, { indeterminate: true }), coincidences.map((element, index) => (jsxRuntimeExports.jsx("li", { className: "rls-list-field__element", tabIndex: -1, onClick: onClickItem(element), onKeyDown: onKeydownItem(element), children: jsxRuntimeExports.jsx(RlsBallot, { subtitle: element.subtitle, img: element.img, initials: element.initials, children: element.title }) }, index))), !coincidences.length && (jsxRuntimeExports.jsx("li", { className: "rls-list-field__empty", children: jsxRuntimeExports.jsxs("div", { className: "rls-list-field__empty__description", children: [jsxRuntimeExports.jsx("label", { className: "label-bold truncate", children: "Selecci\u00F3n no disponible" }), jsxRuntimeExports.jsx("label", { className: "caption-regular", children: "Lo sentimos, en el momento no hay elementos en el listado" })] }) }))] }), jsxRuntimeExports.jsx("div", { className: "rls-list-field__backdrop", onClick: onClickBackdrop })] })] }));
|
|
2824
2824
|
}
|
|
2825
2825
|
|
|
2826
|
-
function RlsCard({ children, rlsTheme }) {
|
|
2827
|
-
return (jsxRuntimeExports.jsx("div", { className:
|
|
2826
|
+
function RlsCard({ children, outline, rlsTheme }) {
|
|
2827
|
+
return (jsxRuntimeExports.jsx("div", { className: renderClassStatus('rls-card', { outline }), "rls-theme": rlsTheme, children: jsxRuntimeExports.jsx("div", { className: "rls-card__content", children: children }) }));
|
|
2828
2828
|
}
|
|
2829
2829
|
|
|
2830
2830
|
class ConfirmationResult extends helpersAdvanced.PartialSealed {
|