@rolster/react-components 19.1.10 → 19.1.11

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.
@@ -94,7 +94,7 @@
94
94
  .rls-avatar--rounded {
95
95
  border-radius: 50%;
96
96
  }
97
- .rls-avatar--contrast {
97
+ .rls-avatar--contrasted {
98
98
  color: var(--rls-theme-color-500);
99
99
  background: var(--rls-theme-color-100);
100
100
  }
@@ -110,8 +110,8 @@
110
110
  --pvt-dimension: var(--rlc-badge-dimension, var(--rls-sizing-x12));
111
111
  --pvt-font-color: var(--rls-app-color-050);
112
112
  --pvt-background: var(--rls-app-color-700);
113
- --pvt-contrast-font-color: var(--rls-app-color-600);
114
- --pvt-contrast-background: var(--rls-app-color-200);
113
+ --pvt-contrasted-font-color: var(--rls-app-color-600);
114
+ --pvt-contrasted-background: var(--rls-app-color-200);
115
115
  position: relative;
116
116
  display: inline-block;
117
117
  width: auto;
@@ -131,15 +131,15 @@
131
131
  background: var(--pvt-background);
132
132
  border-radius: var(--rlc-badge-radius, calc(var(--pvt-dimension) / 2));
133
133
  }
134
- .rls-badge--contrast {
135
- color: var(--pvt-contrast-font-color);
136
- background: var(--pvt-contrast-background);
134
+ .rls-badge--contrasted {
135
+ color: var(--pvt-contrasted-font-color);
136
+ background: var(--pvt-contrasted-background);
137
137
  }
138
138
  .rls-badge[rls-theme] {
139
139
  --pvt-font-color: var(--rls-theme-color-050);
140
140
  --pvt-background: var(--rls-theme-color-500);
141
- --pvt-contrast-font-color: var(--rls-theme-color-700);
142
- --pvt-contrast-background: var(--rls-theme-color-100);
141
+ --pvt-contrasted-font-color: var(--rls-theme-color-700);
142
+ --pvt-contrasted-background: var(--rls-theme-color-100);
143
143
  }
144
144
  .rls-badge > span {
145
145
  font-size: inherit;
@@ -975,11 +975,11 @@
975
975
  color: var(--rls-theme-color-050);
976
976
  background: var(--rls-theme-color-500);
977
977
  }
978
- .rls-poster--contrast {
978
+ .rls-poster--contrasted {
979
979
  color: var(--rls-app-color-700);
980
980
  background: var(--rls-app-color-200);
981
981
  }
982
- .rls-poster--contrast[rls-theme] {
982
+ .rls-poster--contrasted[rls-theme] {
983
983
  color: var(--rls-theme-color-700);
984
984
  background: var(--rls-theme-color-100);
985
985
  } /*# sourceMappingURL=Poster.css.map */
package/dist/cjs/index.js CHANGED
@@ -466,17 +466,17 @@ function RlsAmount({ value, decimals, rlsTheme, symbol }) {
466
466
  return (jsxRuntimeExports.jsxs("div", { className: "rls-amount", "rls-theme": rlsTheme, children: [symbol && jsxRuntimeExports.jsx("span", { className: "rls-amount__symbol", children: symbol }), jsxRuntimeExports.jsxs("div", { className: "rls-amount__content", children: [jsxRuntimeExports.jsx(RlsTabularText, { className: "rls-amount__integer", value: integer }), decimal && (jsxRuntimeExports.jsx(RlsTabularText, { className: "rls-amount__decimal", value: decimal }))] })] }));
467
467
  }
468
468
 
469
- function RlsAvatar({ children, contrast, rounded, skeleton, rlsTheme }) {
469
+ function RlsAvatar({ children, contrasted, rounded, skeleton, rlsTheme }) {
470
470
  const className = require$$0.useMemo(() => {
471
- return renderClassStatus('rls-avatar', { contrast, rounded, skeleton });
472
- }, [contrast, rounded, skeleton]);
471
+ return renderClassStatus('rls-avatar', { contrasted, rounded, skeleton });
472
+ }, [contrasted, rounded, skeleton]);
473
473
  return (jsxRuntimeExports.jsx("div", { className: className, "rls-theme": rlsTheme, children: children }));
474
474
  }
475
475
 
476
- function RlsBadge({ children, contrast, rlsTheme }) {
476
+ function RlsBadge({ children, contrasted, rlsTheme }) {
477
477
  const className = require$$0.useMemo(() => {
478
- return renderClassStatus('rls-badge', { contrast });
479
- }, [contrast]);
478
+ return renderClassStatus('rls-badge', { contrasted });
479
+ }, [contrasted]);
480
480
  return (jsxRuntimeExports.jsx("span", { className: className, "rls-theme": rlsTheme, children: children }));
481
481
  }
482
482
 
@@ -735,10 +735,10 @@ function RlsMessageIcon({ icon, children, rlsTheme }) {
735
735
  return (jsxRuntimeExports.jsxs("div", { className: "rls-message-icon", "rls-theme": rlsTheme, children: [icon && jsxRuntimeExports.jsx(RlsIcon, { value: icon }), jsxRuntimeExports.jsx("span", { className: "truncate", children: children })] }));
736
736
  }
737
737
 
738
- function RlsPoster({ children, contrast, rlsTheme }) {
738
+ function RlsPoster({ children, contrasted, rlsTheme }) {
739
739
  const className = require$$0.useMemo(() => {
740
- return renderClassStatus('rls-poster', { contrast });
741
- }, [contrast]);
740
+ return renderClassStatus('rls-poster', { contrasted });
741
+ }, [contrasted]);
742
742
  return (jsxRuntimeExports.jsx("div", { className: className, "rls-theme": rlsTheme, children: children }));
743
743
  }
744
744
 
@@ -1710,10 +1710,10 @@ function RlsDatatable({ children, footer, header, identifier, rlsTheme, resizabl
1710
1710
  function RlsDatatableHeader({ children, identifier, rlsTheme }) {
1711
1711
  return (jsxRuntimeExports.jsx("tr", { id: identifier, className: "rls-datatable__header", "rls-theme": rlsTheme, children: children }));
1712
1712
  }
1713
- function RlsDatatableTitle({ children, className, control, identifier, rlsTheme }) {
1713
+ function RlsDatatableTitle({ children, className, contained, control, identifier, rlsTheme }) {
1714
1714
  const classNameTitle = require$$0.useMemo(() => {
1715
- return renderClassStatus('rls-datatable__title', { control }, className);
1716
- }, [className, control]);
1715
+ return renderClassStatus('rls-datatable__title', { contained, control }, className);
1716
+ }, [className, contained, control]);
1717
1717
  return (jsxRuntimeExports.jsx("th", { id: identifier, className: classNameTitle, "rls-theme": rlsTheme, children: children }));
1718
1718
  }
1719
1719
  function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
@@ -1725,19 +1725,19 @@ function RlsDatatableSubheader({ children, className, identifier, rlsTheme }) {
1725
1725
  function RlsDatatableRecord({ children, className, contained, error, identifier, info, success, warning, rlsTheme }) {
1726
1726
  const classNameRecord = require$$0.useMemo(() => {
1727
1727
  return renderClassStatus('rls-datatable__record', { error, info, contained, success, warning }, className);
1728
- }, [className, error, info, contained, success, warning]);
1728
+ }, [className, contained, error, info, success, warning]);
1729
1729
  return (jsxRuntimeExports.jsx("tr", { id: identifier, className: classNameRecord, "rls-theme": rlsTheme, children: children }));
1730
1730
  }
1731
1731
  function RlsDatatableTotals({ children, className, contained, error, identifier, info, success, warning, rlsTheme }) {
1732
1732
  const classNameTotals = require$$0.useMemo(() => {
1733
1733
  return renderClassStatus('rls-datatable__totals', { error, info, contained, success, warning }, className);
1734
- }, [className, error, info, contained, success, warning]);
1734
+ }, [className, contained, error, info, success, warning]);
1735
1735
  return (jsxRuntimeExports.jsx("div", { id: identifier, className: classNameTotals, "rls-theme": rlsTheme, children: children }));
1736
1736
  }
1737
1737
  function RlsDatatableCell({ children, className, contained, control, identifier, rlsTheme }) {
1738
1738
  const classNameCell = require$$0.useMemo(() => {
1739
1739
  return renderClassStatus('rls-datatable__cell', { control, contained }, className);
1740
- }, [className, control, contained]);
1740
+ }, [className, contained, control]);
1741
1741
  return (jsxRuntimeExports.jsx("td", { id: identifier, className: classNameCell, "rls-theme": rlsTheme, children: children }));
1742
1742
  }
1743
1743
  function RlsDatatableData({ children, className, contained, control, identifier }) {