@rolster/react-components 19.0.3 → 19.1.1

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.
@@ -2154,7 +2154,7 @@
2154
2154
  .rls-tabs {
2155
2155
  --pvt-background: var(--rls-app-color-100);
2156
2156
  --pvt-border: var(--rls-app-border-1-200);
2157
- --pvt-children-font-color: var(--rls-app-color-700);
2157
+ --pvt-children-font-color: var(--rls-app-color-800);
2158
2158
  display: flex;
2159
2159
  background: var(--pvt-background);
2160
2160
  padding: var(--rls-sizing-x2);
@@ -2176,7 +2176,7 @@
2176
2176
  }
2177
2177
  .rls-tabs__children--active {
2178
2178
  color: var(--pvt-children-font-color);
2179
- font-weight: var(--rls-font-weight-semibold);
2179
+ font-weight: var(--rls-font-weight-bold);
2180
2180
  background: var(--rls-app-color-050);
2181
2181
  }
2182
2182
  .rls-tabs__children--disabled {
@@ -3095,6 +3095,10 @@
3095
3095
  } /*# sourceMappingURL=FieldSelect.css.map */
3096
3096
 
3097
3097
  .rls-form-navigation {
3098
+ --rlc-field-box-body-background: var(
3099
+ --rlc-form-navigation-field-box-background,
3100
+ var(--rls-app-color-050)
3101
+ );
3098
3102
  --pvt-component-transition: 160ms;
3099
3103
  position: fixed;
3100
3104
  display: flex;
package/dist/cjs/index.js CHANGED
@@ -1549,7 +1549,7 @@ function RlsTab({ onSelect, tab, value }) {
1549
1549
  active: tab.value === value,
1550
1550
  disabled: tab.disabled
1551
1551
  });
1552
- }, [value, tab.disabled]);
1552
+ }, [tab, value]);
1553
1553
  const onClick = require$$0.useCallback(() => {
1554
1554
  !tab.disabled && onSelect(tab.value);
1555
1555
  }, [tab.disabled]);
@@ -1829,14 +1829,14 @@ function useListController(props) {
1829
1829
  : state;
1830
1830
  refreshState((state) => ({ ...state, ..._state }));
1831
1831
  }, [count]);
1832
- const setFormValue = require$$0.useCallback((element, initialValue = false) => {
1832
+ const setFormValue = require$$0.useCallback((element, valueIsDefault = false) => {
1833
1833
  refreshState((state) => ({
1834
1834
  ...state,
1835
1835
  value: element?.description || ''
1836
1836
  }));
1837
1837
  changeValueInternal.current = true;
1838
- initialValue
1839
- ? formControl?.setInitialValue(element?.value)
1838
+ valueIsDefault
1839
+ ? formControl?.setDefaultValue(element?.value)
1840
1840
  : formControl?.setValue(element?.value);
1841
1841
  }, [formControl]);
1842
1842
  const navigationInput = require$$0.useCallback((event) => {
@@ -3248,15 +3248,15 @@ function RlsApplication({ children }) {
3248
3248
  const { RlsSnackbar, snackbar } = useSnackbar();
3249
3249
  const [navbarInApp, setNavbarInApp] = require$$0.useState(false);
3250
3250
  const [navbarIsCondense, setNavbarIsCondense] = require$$0.useState(false);
3251
- const [mobileApp, setIsMobile] = require$$0.useState(false);
3251
+ const [appIsMobile, setIsMobile] = require$$0.useState(false);
3252
3252
  const className = require$$0.useMemo(() => {
3253
3253
  return renderClassStatus('rls-app__body', {
3254
- mobile: mobileApp,
3254
+ mobile: appIsMobile,
3255
3255
  'navbar-snackbar': navbarInApp,
3256
3256
  'navbar-condense': navbarIsCondense
3257
3257
  });
3258
- }, [mobileApp, navbarInApp, navbarIsCondense]);
3259
- return (jsxRuntimeExports.jsxs(RlsContext.Provider, { value: {
3258
+ }, [appIsMobile, navbarInApp, navbarIsCondense]);
3259
+ return (jsxRuntimeExports.jsxs(RlsContext, { value: {
3260
3260
  confirmation,
3261
3261
  snackbar,
3262
3262
  setIsMobile,