@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/es/index.js
CHANGED
|
@@ -1397,7 +1397,7 @@ function RlsBadge({ children, contrast, rlsTheme }) {
|
|
|
1397
1397
|
const className = useMemo(() => {
|
|
1398
1398
|
return renderClassStatus('rls-badge', { contrast });
|
|
1399
1399
|
}, [contrast]);
|
|
1400
|
-
return (jsxRuntimeExports.jsx("
|
|
1400
|
+
return (jsxRuntimeExports.jsx("span", { className: className, "rls-theme": rlsTheme, children: children }));
|
|
1401
1401
|
}
|
|
1402
1402
|
|
|
1403
1403
|
function RlsBreadcrumbLabel({ label }) {
|
|
@@ -1426,7 +1426,7 @@ function RlsButton({ type, children, disabled, identifier, prefixIcon, suffixIco
|
|
|
1426
1426
|
const className = useMemo(() => {
|
|
1427
1427
|
return renderClassStatus('rls-button__content', { type });
|
|
1428
1428
|
}, [type]);
|
|
1429
|
-
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-
|
|
1429
|
+
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 })] }) }));
|
|
1430
1430
|
}
|
|
1431
1431
|
|
|
1432
1432
|
function RlsButtonAction({ icon, disabled, identifier, onClick, tooltip }) {
|
|
@@ -1613,7 +1613,7 @@ function RlsInputText(props) {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
|
|
1615
1615
|
function RlsLabel({ children, rlsTheme }) {
|
|
1616
|
-
return (jsxRuntimeExports.jsx("
|
|
1616
|
+
return (jsxRuntimeExports.jsx("span", { className: "rls-label", "rls-theme": rlsTheme, children: children }));
|
|
1617
1617
|
}
|
|
1618
1618
|
|
|
1619
1619
|
function RlsMessageIcon({ icon, children, rlsTheme }) {
|