@rolster/react-components 18.15.37 → 18.15.41
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-DTDYY-4K.css → index-DymY06ih.css} +7 -8
- package/dist/cjs/index.js +7 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/assets/{index-DTDYY-4K.css → index-DymY06ih.css} +7 -8
- package/dist/es/index.js +7 -5
- package/dist/es/index.js.map +1 -1
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.js +1 -1
- package/dist/esm/components/atoms/ButtonAction/ButtonAction.js.map +1 -1
- package/dist/esm/components/atoms/TabularText/TabularText.js +4 -2
- package/dist/esm/components/atoms/TabularText/TabularText.js.map +1 -1
- package/dist/esm/components/molecules/ButtonToggle/ButtonToggle.css +0 -1
- package/dist/esm/components/organisms/Confirmation/Confirmation.css +2 -4
- package/dist/esm/components/organisms/Modal/Modal.css +5 -3
- package/dist/esm/components/organisms/Modal/Modal.d.ts +2 -1
- package/dist/esm/components/organisms/Modal/Modal.js +2 -2
- package/dist/esm/components/organisms/Modal/Modal.js.map +1 -1
- package/package.json +4 -4
|
@@ -1001,7 +1001,6 @@
|
|
|
1001
1001
|
transform-origin: 0% 0%;
|
|
1002
1002
|
transition: transform 240ms 0ms var(--rls-standard-curve),
|
|
1003
1003
|
opacity 240ms 0ms var(--rls-standard-curve);
|
|
1004
|
-
will-change: opacity, transform;
|
|
1005
1004
|
box-shadow: 0px 0px 0px 3px var(--rls-theme-shadow-500);
|
|
1006
1005
|
}
|
|
1007
1006
|
.rls-button-toggle__list ul li {
|
|
@@ -1678,11 +1677,10 @@
|
|
|
1678
1677
|
visibility: var(--pvt-component-visibility);
|
|
1679
1678
|
padding: var(--rls-sizing-x8) 0rem;
|
|
1680
1679
|
box-sizing: border-box;
|
|
1681
|
-
z-index: var(--rls-z-index-
|
|
1680
|
+
z-index: var(--rls-z-index-4);
|
|
1682
1681
|
border-radius: var(--rls-sizing-x4);
|
|
1683
1682
|
background: var(--rls-app-background-500);
|
|
1684
1683
|
box-shadow: var(--rls-app-shadow-4);
|
|
1685
|
-
will-change: transform;
|
|
1686
1684
|
transform: var(--pvt-component-transform);
|
|
1687
1685
|
transition: opacity 125ms 0ms var(--rls-deceleration-curve),
|
|
1688
1686
|
transform 125ms 0ms var(--rls-deceleration-curve),
|
|
@@ -1753,8 +1751,7 @@
|
|
|
1753
1751
|
right: 0px;
|
|
1754
1752
|
bottom: var(--pvt-backdrop-bottom);
|
|
1755
1753
|
opacity: var(--pvt-backdrop-opacity);
|
|
1756
|
-
z-index:
|
|
1757
|
-
will-change: opacity;
|
|
1754
|
+
z-index: var(--rls-z-index-2);
|
|
1758
1755
|
background: var(--rls-theme-backdrop-900);
|
|
1759
1756
|
backdrop-filter: blur(2px);
|
|
1760
1757
|
transition: opacity 120ms 0ms var(--rls-deceleration-curve),
|
|
@@ -1849,6 +1846,7 @@
|
|
|
1849
1846
|
--pvt-component-transform: translateY(80rem) scale(0.6);
|
|
1850
1847
|
--pvt-component-height: 0rem;
|
|
1851
1848
|
--pvt-component-opacity: 0;
|
|
1849
|
+
--pvt-component-overflow: hidden;
|
|
1852
1850
|
--pvt-component-visibility: hidden;
|
|
1853
1851
|
--pvt-backdrop-opacity: 0;
|
|
1854
1852
|
--pvt-backdrop-bottom: initial;
|
|
@@ -1863,6 +1861,9 @@
|
|
|
1863
1861
|
align-items: center;
|
|
1864
1862
|
justify-content: center;
|
|
1865
1863
|
}
|
|
1864
|
+
.rls-modal--overflow {
|
|
1865
|
+
--pvt-component-overflow: initial;
|
|
1866
|
+
}
|
|
1866
1867
|
.rls-modal--visible {
|
|
1867
1868
|
--pvt-component-visibility: visible;
|
|
1868
1869
|
--pvt-component-height: auto;
|
|
@@ -1880,10 +1881,9 @@
|
|
|
1880
1881
|
opacity: var(--pvt-component-opacity);
|
|
1881
1882
|
visibility: var(--pvt-component-visibility);
|
|
1882
1883
|
z-index: var(--rls-z-index-2);
|
|
1883
|
-
overflow:
|
|
1884
|
+
overflow: var(--pvt-component-overflow);
|
|
1884
1885
|
border-radius: var(--rls-sizing-x4);
|
|
1885
1886
|
background: var(--rls-app-background-500);
|
|
1886
|
-
will-change: transform;
|
|
1887
1887
|
transform: var(--pvt-component-transform);
|
|
1888
1888
|
transition: opacity 125ms 0ms var(--rls-deceleration-curve),
|
|
1889
1889
|
transform 125ms 0ms var(--rls-deceleration-curve),
|
|
@@ -1898,7 +1898,6 @@
|
|
|
1898
1898
|
bottom: var(--pvt-backdrop-bottom);
|
|
1899
1899
|
opacity: var(--pvt-backdrop-opacity);
|
|
1900
1900
|
z-index: 1;
|
|
1901
|
-
will-change: opacity;
|
|
1902
1901
|
background: var(--rls-theme-backdrop-900);
|
|
1903
1902
|
backdrop-filter: blur(2px);
|
|
1904
1903
|
transition: opacity 120ms 0ms var(--rls-deceleration-curve),
|
package/dist/cjs/index.js
CHANGED
|
@@ -1357,10 +1357,12 @@ if (process.env.NODE_ENV === 'production') {
|
|
|
1357
1357
|
|
|
1358
1358
|
var jsxRuntimeExports = jsxRuntime.exports;
|
|
1359
1359
|
|
|
1360
|
-
const
|
|
1360
|
+
const className = 'rls-tabular-text';
|
|
1361
1361
|
const pointers = ['.', ','];
|
|
1362
1362
|
function charClass(char) {
|
|
1363
|
-
return pointers.includes(char)
|
|
1363
|
+
return pointers.includes(char)
|
|
1364
|
+
? `${className}__pointer`
|
|
1365
|
+
: `${className}__char`;
|
|
1364
1366
|
}
|
|
1365
1367
|
function RlsTabularText({ value }) {
|
|
1366
1368
|
return (jsxRuntimeExports.jsx("div", { className: "rls-tabular-text", children: value?.split('').map((char, index) => (jsxRuntimeExports.jsx("span", { className: charClass(char), children: char }, index))) }));
|
|
@@ -1406,7 +1408,7 @@ function RlsButton({ type, children, disabled, prefixIcon, suffixIcon, rlsTheme,
|
|
|
1406
1408
|
}
|
|
1407
1409
|
|
|
1408
1410
|
function RlsButtonAction({ icon, disabled, tooltip, onClick }) {
|
|
1409
|
-
return (jsxRuntimeExports.jsxs("button", { className: "rls-button-action", onClick: onClick, disabled: disabled, children: [jsxRuntimeExports.jsx("div", { className: "rls-button-action__content", children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }), tooltip && (jsxRuntimeExports.jsx("div", { className: "rls-button-action__tooltip
|
|
1411
|
+
return (jsxRuntimeExports.jsxs("button", { className: "rls-button-action", onClick: onClick, disabled: disabled, children: [jsxRuntimeExports.jsx("div", { className: "rls-button-action__content", children: jsxRuntimeExports.jsx(RlsIcon, { value: icon }) }), tooltip && (jsxRuntimeExports.jsx("div", { className: "rls-button-action__tooltip rls-overline-medium", children: jsxRuntimeExports.jsx("span", { children: tooltip }) }))] }));
|
|
1410
1412
|
}
|
|
1411
1413
|
|
|
1412
1414
|
function RlsCheckBox({ checked, disabled, onClick, rlsTheme }) {
|
|
@@ -2304,8 +2306,8 @@ function RlsFieldAutocomplete(props) {
|
|
|
2304
2306
|
return (jsxRuntimeExports.jsx(RlsFieldAutocompleteTemplate, { ...props, render: (element) => (jsxRuntimeExports.jsx(RlsBallot, { subtitle: element.subtitle, img: element.img, initials: element.initials, children: jsxRuntimeExports.jsx("span", { children: element.title }) })) }));
|
|
2305
2307
|
}
|
|
2306
2308
|
|
|
2307
|
-
function RlsModal({ children, visible, rlsTheme }) {
|
|
2308
|
-
return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: renderClassStatus('rls-modal', { visible }), "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-modal__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-modal__backdrop" })] }), document.body);
|
|
2309
|
+
function RlsModal({ children, overflow, visible, rlsTheme }) {
|
|
2310
|
+
return ReactDOM.createPortal(jsxRuntimeExports.jsxs("div", { className: renderClassStatus('rls-modal', { overflow, visible }), "rls-theme": rlsTheme, children: [jsxRuntimeExports.jsx("div", { className: "rls-modal__component", children: children }), jsxRuntimeExports.jsx("div", { className: "rls-modal__backdrop" })] }), document.body);
|
|
2309
2311
|
}
|
|
2310
2312
|
|
|
2311
2313
|
const FORMAT_TITLE = '{dw}, {mx} {dd} de {aa}';
|