@leapdevuk/component-toolbox 0.0.69 → 0.0.70

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.
package/dist/index.es.js CHANGED
@@ -8581,17 +8581,14 @@ const go = ({
8581
8581
  {
8582
8582
  style: {
8583
8583
  backgroundColor: "#fff",
8584
- border: "1px solid rgba(0, 0, 0, 0.12)"
8584
+ border: "1px solid rgba(0, 0, 0, 0.12)",
8585
+ borderRadius: 0
8585
8586
  },
8586
8587
  children: /* @__PURE__ */ m.jsxs(
8587
8588
  "div",
8588
8589
  {
8589
- className: "displayFlex",
8590
- style: {
8591
- flexDirection: "row",
8592
- alignItems: "center",
8593
- borderRight: "1px solid rgba(0, 0, 0, 0.12)"
8594
- },
8590
+ className: "displayFlex dateActionButtons",
8591
+ style: { flexDirection: "row" },
8595
8592
  children: [
8596
8593
  ((s == null ? void 0 : s.showToday) || (s == null ? void 0 : s.showYesterday) || (s == null ? void 0 : s.showThisWeek) || (s == null ? void 0 : s.showLastWeek) || (s == null ? void 0 : s.showThisMonth) || (s == null ? void 0 : s.showLastMonth) || (s == null ? void 0 : s.showLast30) || (s == null ? void 0 : s.showLast60) || (s == null ? void 0 : s.showLast90) || (s == null ? void 0 : s.customActions)) && /* @__PURE__ */ m.jsxs(
8597
8594
  "div",
@@ -8875,62 +8872,73 @@ const go = ({
8875
8872
  }
8876
8873
  ),
8877
8874
  /* @__PURE__ */ m.jsx(
8878
- Ea,
8875
+ "div",
8879
8876
  {
8880
- dateAdapter: Wa,
8881
- adapterLocale: x,
8877
+ className: "displayFlex",
8878
+ style: {
8879
+ flexDirection: "column",
8880
+ borderLeft: "1px solid #e0e0e0",
8881
+ alignSelf: "flex-start"
8882
+ },
8882
8883
  children: /* @__PURE__ */ m.jsx(
8883
- ls,
8884
+ Ea,
8884
8885
  {
8885
- value: [
8886
- O ? new Date(O) : null,
8887
- M ? new Date(M) : null
8888
- ],
8889
- onChange: (v, $) => {
8890
- $ !== "partial" && R(!1);
8891
- const D = v[0] ? v[0] : null, B = v[1] ? v[1] : null;
8892
- if (h) {
8893
- const ye = h(D);
8894
- ye && c(ye);
8895
- const E = h(B);
8896
- E && c(E);
8897
- }
8898
- _(d), W(
8899
- D && Ee(new Date(D), A)
8900
- ), L(
8901
- B && Ee(new Date(B), A)
8902
- ), i(
8903
- te(
8904
- D ? new Date(D) : null,
8905
- !0,
8906
- a,
8907
- e,
8908
- o
8909
- ),
8910
- te(
8911
- B ? new Date(B) : null,
8912
- r,
8913
- !0,
8914
- e,
8915
- o
8916
- )
8917
- );
8918
- },
8919
- calendars: k || 2,
8920
- sx: {
8921
- "& .MuiTypography-caption": { height: 30, width: 30 },
8922
- "& .MuiDateRangePickerDay-rangeIntervalPreview": {
8923
- height: 30,
8924
- width: 30
8925
- },
8926
- "& .MuiDayCalendar-slideTransition": {
8927
- minHeight: 220,
8928
- height: 220
8886
+ dateAdapter: Wa,
8887
+ adapterLocale: x,
8888
+ children: /* @__PURE__ */ m.jsx(
8889
+ ls,
8890
+ {
8891
+ value: [
8892
+ O ? new Date(O) : null,
8893
+ M ? new Date(M) : null
8894
+ ],
8895
+ onChange: (v, $) => {
8896
+ $ !== "partial" && R(!1);
8897
+ const D = v[0] ? v[0] : null, B = v[1] ? v[1] : null;
8898
+ if (h) {
8899
+ const ye = h(D);
8900
+ ye && c(ye);
8901
+ const E = h(B);
8902
+ E && c(E);
8903
+ }
8904
+ _(d), W(
8905
+ D && Ee(new Date(D), A)
8906
+ ), L(
8907
+ B && Ee(new Date(B), A)
8908
+ ), i(
8909
+ te(
8910
+ D ? new Date(D) : null,
8911
+ !0,
8912
+ a,
8913
+ e,
8914
+ o
8915
+ ),
8916
+ te(
8917
+ B ? new Date(B) : null,
8918
+ r,
8919
+ !0,
8920
+ e,
8921
+ o
8922
+ )
8923
+ );
8924
+ },
8925
+ calendars: k || 2,
8926
+ sx: {
8927
+ "& .MuiTypography-caption": { height: 30, width: 30 },
8928
+ "& .MuiDateRangePickerDay-rangeIntervalPreview": {
8929
+ height: 30,
8930
+ width: 30
8931
+ },
8932
+ "& .MuiDayCalendar-slideTransition": {
8933
+ minHeight: 220,
8934
+ height: 220
8935
+ }
8936
+ },
8937
+ slotProps: {
8938
+ day: { style: { height: 30, width: 30 } }
8939
+ }
8929
8940
  }
8930
- },
8931
- slotProps: {
8932
- day: { style: { height: 30, width: 30 } }
8933
- }
8941
+ )
8934
8942
  }
8935
8943
  )
8936
8944
  }