@apexcura/ui-components 0.0.11-Beta182 → 0.0.11-Beta184

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,24 +341,12 @@ video {
341
341
  .table {
342
342
  display: table;
343
343
  }
344
- .h-\[40px\] {
345
- height: 40px;
346
- }
347
- .w-\[126px\] {
348
- width: 126px;
349
- }
350
344
  .rounded-\[8px\] {
351
345
  border-radius: 8px;
352
346
  }
353
- .rounded-full {
354
- border-radius: 9999px;
355
- }
356
347
  .border {
357
348
  border-width: 1px;
358
349
  }
359
- .border-none {
360
- border-style: none;
361
- }
362
350
  .border-\[\#919191\] {
363
351
  --tw-border-opacity: 1;
364
352
  border-color: rgb(145 145 145 / var(--tw-border-opacity));
@@ -375,10 +363,6 @@ video {
375
363
  --tw-bg-opacity: 1;
376
364
  background-color: rgb(242 242 242 / var(--tw-bg-opacity));
377
365
  }
378
- .bg-purple-800 {
379
- --tw-bg-opacity: 1;
380
- background-color: rgb(107 33 168 / var(--tw-bg-opacity));
381
- }
382
366
  .p-\[6px\] {
383
367
  padding: 6px;
384
368
  }
@@ -392,10 +376,6 @@ video {
392
376
  --tw-text-opacity: 1;
393
377
  color: rgb(0 0 0 / var(--tw-text-opacity));
394
378
  }
395
- .text-white {
396
- --tw-text-opacity: 1;
397
- color: rgb(255 255 255 / var(--tw-text-opacity));
398
- }
399
379
  .shadow-\[0px_0px_1px_1px_\#919191\] {
400
380
  --tw-shadow: 0px 0px 1px 1px #919191;
401
381
  --tw-shadow-colored: 0px 0px 1px 1px var(--tw-shadow-color);
@@ -412,14 +392,6 @@ video {
412
392
  var(--tw-ring-shadow, 0 0 #0000),
413
393
  var(--tw-shadow);
414
394
  }
415
- .shadow-lg {
416
- --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
417
- --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
418
- box-shadow:
419
- var(--tw-ring-offset-shadow, 0 0 #0000),
420
- var(--tw-ring-shadow, 0 0 #0000),
421
- var(--tw-shadow);
422
- }
423
395
  .filter {
424
396
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
425
397
  }
package/dist/index.js CHANGED
@@ -387,7 +387,6 @@ var MultipleSelectElement = (props) => {
387
387
 
388
388
  // src/Components/Button.tsx
389
389
  var import_react12 = __toESM(require("react"));
390
- var defaultClassName = "w-[126px] h-[40px] bg-purple-800 text-white rounded-full shadow-lg submit border-none";
391
390
  var ButtonElement = (props) => {
392
391
  const handleClick = typeof props.action === "string" ? () => {
393
392
  console.log("Performing action:", props.action);
@@ -396,7 +395,7 @@ var ButtonElement = (props) => {
396
395
  "button",
397
396
  {
398
397
  onClick: handleClick,
399
- className: `${defaultClassName} ${props.className ? props.className : ""}`
398
+ className: `${props.className ? props.className : ""}`
400
399
  },
401
400
  props.icon && /* @__PURE__ */ import_react12.default.createElement("span", { className: props.iconsClassName }, props.icon),
402
401
  props.label
@@ -632,14 +631,17 @@ var TableElement = (props) => {
632
631
  ...row,
633
632
  [columns[0].key]: index + 1
634
633
  }));
634
+ const onChange = (pagination, filters, sorter, extra) => {
635
+ console.log("params", pagination, filters, sorter, extra);
636
+ };
635
637
  return /* @__PURE__ */ import_react19.default.createElement(
636
638
  import_antd13.Table,
637
639
  {
638
640
  dataSource,
639
641
  columns,
640
642
  bordered: true,
641
- pagination: false,
642
- size: props.size && props.size
643
+ size: props.size && props.size,
644
+ onChange
643
645
  }
644
646
  );
645
647
  };
@@ -685,7 +687,7 @@ var DatePickerElement = (props) => {
685
687
  props.onChange(newDate.format("lll"));
686
688
  }
687
689
  };
688
- return /* @__PURE__ */ import_react20.default.createElement("div", null, /* @__PURE__ */ import_react20.default.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ import_react20.default.createElement("img", { src: "file:///C:/Users/srile/Downloads/Vector%20(2).svg", style: { color: "red" } })), /* @__PURE__ */ import_react20.default.createElement(
690
+ return /* @__PURE__ */ import_react20.default.createElement("div", null, /* @__PURE__ */ import_react20.default.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ import_react20.default.createElement(import_icons4.LeftOutlined, null)), /* @__PURE__ */ import_react20.default.createElement(
689
691
  import_antd14.DatePicker,
690
692
  {
691
693
  placeholder: props.placeholder,
package/dist/index.mjs CHANGED
@@ -336,7 +336,6 @@ var MultipleSelectElement = (props) => {
336
336
 
337
337
  // src/Components/Button.tsx
338
338
  import React11 from "react";
339
- var defaultClassName = "w-[126px] h-[40px] bg-purple-800 text-white rounded-full shadow-lg submit border-none";
340
339
  var ButtonElement = (props) => {
341
340
  const handleClick = typeof props.action === "string" ? () => {
342
341
  console.log("Performing action:", props.action);
@@ -345,7 +344,7 @@ var ButtonElement = (props) => {
345
344
  "button",
346
345
  {
347
346
  onClick: handleClick,
348
- className: `${defaultClassName} ${props.className ? props.className : ""}`
347
+ className: `${props.className ? props.className : ""}`
349
348
  },
350
349
  props.icon && /* @__PURE__ */ React11.createElement("span", { className: props.iconsClassName }, props.icon),
351
350
  props.label
@@ -581,14 +580,17 @@ var TableElement = (props) => {
581
580
  ...row,
582
581
  [columns[0].key]: index + 1
583
582
  }));
583
+ const onChange = (pagination, filters, sorter, extra) => {
584
+ console.log("params", pagination, filters, sorter, extra);
585
+ };
584
586
  return /* @__PURE__ */ React18.createElement(
585
587
  Table2,
586
588
  {
587
589
  dataSource,
588
590
  columns,
589
591
  bordered: true,
590
- pagination: false,
591
- size: props.size && props.size
592
+ size: props.size && props.size,
593
+ onChange
592
594
  }
593
595
  );
594
596
  };
@@ -596,7 +598,7 @@ var TableElement = (props) => {
596
598
  // src/Components/DatePicker.tsx
597
599
  import React19, { useState as useState5 } from "react";
598
600
  import { DatePicker } from "antd";
599
- import { RightOutlined } from "@ant-design/icons";
601
+ import { LeftOutlined, RightOutlined } from "@ant-design/icons";
600
602
  import moment from "moment";
601
603
  var DatePickerElement = (props) => {
602
604
  const [date, setDate] = useState5(null);
@@ -634,7 +636,7 @@ var DatePickerElement = (props) => {
634
636
  props.onChange(newDate.format("lll"));
635
637
  }
636
638
  };
637
- return /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ React19.createElement("img", { src: "file:///C:/Users/srile/Downloads/Vector%20(2).svg", style: { color: "red" } })), /* @__PURE__ */ React19.createElement(
639
+ return /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ React19.createElement(LeftOutlined, null)), /* @__PURE__ */ React19.createElement(
638
640
  DatePicker,
639
641
  {
640
642
  placeholder: props.placeholder,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta182",
3
+ "version": "0.0.11-Beta184",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",