@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.
@@ -244,9 +244,9 @@
244
244
  line-height: initial;
245
245
  width: auto;
246
246
  margin: auto 0rem;
247
- font-size: 0.825rem;
247
+ font-size: var(--button-font-size);
248
248
  font-weight: var(--font-weight-bold);
249
- letter-spacing: 0.825px;
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-buttonaction-color);
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-buttonaction-ripple-color);
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-buttonaction-ripple-dimension);
314
- height: var(--rls-buttonaction-ripple-dimension);
315
- margin-top: var(--rls-buttonaction-ripple-position);
316
- margin-left: var(--rls-buttonaction-ripple-position);
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-buttonaction-ripple-color);
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-buttonaction-ripple-dimension: var(--sizing-32);
1244
- --rls-buttonaction-ripple-position: -1rem;
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/es/lib.js CHANGED
@@ -2821,8 +2821,8 @@ function RlsAutocompleteField({ suggestions, children, disabled, formControl, on
2821
2821
  }, 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 })] })] }));
2822
2822
  }
2823
2823
 
2824
- function RlsCard({ children, rlsTheme }) {
2825
- return (jsxRuntimeExports.jsx("div", { className: "rls-card", "rls-theme": rlsTheme, children: jsxRuntimeExports.jsx("div", { className: "rls-card__content", children: children }) }));
2824
+ function RlsCard({ children, outline, rlsTheme }) {
2825
+ return (jsxRuntimeExports.jsx("div", { className: renderClassStatus('rls-card', { outline }), "rls-theme": rlsTheme, children: jsxRuntimeExports.jsx("div", { className: "rls-card__content", children: children }) }));
2826
2826
  }
2827
2827
 
2828
2828
  class ConfirmationResult extends PartialSealed {