@rolster/react-components 18.24.2 → 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/cjs/index.js CHANGED
@@ -1408,7 +1408,7 @@ function RlsBreadcrumbLabel({ label }) {
1408
1408
  actionable: !!label.onClick
1409
1409
  });
1410
1410
  }, [label.onClick]);
1411
- return (jsxRuntimeExports.jsx("label", { className: "rls-breadcrumb__label", onClick: label.onClick, children: jsxRuntimeExports.jsx("a", { className: className, "rls-theme": label.rlsTheme, children: label.label }) }));
1411
+ return (jsxRuntimeExports.jsx("span", { className: "rls-breadcrumb__label", onClick: label.onClick, children: jsxRuntimeExports.jsx("a", { className: className, "rls-theme": label.rlsTheme, children: label.label }) }));
1412
1412
  }
1413
1413
  function RlsBreadcrumb({ labels }) {
1414
1414
  const children = require$$0.useMemo(() => {
@@ -3732,13 +3732,13 @@ function RlsApplication({ children }) {
3732
3732
  const { RlsConfirmation, confirmation } = useConfirmation();
3733
3733
  const { RlsSnackbar, snackbar } = useSnackbar();
3734
3734
  const [hasNavbar, setNavbarInApp] = require$$0.useState(false);
3735
- const [isNavbarCondense, setNavbarIsCondense] = require$$0.useState(false);
3735
+ const [navbarIsCondense, setNavbarIsCondense] = require$$0.useState(false);
3736
3736
  const className = require$$0.useMemo(() => {
3737
3737
  return renderClassStatus('rls-app__body', {
3738
3738
  snackbar: hasNavbar,
3739
- 'navbar-condense': isNavbarCondense
3739
+ 'navbar-condense': navbarIsCondense
3740
3740
  });
3741
- }, [hasNavbar, isNavbarCondense]);
3741
+ }, [hasNavbar, navbarIsCondense]);
3742
3742
  return (jsxRuntimeExports.jsxs(RlsContext.Provider, { value: {
3743
3743
  confirmation,
3744
3744
  snackbar,