@apexcura/ui-components 0.0.14-Beta232 → 0.0.14-Beta233

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.css CHANGED
@@ -341,9 +341,6 @@ video {
341
341
  .m-\[10px\] {
342
342
  margin: 10px;
343
343
  }
344
- .mr-2 {
345
- margin-right: 0.5rem;
346
- }
347
344
  .flex {
348
345
  display: flex;
349
346
  }
@@ -353,11 +350,11 @@ video {
353
350
  .grid {
354
351
  display: grid;
355
352
  }
356
- .h-4 {
357
- height: 1rem;
353
+ .h-10 {
354
+ height: 2.5rem;
358
355
  }
359
- .w-4 {
360
- width: 1rem;
356
+ .w-10 {
357
+ width: 2.5rem;
361
358
  }
362
359
  .rounded-\[8px\] {
363
360
  border-radius: 8px;
package/dist/index.js CHANGED
@@ -387,7 +387,7 @@ var import_react12 = __toESM(require("react"));
387
387
  // src/constants/icons.tsx
388
388
  var import_react11 = __toESM(require("react"));
389
389
  var icons = {
390
- download: /* @__PURE__ */ import_react11.default.createElement("svg", { className: "fill-current w-4 h-4 mr-2", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20" }, /* @__PURE__ */ import_react11.default.createElement("path", { d: "M13 8V2H7v6H2l8 8 8-8h-5zM0 18h20v2H0v-2z" }))
390
+ download: /* @__PURE__ */ import_react11.default.createElement("svg", { className: "fill-current w-10 h-10", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20" }, /* @__PURE__ */ import_react11.default.createElement("path", { d: "M13 8V2H7v6H2l8 8 8-8h-5zM0 18h20v2H0v-2z" }))
391
391
  };
392
392
 
393
393
  // src/Components/Button.tsx
@@ -921,7 +921,7 @@ var import_moment3 = __toESM(require("moment"));
921
921
  var DateRangePickerElement = (props) => {
922
922
  const { value } = props;
923
923
  const { RangePicker } = import_antd16.DatePicker;
924
- console.log(value);
924
+ const dateValues = value ? value.map((date) => (0, import_dayjs2.default)(date, "DD-MM-YYYY")) : null;
925
925
  const handleChange = (dates, dateStrings) => {
926
926
  if (dates) {
927
927
  props.onChange && props.onChange(dateStrings);
@@ -945,7 +945,7 @@ var DateRangePickerElement = (props) => {
945
945
  presets: rangePresets,
946
946
  format: { format: "DD-MM-YYYY" },
947
947
  onChange: handleChange,
948
- value: value && [(0, import_dayjs2.default)(value[0]), (0, import_dayjs2.default)(value[1])]
948
+ value: dateValues
949
949
  }
950
950
  ));
951
951
  };
package/dist/index.mjs CHANGED
@@ -321,7 +321,7 @@ import React12 from "react";
321
321
  // src/constants/icons.tsx
322
322
  import React11 from "react";
323
323
  var icons = {
324
- download: /* @__PURE__ */ React11.createElement("svg", { className: "fill-current w-4 h-4 mr-2", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20" }, /* @__PURE__ */ React11.createElement("path", { d: "M13 8V2H7v6H2l8 8 8-8h-5zM0 18h20v2H0v-2z" }))
324
+ download: /* @__PURE__ */ React11.createElement("svg", { className: "fill-current w-10 h-10", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20" }, /* @__PURE__ */ React11.createElement("path", { d: "M13 8V2H7v6H2l8 8 8-8h-5zM0 18h20v2H0v-2z" }))
325
325
  };
326
326
 
327
327
  // src/Components/Button.tsx
@@ -855,7 +855,7 @@ import moment3 from "moment";
855
855
  var DateRangePickerElement = (props) => {
856
856
  const { value } = props;
857
857
  const { RangePicker } = DatePicker2;
858
- console.log(value);
858
+ const dateValues = value ? value.map((date) => dayjs2(date, "DD-MM-YYYY")) : null;
859
859
  const handleChange = (dates, dateStrings) => {
860
860
  if (dates) {
861
861
  props.onChange && props.onChange(dateStrings);
@@ -879,7 +879,7 @@ var DateRangePickerElement = (props) => {
879
879
  presets: rangePresets,
880
880
  format: { format: "DD-MM-YYYY" },
881
881
  onChange: handleChange,
882
- value: value && [dayjs2(value[0]), dayjs2(value[1])]
882
+ value: dateValues
883
883
  }
884
884
  ));
885
885
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta232",
3
+ "version": "0.0.14-Beta233",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",