sccoreui 3.2.4 → 3.2.5
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/main.js +1 -9
- package/package.json +14 -3
- package/dist/assets/svg/svg.js +0 -32
- package/dist/components/accordion/accordion.js +0 -11
- package/dist/components/auto-complete/auto-complete.js +0 -10
- package/dist/components/avatar/avatar-group.js +0 -4
- package/dist/components/avatar/avatar.js +0 -4
- package/dist/components/badge/badge.js +0 -4
- package/dist/components/breadcrumb/breacrumb.js +0 -4
- package/dist/components/button/button.js +0 -10
- package/dist/components/button/menu-item.js +0 -2
- package/dist/components/button/speed-dial.js +0 -4
- package/dist/components/button/split-button.js +0 -4
- package/dist/components/calendar/calendar.js +0 -4
- package/dist/components/card/card.js +0 -4
- package/dist/components/carousel/carousel.js +0 -4
- package/dist/components/carousel/tag.js +0 -4
- package/dist/components/chart/chart.js +0 -4
- package/dist/components/checkbox/checkbox.js +0 -10
- package/dist/components/chips/chip.js +0 -15
- package/dist/components/chips/chips.js +0 -4
- package/dist/components/color-picker/color-picker.js +0 -4
- package/dist/components/custom-slider/custom-slider.js +0 -100
- package/dist/components/data-table/column.js +0 -4
- package/dist/components/data-table/data-table.js +0 -4
- package/dist/components/data-table/paginator.js +0 -4
- package/dist/components/data-view/data-view.js +0 -6
- package/dist/components/dialogs/confirm-dialog.js +0 -4
- package/dist/components/dialogs/confirm-popup.js +0 -4
- package/dist/components/dialogs/dialog.js +0 -4
- package/dist/components/divider/divider.js +0 -4
- package/dist/components/dropdown/dropdown.js +0 -19
- package/dist/components/file-upload/file-upload.js +0 -4
- package/dist/components/galleria/galleria.js +0 -5
- package/dist/components/image/image.js +0 -4
- package/dist/components/input/input-mask.js +0 -4
- package/dist/components/input/input-number.js +0 -4
- package/dist/components/input/input-switch.js +0 -4
- package/dist/components/input/input-textarea.js +0 -4
- package/dist/components/input/input.js +0 -4
- package/dist/components/loading-indicator/loading-indicator-custom.js +0 -7
- package/dist/components/megamenu/mega-menu.js +0 -4
- package/dist/components/multi-select/multi-select.js +0 -4
- package/dist/components/overlays/overlay-panel.js +0 -4
- package/dist/components/password/password.js +0 -4
- package/dist/components/progress-bar/progress-bar.js +0 -4
- package/dist/components/progress-steps/progress-steps.js +0 -65
- package/dist/components/progress_bar_round/circle-progress-bar.js +0 -7
- package/dist/components/progress_bar_round/half-circle-progres-bar.js +0 -7
- package/dist/components/radio-button/radio-button.js +0 -4
- package/dist/components/range-slider/slider.js +0 -5
- package/dist/components/rating/rating.js +0 -4
- package/dist/components/side-panel/side-panel.js +0 -4
- package/dist/components/skeleton/skeleton.js +0 -4
- package/dist/components/slider/slider.js +0 -4
- package/dist/components/spinner/spinner.js +0 -4
- package/dist/components/tab-menu/tab-menu.js +0 -4
- package/dist/components/tabview/tabview.js +0 -6
- package/dist/components/toast/toast.js +0 -4
- package/dist/components/toggle/toggle-button.js +0 -4
- package/dist/components/tooltip/tooltip.js +0 -4
- package/dist/components/types/type.js +0 -2
- package/dist/components/utils/classnames.js +0 -4
- package/dist/directives/svg-component.js +0 -33
- package/dist/directives/svg-icons.js +0 -8934
- package/dist/index.js +0 -124
- package/dist/types/Main.d.ts +0 -3
- package/dist/types/assets/svg/svg.d.ts +0 -7
- package/dist/types/components/accordion/accordion.d.ts +0 -3
- package/dist/types/components/auto-complete/auto-complete.d.ts +0 -3
- package/dist/types/components/avatar/avatar-group.d.ts +0 -2
- package/dist/types/components/avatar/avatar.d.ts +0 -2
- package/dist/types/components/badge/badge.d.ts +0 -2
- package/dist/types/components/breadcrumb/breacrumb.d.ts +0 -2
- package/dist/types/components/button/button.d.ts +0 -3
- package/dist/types/components/button/menu-item.d.ts +0 -2
- package/dist/types/components/button/speed-dial.d.ts +0 -2
- package/dist/types/components/button/split-button.d.ts +0 -2
- package/dist/types/components/calendar/calendar.d.ts +0 -2
- package/dist/types/components/card/card.d.ts +0 -2
- package/dist/types/components/carousel/carousel.d.ts +0 -2
- package/dist/types/components/carousel/tag.d.ts +0 -2
- package/dist/types/components/chart/chart.d.ts +0 -2
- package/dist/types/components/checkbox/checkbox.d.ts +0 -3
- package/dist/types/components/chips/chip.d.ts +0 -3
- package/dist/types/components/chips/chips.d.ts +0 -2
- package/dist/types/components/color-picker/color-picker.d.ts +0 -2
- package/dist/types/components/custom-slider/custom-slider.d.ts +0 -3
- package/dist/types/components/data-table/column.d.ts +0 -2
- package/dist/types/components/data-table/data-table.d.ts +0 -2
- package/dist/types/components/data-table/paginator.d.ts +0 -2
- package/dist/types/components/data-view/data-view.d.ts +0 -2
- package/dist/types/components/dialogs/confirm-dialog.d.ts +0 -2
- package/dist/types/components/dialogs/confirm-popup.d.ts +0 -2
- package/dist/types/components/dialogs/dialog.d.ts +0 -2
- package/dist/types/components/divider/divider.d.ts +0 -2
- package/dist/types/components/dropdown/dropdown.d.ts +0 -3
- package/dist/types/components/file-upload/file-upload.d.ts +0 -2
- package/dist/types/components/galleria/galleria.d.ts +0 -2
- package/dist/types/components/image/image.d.ts +0 -2
- package/dist/types/components/input/input-mask.d.ts +0 -2
- package/dist/types/components/input/input-number.d.ts +0 -2
- package/dist/types/components/input/input-switch.d.ts +0 -2
- package/dist/types/components/input/input-textarea.d.ts +0 -2
- package/dist/types/components/input/input.d.ts +0 -2
- package/dist/types/components/loading-indicator/loading-indicator-custom.d.ts +0 -10
- package/dist/types/components/megamenu/mega-menu.d.ts +0 -2
- package/dist/types/components/multi-select/multi-select.d.ts +0 -2
- package/dist/types/components/overlays/overlay-panel.d.ts +0 -2
- package/dist/types/components/password/password.d.ts +0 -2
- package/dist/types/components/progress-bar/progress-bar.d.ts +0 -2
- package/dist/types/components/progress-steps/progress-steps.d.ts +0 -3
- package/dist/types/components/progress_bar_round/circle-progress-bar.d.ts +0 -13
- package/dist/types/components/progress_bar_round/half-circle-progres-bar.d.ts +0 -11
- package/dist/types/components/radio-button/radio-button.d.ts +0 -2
- package/dist/types/components/range-slider/slider.d.ts +0 -2
- package/dist/types/components/rating/rating.d.ts +0 -2
- package/dist/types/components/side-panel/side-panel.d.ts +0 -2
- package/dist/types/components/skeleton/skeleton.d.ts +0 -2
- package/dist/types/components/slider/slider.d.ts +0 -2
- package/dist/types/components/spinner/spinner.d.ts +0 -2
- package/dist/types/components/tab-menu/tab-menu.d.ts +0 -2
- package/dist/types/components/tabview/tabview.d.ts +0 -2
- package/dist/types/components/toast/toast.d.ts +0 -2
- package/dist/types/components/toggle/toggle-button.d.ts +0 -2
- package/dist/types/components/tooltip/tooltip.d.ts +0 -2
- package/dist/types/components/types/type.d.ts +0 -64
- package/dist/types/components/utils/classnames.d.ts +0 -2
- package/dist/types/directives/svg-component.d.ts +0 -8
- package/dist/types/directives/svg-icons.d.ts +0 -4
- package/dist/types/index.d.ts +0 -66
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TabPanel = exports.TabView = void 0;
|
|
4
|
-
const tabview_1 = require("primereact/tabview");
|
|
5
|
-
Object.defineProperty(exports, "TabView", { enumerable: true, get: function () { return tabview_1.TabView; } });
|
|
6
|
-
Object.defineProperty(exports, "TabPanel", { enumerable: true, get: function () { return tabview_1.TabPanel; } });
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
-
const svg_icons_1 = require("./svg-icons");
|
|
5
|
-
const collorPallet = {
|
|
6
|
-
primary: "var(--primary-700)",
|
|
7
|
-
secondary: "var(--yellow-700)",
|
|
8
|
-
success: "var(--green-700)",
|
|
9
|
-
error: "var(--red-700)",
|
|
10
|
-
};
|
|
11
|
-
const colorFunction = (data) => {
|
|
12
|
-
if (data === null || data === void 0 ? void 0 : data.includes("text")) {
|
|
13
|
-
return `var(-${data.replace("text", "")})`;
|
|
14
|
-
}
|
|
15
|
-
else if (data === null || data === void 0 ? void 0 : data.includes("#")) {
|
|
16
|
-
return data;
|
|
17
|
-
}
|
|
18
|
-
else if (Object.keys(collorPallet).includes(data)) {
|
|
19
|
-
return collorPallet[data];
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
return data;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const SvgComponent = ({ icon, size, color, className }) => {
|
|
26
|
-
const data2 = svg_icons_1.iconList.find((iconObject) => iconObject.name === icon);
|
|
27
|
-
const data = data2 === null || data2 === void 0 ? void 0 : data2.svg.replace('width="24" height="24"', `width=${size ? `${size}` : 16} size=${size ? `${size}` : 16}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`).replace('stroke="#667085"', `stroke=${color ? colorFunction(color) : "#667085"}`);
|
|
28
|
-
if (data === undefined) {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
return (0, jsx_runtime_1.jsx)("span", { className: `flex align-items-center justify-content-center${!className ? "" : ` ${className}`}`, dangerouslySetInnerHTML: { __html: data } });
|
|
32
|
-
};
|
|
33
|
-
exports.default = SvgComponent;
|