@apexcura/ui-components 0.0.15-Beta25 → 0.0.15-Beta27

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.d.mts CHANGED
@@ -79,7 +79,7 @@ type ElementType = {
79
79
  weekrange?: boolean;
80
80
  message?: string;
81
81
  description?: string;
82
- notificationType?: 'success' | 'info' | 'warning' | 'error';
82
+ notificationType?: "success" | "info" | "warning" | "error";
83
83
  };
84
84
 
85
85
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
package/dist/index.d.ts CHANGED
@@ -79,7 +79,7 @@ type ElementType = {
79
79
  weekrange?: boolean;
80
80
  message?: string;
81
81
  description?: string;
82
- notificationType?: 'success' | 'info' | 'warning' | 'error';
82
+ notificationType?: "success" | "info" | "warning" | "error";
83
83
  };
84
84
 
85
85
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
package/dist/index.js CHANGED
@@ -1067,7 +1067,7 @@ var TabsElement = (props) => {
1067
1067
  props.onChange(props.options?.find((eachOption) => eachOption.key === key));
1068
1068
  }
1069
1069
  };
1070
- return /* @__PURE__ */ import_react26.default.createElement(import_antd19.Tabs, { className: props.containerClassName, items: props.options, onChange: handleChange });
1070
+ return /* @__PURE__ */ import_react26.default.createElement(import_antd19.Tabs, { defaultActiveKey: props.value, className: props.containerClassName, items: props.options, onChange: handleChange });
1071
1071
  };
1072
1072
 
1073
1073
  // src/Components/SwitchElement.tsx
@@ -1643,7 +1643,7 @@ var NotificationAlert = (props) => {
1643
1643
  const notificationType = props.notificationType || "info";
1644
1644
  props.notificationType ? openNotificationType(true, notificationType) : openNotification(true);
1645
1645
  };
1646
- return /* @__PURE__ */ import_react38.default.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ import_react38.default.createElement(import_antd23.Button, { type: "primary", onClick: handleClick, className: props.className }, props.label));
1646
+ return /* @__PURE__ */ import_react38.default.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ import_react38.default.createElement(ButtonElement, { ...props, onClick: handleClick }));
1647
1647
  };
1648
1648
  // Annotate the CommonJS export names for ESM import in node:
1649
1649
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -998,7 +998,7 @@ var TabsElement = (props) => {
998
998
  props.onChange(props.options?.find((eachOption) => eachOption.key === key));
999
999
  }
1000
1000
  };
1001
- return /* @__PURE__ */ React26.createElement(Tabs, { className: props.containerClassName, items: props.options, onChange: handleChange });
1001
+ return /* @__PURE__ */ React26.createElement(Tabs, { defaultActiveKey: props.value, className: props.containerClassName, items: props.options, onChange: handleChange });
1002
1002
  };
1003
1003
 
1004
1004
  // src/Components/SwitchElement.tsx
@@ -1575,7 +1575,7 @@ var ColorPickerElement = (props) => {
1575
1575
 
1576
1576
  // src/Components/NotificationAlert.tsx
1577
1577
  import React38 from "react";
1578
- import { Button as Button3, notification } from "antd";
1578
+ import { notification } from "antd";
1579
1579
  var NotificationAlert = (props) => {
1580
1580
  const [api, contextHolder] = notification.useNotification();
1581
1581
  const openNotificationType = (pauseOnHover, type) => {
@@ -1598,7 +1598,7 @@ var NotificationAlert = (props) => {
1598
1598
  const notificationType = props.notificationType || "info";
1599
1599
  props.notificationType ? openNotificationType(true, notificationType) : openNotification(true);
1600
1600
  };
1601
- return /* @__PURE__ */ React38.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ React38.createElement(Button3, { type: "primary", onClick: handleClick, className: props.className }, props.label));
1601
+ return /* @__PURE__ */ React38.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ React38.createElement(ButtonElement, { ...props, onClick: handleClick }));
1602
1602
  };
1603
1603
  export {
1604
1604
  AddMoreTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta25",
3
+ "version": "0.0.15-Beta27",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",