@apexcura/ui-components 0.0.15-Beta26 → 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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
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?:
|
|
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?:
|
|
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
|
@@ -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(
|
|
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
|
@@ -1575,7 +1575,7 @@ var ColorPickerElement = (props) => {
|
|
|
1575
1575
|
|
|
1576
1576
|
// src/Components/NotificationAlert.tsx
|
|
1577
1577
|
import React38 from "react";
|
|
1578
|
-
import {
|
|
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(
|
|
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,
|