@rolster/react-components 18.24.1 → 18.24.3

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.
@@ -63,6 +63,8 @@
63
63
  } /*# sourceMappingURL=Amount.css.map */
64
64
 
65
65
  .rls-avatar {
66
+ --rlc-image-width: var(--rlc-avatar-width);
67
+ --rlc-image-height: var(--rlc-avatar-height);
66
68
  position: relative;
67
69
  display: flex;
68
70
  justify-content: center;
@@ -117,6 +119,15 @@
117
119
  .rls-breadcrumb {
118
120
  --pvt-height: var(--rlc-breadcrumb-height, var(--rls-sizing-x18));
119
121
  --pvt-link-font-color: var(--rls-app-color-600);
122
+ --pvt-label-font-size: var(
123
+ --rlc-breadcrumb-font-size,
124
+ var(--rls-body-font-size)
125
+ );
126
+ --pvt-label-font-weight: var(--rlc-breadcrumb-font-weight, inherit);
127
+ --pvt-label-letter-spacing: var(
128
+ --rlc-breadcrumb-letter-spacing,
129
+ var(--rls-body-letter-spacing)
130
+ );
120
131
  display: -webkit-box;
121
132
  width: 100%;
122
133
  height: var(--pvt-height);
@@ -136,11 +147,11 @@
136
147
  .rls-breadcrumb__label {
137
148
  display: block;
138
149
  height: inherit;
139
- line-height: inherit;
140
- font-weight: inherit;
141
150
  color: inherit;
142
- font-size: var(--rls-body-font-size);
143
- letter-spacing: var(--rls-body-letter-spacing);
151
+ line-height: inherit;
152
+ font-weight: var(--pvt-label-font-weight);
153
+ font-size: var(--pvt-label--font-size);
154
+ letter-spacing: var(--pvt-label--letter-spacing);
144
155
  }
145
156
  .rls-breadcrumb__label:first-child::before {
146
157
  display: none;
@@ -1964,8 +1975,8 @@
1964
1975
  display: flex;
1965
1976
  top: 0rem;
1966
1977
  left: 0rem;
1967
- width: 100vw;
1968
- height: 100vh;
1978
+ width: var(--rls-html-max-width);
1979
+ height: var(--rls-html-max-height);
1969
1980
  justify-content: center;
1970
1981
  align-items: center;
1971
1982
  z-index: var(--rls-z-index-24);
@@ -2091,7 +2102,7 @@
2091
2102
  .rls-confirmation__actions {
2092
2103
  flex-direction: column-reverse;
2093
2104
  column-gap: 0rem;
2094
- row-gap: var(--rls-sizing-x8);
2105
+ row-gap: var(--rls-sizing-x4);
2095
2106
  }
2096
2107
  } /*# sourceMappingURL=Confirmation.css.map */
2097
2108
 
@@ -2517,7 +2528,7 @@
2517
2528
  width: calc(100% - var(--rls-sizing-x16));
2518
2529
  max-width: 160rem;
2519
2530
  height: auto;
2520
- max-height: calc(100vh - var(--rls-sizing-x16));
2531
+ max-height: calc(var(--rls-html-max-height) - var(--rls-sizing-x16));
2521
2532
  z-index: var(--rls-z-index-12);
2522
2533
  padding: var(--rls-sizing-x8) var(--rls-sizing-x8) var(--rls-sizing-x12)
2523
2534
  var(--rls-sizing-x8);
package/dist/es/index.js CHANGED
@@ -1406,7 +1406,7 @@ function RlsBreadcrumbLabel({ label }) {
1406
1406
  actionable: !!label.onClick
1407
1407
  });
1408
1408
  }, [label.onClick]);
1409
- return (jsxRuntimeExports.jsx("label", { className: "rls-breadcrumb__label", onClick: label.onClick, children: jsxRuntimeExports.jsx("a", { className: className, "rls-theme": label.rlsTheme, children: label.label }) }));
1409
+ return (jsxRuntimeExports.jsx("span", { className: "rls-breadcrumb__label", onClick: label.onClick, children: jsxRuntimeExports.jsx("a", { className: className, "rls-theme": label.rlsTheme, children: label.label }) }));
1410
1410
  }
1411
1411
  function RlsBreadcrumb({ labels }) {
1412
1412
  const children = useMemo(() => {
@@ -1700,7 +1700,7 @@ function RlsButtonToggle({ onAction, options, type, automatic, disabled, rlsThem
1700
1700
  }
1701
1701
 
1702
1702
  function RlsContent({ children, identifier, rlsTheme }) {
1703
- return (jsxRuntimeExports.jsx("nav", { id: identifier, className: "rls-app__page__content", "rls-theme": rlsTheme, children: children }));
1703
+ return (jsxRuntimeExports.jsx("div", { id: identifier, className: "rls-app__page__content", "rls-theme": rlsTheme, children: children }));
1704
1704
  }
1705
1705
 
1706
1706
  const errorsDictionary = {
@@ -3730,13 +3730,13 @@ function RlsApplication({ children }) {
3730
3730
  const { RlsConfirmation, confirmation } = useConfirmation();
3731
3731
  const { RlsSnackbar, snackbar } = useSnackbar();
3732
3732
  const [hasNavbar, setNavbarInApp] = useState(false);
3733
- const [isNavbarCondense, setNavbarIsCondense] = useState(false);
3733
+ const [navbarIsCondense, setNavbarIsCondense] = useState(false);
3734
3734
  const className = useMemo(() => {
3735
3735
  return renderClassStatus('rls-app__body', {
3736
3736
  snackbar: hasNavbar,
3737
- 'navbar-condense': isNavbarCondense
3737
+ 'navbar-condense': navbarIsCondense
3738
3738
  });
3739
- }, [hasNavbar, isNavbarCondense]);
3739
+ }, [hasNavbar, navbarIsCondense]);
3740
3740
  return (jsxRuntimeExports.jsxs(RlsContext.Provider, { value: {
3741
3741
  confirmation,
3742
3742
  snackbar,