@rolster/react-components 18.26.6 → 18.26.8
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/{index-BWk6HbJL.css → index-Dlyq90g-.css} +10 -4
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/assets/{index-BWk6HbJL.css → index-Dlyq90g-.css} +10 -4
- package/dist/es/index.js +3 -3
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/atoms/Amount/Amount.css +4 -1
- package/dist/esm/components/atoms/Amount/Amount.css.map +1 -1
- package/dist/esm/components/atoms/Badge/Badge.js +1 -1
- package/dist/esm/components/atoms/Badge/Badge.js.map +1 -1
- package/dist/esm/components/atoms/Button/Button.css +6 -3
- package/dist/esm/components/atoms/Button/Button.css.map +1 -1
- package/dist/esm/components/atoms/Button/Button.js +1 -1
- package/dist/esm/components/atoms/Button/Button.js.map +1 -1
- package/dist/esm/components/atoms/Label/Label.js +1 -1
- package/dist/esm/components/atoms/Label/Label.js.map +1 -1
- package/package.json +2 -2
|
@@ -31,9 +31,12 @@
|
|
|
31
31
|
--pvt-font-weight: var(--rlc-amount-font-weight, inherit);
|
|
32
32
|
--pvt-decimal-width: var(--rlc-amount-decimal-width, 0.5);
|
|
33
33
|
--pvt-decimal-size: var(--rlc-amount-decimal-size, 0.6);
|
|
34
|
+
--pvt-width-separator: var(--rlc-amount-separator, 1.25);
|
|
34
35
|
--rlc-tabular-text-font-size: var(--pvt-font-size);
|
|
35
36
|
--rlc-tabular-text-font-weight: var(--pvt-font-weight);
|
|
36
|
-
--rlc-tabular-text-char-width: calc(
|
|
37
|
+
--rlc-tabular-text-char-width: calc(
|
|
38
|
+
var(--pvt-font-size) / var(--pvt-width-separator)
|
|
39
|
+
);
|
|
37
40
|
display: flex;
|
|
38
41
|
width: var(--rlc-amount-width, auto);
|
|
39
42
|
justify-content: var(--rlc-amount-text-align, flex-start);
|
|
@@ -374,10 +377,13 @@
|
|
|
374
377
|
--pvt-button-content-border: var(--pvt-gradient-border);
|
|
375
378
|
--pvt-button-ripple-background: var(--rls-theme-font-900);
|
|
376
379
|
}
|
|
377
|
-
.rls-
|
|
380
|
+
.rls-button__description {
|
|
381
|
+
display: flex;
|
|
382
|
+
width: auto;
|
|
383
|
+
align-items: center;
|
|
384
|
+
column-gap: var(--rlc-button-description-gap, var(--rls-sizing-x2));
|
|
378
385
|
padding: 0rem var(--rls-sizing-x2);
|
|
379
386
|
line-height: initial;
|
|
380
|
-
width: auto;
|
|
381
387
|
font-size: var(--rls-button-font-size);
|
|
382
388
|
letter-spacing: var(--rls-button-letter-spacing);
|
|
383
389
|
font-weight: var(--rlc-button-font-weight, var(--rls-font-weight-medium));
|
|
@@ -386,7 +392,7 @@
|
|
|
386
392
|
overflow: hidden;
|
|
387
393
|
white-space: nowrap;
|
|
388
394
|
}
|
|
389
|
-
.rls-
|
|
395
|
+
.rls-button__description a {
|
|
390
396
|
text-decoration: none;
|
|
391
397
|
color: inherit;
|
|
392
398
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1399,7 +1399,7 @@ function RlsBadge({ children, contrast, rlsTheme }) {
|
|
|
1399
1399
|
const className = require$$0.useMemo(() => {
|
|
1400
1400
|
return renderClassStatus('rls-badge', { contrast });
|
|
1401
1401
|
}, [contrast]);
|
|
1402
|
-
return (jsxRuntimeExports.jsx("
|
|
1402
|
+
return (jsxRuntimeExports.jsx("span", { className: className, "rls-theme": rlsTheme, children: children }));
|
|
1403
1403
|
}
|
|
1404
1404
|
|
|
1405
1405
|
function RlsBreadcrumbLabel({ label }) {
|
|
@@ -1428,7 +1428,7 @@ function RlsButton({ type, children, disabled, identifier, prefixIcon, suffixIco
|
|
|
1428
1428
|
const className = require$$0.useMemo(() => {
|
|
1429
1429
|
return renderClassStatus('rls-button__content', { type });
|
|
1430
1430
|
}, [type]);
|
|
1431
|
-
return (jsxRuntimeExports.jsx("button", { id: identifier, className: "rls-button", onClick: onClick, "rls-theme": rlsTheme, disabled: disabled, children: jsxRuntimeExports.jsxs("div", { className: className, children: [prefixIcon && jsxRuntimeExports.jsx(RlsIcon, { value: prefixIcon }), children && jsxRuntimeExports.jsx("div", { className: "rls-
|
|
1431
|
+
return (jsxRuntimeExports.jsx("button", { id: identifier, className: "rls-button", onClick: onClick, "rls-theme": rlsTheme, disabled: disabled, children: jsxRuntimeExports.jsxs("div", { className: className, children: [prefixIcon && jsxRuntimeExports.jsx(RlsIcon, { value: prefixIcon }), children && jsxRuntimeExports.jsx("div", { className: "rls-button__description", children: children }), suffixIcon && jsxRuntimeExports.jsx(RlsIcon, { value: suffixIcon })] }) }));
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
1434
|
function RlsButtonAction({ icon, disabled, identifier, onClick, tooltip }) {
|
|
@@ -1615,7 +1615,7 @@ function RlsInputText(props) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
1617
|
function RlsLabel({ children, rlsTheme }) {
|
|
1618
|
-
return (jsxRuntimeExports.jsx("
|
|
1618
|
+
return (jsxRuntimeExports.jsx("span", { className: "rls-label", "rls-theme": rlsTheme, children: children }));
|
|
1619
1619
|
}
|
|
1620
1620
|
|
|
1621
1621
|
function RlsMessageIcon({ icon, children, rlsTheme }) {
|