@rolster/react-components 18.12.0 → 18.12.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.
@@ -1926,9 +1926,10 @@ rls-avatar {
1926
1926
 
1927
1927
  .rls-date-range-picker {
1928
1928
  position: relative;
1929
- float: left;
1930
- max-width: 150rem;
1929
+ display: flex;
1930
+ flex-direction: column;
1931
1931
  overflow: hidden;
1932
+ max-width: 150rem;
1932
1933
  }
1933
1934
  .rls-date-range-picker__header {
1934
1935
  background: var(--color-rolster-100);
@@ -1970,6 +1971,7 @@ rls-avatar {
1970
1971
  }
1971
1972
  .rls-date-range-picker__component {
1972
1973
  display: flex;
1974
+ width: 150rem;
1973
1975
  padding: 0rem var(--sizing-x2);
1974
1976
  box-sizing: border-box;
1975
1977
  margin-bottom: var(--sizing-x4);
@@ -1991,17 +1993,13 @@ rls-avatar {
1991
1993
  display: none;
1992
1994
  }
1993
1995
  .rls-date-range-picker__actions {
1996
+ display: flex;
1997
+ flex-wrap: wrap;
1998
+ gap: var(--sizing-x4);
1994
1999
  padding: var(--sizing-x4) var(--sizing-x8) var(--sizing-x6) var(--sizing-x8);
1995
2000
  overflow: hidden;
1996
2001
  box-sizing: border-box;
1997
2002
  }
1998
- .rls-date-range-picker__actions--cancel {
1999
- width: 100%;
2000
- }
2001
- .rls-date-range-picker__actions--ok {
2002
- margin-top: var(--sizing-x4);
2003
- width: 100%;
2004
- }
2005
2003
  .rls-date-range-picker__actions button {
2006
2004
  width: 100%;
2007
2005
  }
package/dist/cjs/index.js CHANGED
@@ -384,7 +384,7 @@ function RlsDayPicker({ date, disabled: disabledPicker, formControl, maxDate, mi
384
384
  }, children: jsxRuntime.jsx("span", { className: "rls-day-picker__day__span", children: value || '??' }) }, index))) }, index))) })] }));
385
385
  }
386
386
 
387
- const DATE_FORMAT = '{dd}/{mm}/{aa}';
387
+ const DATE_FORMAT = '{dd}/{mn}/{aa}';
388
388
  class DateRangePickerFactory {
389
389
  constructor(props) {
390
390
  const { date, range, maxDate, minDate } = props;