@apexcura/ui-components 0.0.15-Beta100 → 0.0.15-Beta101
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +9 -7
- package/dist/index.mjs +8 -7
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -165,4 +165,6 @@ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
165
165
|
|
|
166
166
|
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
|
|
169
|
+
|
|
170
|
+
export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, Editor, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, TooltipElement, Upload };
|
package/dist/index.d.ts
CHANGED
|
@@ -165,4 +165,6 @@ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
|
165
165
|
|
|
166
166
|
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
167
167
|
|
|
168
|
-
|
|
168
|
+
declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
|
|
169
|
+
|
|
170
|
+
export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, Editor, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, TooltipElement, Upload };
|
package/dist/index.js
CHANGED
|
@@ -64,6 +64,7 @@ __export(src_exports, {
|
|
|
64
64
|
TabsElement: () => TabsElement,
|
|
65
65
|
TextElement: () => TextElement,
|
|
66
66
|
TextareaElement: () => TextareaElement,
|
|
67
|
+
TooltipElement: () => TooltipElement,
|
|
67
68
|
Upload: () => Upload2
|
|
68
69
|
});
|
|
69
70
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -380,12 +381,12 @@ var import_react10 = __toESM(require("react"));
|
|
|
380
381
|
var import_ckeditor5_react = require("@ckeditor/ckeditor5-react");
|
|
381
382
|
var import_ckeditor5_build_classic = __toESM(require("@ckeditor/ckeditor5-build-classic"));
|
|
382
383
|
var Editor2 = (props) => {
|
|
383
|
-
return /* @__PURE__ */ import_react10.default.createElement("div", {
|
|
384
|
+
return /* @__PURE__ */ import_react10.default.createElement("div", { style: { height: "500px" } }, /* @__PURE__ */ import_react10.default.createElement(
|
|
384
385
|
import_ckeditor5_react.CKEditor,
|
|
385
386
|
{
|
|
386
387
|
editor: import_ckeditor5_build_classic.default,
|
|
387
388
|
config: {
|
|
388
|
-
removePlugins: ["CKEditorInspector"],
|
|
389
|
+
removePlugins: ["CKEditorInspector", "PoweredBy"],
|
|
389
390
|
placeholder: `Enter Text`,
|
|
390
391
|
toolbar: {
|
|
391
392
|
items: [
|
|
@@ -406,7 +407,6 @@ var Editor2 = (props) => {
|
|
|
406
407
|
"|",
|
|
407
408
|
"insertTable",
|
|
408
409
|
"blockQuote",
|
|
409
|
-
"pageBreak",
|
|
410
410
|
"|",
|
|
411
411
|
"selectAll"
|
|
412
412
|
]
|
|
@@ -416,10 +416,6 @@ var Editor2 = (props) => {
|
|
|
416
416
|
onChange: (event, editor) => {
|
|
417
417
|
console.log(editor.getData());
|
|
418
418
|
props.onChange && props.onChange(editor.getData());
|
|
419
|
-
},
|
|
420
|
-
onBlur: (event, editor) => {
|
|
421
|
-
},
|
|
422
|
-
onFocus: (event, editor) => {
|
|
423
419
|
}
|
|
424
420
|
}
|
|
425
421
|
));
|
|
@@ -1779,6 +1775,11 @@ var NotificationAlert = (props) => {
|
|
|
1779
1775
|
};
|
|
1780
1776
|
return /* @__PURE__ */ import_react40.default.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ import_react40.default.createElement(ButtonElement, { ...props, onClick: handleClick }));
|
|
1781
1777
|
};
|
|
1778
|
+
|
|
1779
|
+
// src/Components/TooltipElement.tsx
|
|
1780
|
+
var import_react41 = __toESM(require("react"));
|
|
1781
|
+
var import_antd24 = require("antd");
|
|
1782
|
+
var TooltipElement = (props) => /* @__PURE__ */ import_react41.default.createElement(import_antd24.Tooltip, { title: props.title }, /* @__PURE__ */ import_react41.default.createElement("span", null, props.description));
|
|
1782
1783
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1783
1784
|
0 && (module.exports = {
|
|
1784
1785
|
AddMoreTable,
|
|
@@ -1815,5 +1816,6 @@ var NotificationAlert = (props) => {
|
|
|
1815
1816
|
TabsElement,
|
|
1816
1817
|
TextElement,
|
|
1817
1818
|
TextareaElement,
|
|
1819
|
+
TooltipElement,
|
|
1818
1820
|
Upload
|
|
1819
1821
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -310,12 +310,12 @@ import React9 from "react";
|
|
|
310
310
|
import { CKEditor } from "@ckeditor/ckeditor5-react";
|
|
311
311
|
import ClassicEditor from "@ckeditor/ckeditor5-build-classic";
|
|
312
312
|
var Editor2 = (props) => {
|
|
313
|
-
return /* @__PURE__ */ React9.createElement("div", {
|
|
313
|
+
return /* @__PURE__ */ React9.createElement("div", { style: { height: "500px" } }, /* @__PURE__ */ React9.createElement(
|
|
314
314
|
CKEditor,
|
|
315
315
|
{
|
|
316
316
|
editor: ClassicEditor,
|
|
317
317
|
config: {
|
|
318
|
-
removePlugins: ["CKEditorInspector"],
|
|
318
|
+
removePlugins: ["CKEditorInspector", "PoweredBy"],
|
|
319
319
|
placeholder: `Enter Text`,
|
|
320
320
|
toolbar: {
|
|
321
321
|
items: [
|
|
@@ -336,7 +336,6 @@ var Editor2 = (props) => {
|
|
|
336
336
|
"|",
|
|
337
337
|
"insertTable",
|
|
338
338
|
"blockQuote",
|
|
339
|
-
"pageBreak",
|
|
340
339
|
"|",
|
|
341
340
|
"selectAll"
|
|
342
341
|
]
|
|
@@ -346,10 +345,6 @@ var Editor2 = (props) => {
|
|
|
346
345
|
onChange: (event, editor) => {
|
|
347
346
|
console.log(editor.getData());
|
|
348
347
|
props.onChange && props.onChange(editor.getData());
|
|
349
|
-
},
|
|
350
|
-
onBlur: (event, editor) => {
|
|
351
|
-
},
|
|
352
|
-
onFocus: (event, editor) => {
|
|
353
348
|
}
|
|
354
349
|
}
|
|
355
350
|
));
|
|
@@ -1733,6 +1728,11 @@ var NotificationAlert = (props) => {
|
|
|
1733
1728
|
};
|
|
1734
1729
|
return /* @__PURE__ */ React39.createElement("div", { className: props.containerClassName }, contextHolder, /* @__PURE__ */ React39.createElement(ButtonElement, { ...props, onClick: handleClick }));
|
|
1735
1730
|
};
|
|
1731
|
+
|
|
1732
|
+
// src/Components/TooltipElement.tsx
|
|
1733
|
+
import React40 from "react";
|
|
1734
|
+
import { Tooltip as Tooltip5 } from "antd";
|
|
1735
|
+
var TooltipElement = (props) => /* @__PURE__ */ React40.createElement(Tooltip5, { title: props.title }, /* @__PURE__ */ React40.createElement("span", null, props.description));
|
|
1736
1736
|
export {
|
|
1737
1737
|
AddMoreTable,
|
|
1738
1738
|
BarChart,
|
|
@@ -1768,5 +1768,6 @@ export {
|
|
|
1768
1768
|
TabsElement,
|
|
1769
1769
|
TextElement,
|
|
1770
1770
|
TextareaElement,
|
|
1771
|
+
TooltipElement,
|
|
1771
1772
|
Upload2 as Upload
|
|
1772
1773
|
};
|