@leapdevuk/component-toolbox 0.0.68 → 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
@@ -8159,7 +8159,11 @@ const go = ({
8159
8159
  "div",
8160
8160
  {
8161
8161
  className: "displayFlex",
8162
- style: { flexDirection: "column", alignItems: "center" },
8162
+ style: {
8163
+ flexDirection: "column",
8164
+ alignItems: "center",
8165
+ backgroundColor: "#fff"
8166
+ },
8163
8167
  children: [
8164
8168
  /* @__PURE__ */ m.jsx(
8165
8169
  Ea,
@@ -8577,17 +8581,14 @@ const go = ({
8577
8581
  {
8578
8582
  style: {
8579
8583
  backgroundColor: "#fff",
8580
- border: "1px solid rgba(0, 0, 0, 0.12)"
8584
+ border: "1px solid rgba(0, 0, 0, 0.12)",
8585
+ borderRadius: 0
8581
8586
  },
8582
8587
  children: /* @__PURE__ */ m.jsxs(
8583
8588
  "div",
8584
8589
  {
8585
- className: "displayFlex",
8586
- style: {
8587
- flexDirection: "row",
8588
- alignItems: "center",
8589
- borderRight: "1px solid rgba(0, 0, 0, 0.12)"
8590
- },
8590
+ className: "displayFlex dateActionButtons",
8591
+ style: { flexDirection: "row" },
8591
8592
  children: [
8592
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(
8593
8594
  "div",
@@ -8871,62 +8872,73 @@ const go = ({
8871
8872
  }
8872
8873
  ),
8873
8874
  /* @__PURE__ */ m.jsx(
8874
- Ea,
8875
+ "div",
8875
8876
  {
8876
- dateAdapter: Wa,
8877
- adapterLocale: x,
8877
+ className: "displayFlex",
8878
+ style: {
8879
+ flexDirection: "column",
8880
+ borderLeft: "1px solid #e0e0e0",
8881
+ alignSelf: "flex-start"
8882
+ },
8878
8883
  children: /* @__PURE__ */ m.jsx(
8879
- ls,
8884
+ Ea,
8880
8885
  {
8881
- value: [
8882
- O ? new Date(O) : null,
8883
- M ? new Date(M) : null
8884
- ],
8885
- onChange: (v, $) => {
8886
- $ !== "partial" && R(!1);
8887
- const D = v[0] ? v[0] : null, B = v[1] ? v[1] : null;
8888
- if (h) {
8889
- const ye = h(D);
8890
- ye && c(ye);
8891
- const E = h(B);
8892
- E && c(E);
8893
- }
8894
- _(d), W(
8895
- D && Ee(new Date(D), A)
8896
- ), L(
8897
- B && Ee(new Date(B), A)
8898
- ), i(
8899
- te(
8900
- D ? new Date(D) : null,
8901
- !0,
8902
- a,
8903
- e,
8904
- o
8905
- ),
8906
- te(
8907
- B ? new Date(B) : null,
8908
- r,
8909
- !0,
8910
- e,
8911
- o
8912
- )
8913
- );
8914
- },
8915
- calendars: k || 2,
8916
- sx: {
8917
- "& .MuiTypography-caption": { height: 30, width: 30 },
8918
- "& .MuiDateRangePickerDay-rangeIntervalPreview": {
8919
- height: 30,
8920
- width: 30
8921
- },
8922
- "& .MuiDayCalendar-slideTransition": {
8923
- minHeight: 220,
8924
- 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
+ }
8925
8940
  }
8926
- },
8927
- slotProps: {
8928
- day: { style: { height: 30, width: 30 } }
8929
- }
8941
+ )
8930
8942
  }
8931
8943
  )
8932
8944
  }