@rolster/react-components 18.15.40 → 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.
@@ -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-2);
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: 1;
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: hidden;
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
@@ -2306,8 +2306,8 @@ function RlsFieldAutocomplete(props) {
2306
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 }) })) }));
2307
2307
  }
2308
2308
 
2309
- function RlsModal({ children, visible, rlsTheme }) {
2310
- 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);
2311
2311
  }
2312
2312
 
2313
2313
  const FORMAT_TITLE = '{dw}, {mx} {dd} de {aa}';