krl-alfred 2.24.12 → 2.25.0

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.
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { LoadingBarProps } from "./props";
3
+ declare const LoadingBar: ({ title, description, value, total, format, progressText, }: LoadingBarProps) => React.JSX.Element;
4
+ export default LoadingBar;
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ var jsx_runtime_1 = require("react/jsx-runtime");
15
+ var react_1 = require("react");
16
+ var props_1 = require("./props");
17
+ var LoadingBar_styled_1 = require("./LoadingBar.styled");
18
+ var progress_1 = require("./utils/progress");
19
+ var LoadingBar = function (_a) {
20
+ var _b = _a.title, title = _b === void 0 ? props_1.LoadingBarDefault.title : _b, _c = _a.description, description = _c === void 0 ? props_1.LoadingBarDefault.description : _c, _d = _a.value, value = _d === void 0 ? props_1.LoadingBarDefault.value : _d, _e = _a.total, total = _e === void 0 ? props_1.LoadingBarDefault.total : _e, _f = _a.format, format = _f === void 0 ? props_1.LoadingBarDefault.format : _f, _g = _a.progressText, progressText = _g === void 0 ? props_1.LoadingBarDefault.progressText : _g;
21
+ var titleId = (0, react_1.useId)();
22
+ var descriptionId = (0, react_1.useId)();
23
+ var progress = (0, progress_1.getLoadingProgress)(value, total);
24
+ var current = (0, progress_1.getLoadingCurrent)(value, total);
25
+ var max = (0, progress_1.getLoadingTotal)(total);
26
+ return ((0, jsx_runtime_1.jsxs)(LoadingBar_styled_1.LoadingBarStyled, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "header" }, { children: [title ? ((0, jsx_runtime_1.jsx)("p", __assign({ className: "title", id: titleId }, { children: title }))) : null, (0, jsx_runtime_1.jsx)("p", __assign({ className: "value" }, { children: progressText || (0, progress_1.formatLoadingValue)(value, total, format) }))] })), (0, jsx_runtime_1.jsxs)("div", __assign({ className: "body" }, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: "track", role: "progressbar", "aria-valuemin": 0, "aria-valuemax": max, "aria-valuenow": current, "aria-labelledby": title ? titleId : undefined, "aria-describedby": description ? descriptionId : undefined }, { children: (0, jsx_runtime_1.jsx)("div", { className: "fill", style: { width: "".concat(progress, "%") } }) })), description ? ((0, jsx_runtime_1.jsx)("p", __assign({ className: "description", id: descriptionId }, { children: description }))) : null] }))] }));
27
+ };
28
+ exports.default = LoadingBar;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const LoadingBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.LoadingBarStyled = void 0;
11
+ var styled_components_1 = __importDefault(require("styled-components"));
12
+ exports.LoadingBarStyled = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 16px;\n width: 100%;\n\n .header {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n }\n\n .title {\n margin: 0;\n color: var(--dark);\n font: var(--caption-semi-bold-12-15);\n }\n\n .value {\n margin: 0 0 0 auto;\n flex-shrink: 0;\n color: var(--grey-50);\n font: var(--caption-semi-bold-11-13);\n white-space: nowrap;\n }\n\n .body {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n }\n\n .track {\n width: 100%;\n height: 4px;\n border-radius: 16px;\n background-color: var(--dark-opacity-5);\n overflow: hidden;\n }\n\n .fill {\n height: 4px;\n border-radius: 16px;\n background-color: var(--primary);\n transition: width 0.2s ease;\n }\n\n .description {\n margin: 0;\n width: 100%;\n color: var(--dark-opacity-50);\n font: var(--caption-medium-12-15);\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 16px;\n width: 100%;\n\n .header {\n display: flex;\n align-items: flex-end;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n }\n\n .title {\n margin: 0;\n color: var(--dark);\n font: var(--caption-semi-bold-12-15);\n }\n\n .value {\n margin: 0 0 0 auto;\n flex-shrink: 0;\n color: var(--grey-50);\n font: var(--caption-semi-bold-11-13);\n white-space: nowrap;\n }\n\n .body {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n }\n\n .track {\n width: 100%;\n height: 4px;\n border-radius: 16px;\n background-color: var(--dark-opacity-5);\n overflow: hidden;\n }\n\n .fill {\n height: 4px;\n border-radius: 16px;\n background-color: var(--primary);\n transition: width 0.2s ease;\n }\n\n .description {\n margin: 0;\n width: 100%;\n color: var(--dark-opacity-50);\n font: var(--caption-medium-12-15);\n }\n"])));
13
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var jsx_runtime_1 = require("react/jsx-runtime");
18
+ var react_1 = require("@testing-library/react");
19
+ var LoadingBar_1 = __importDefault(require("./LoadingBar"));
20
+ var props_1 = require("./props");
21
+ var renderLoadingBar = function (props) {
22
+ if (props === void 0) { props = {}; }
23
+ return (0, react_1.render)((0, jsx_runtime_1.jsx)(LoadingBar_1.default, __assign({}, props_1.LoadingBarDefault, props)));
24
+ };
25
+ describe("LoadingBar", function () {
26
+ it("renders the title, description and fraction label", function () {
27
+ renderLoadingBar({
28
+ title: "Ürünler getiriliyor...",
29
+ description: "Aktarım devam eder.",
30
+ value: 268,
31
+ total: 510,
32
+ format: "fraction",
33
+ });
34
+ expect(react_1.screen.getByText("Ürünler getiriliyor...")).toBeInTheDocument();
35
+ expect(react_1.screen.getByText("Aktarım devam eder.")).toBeInTheDocument();
36
+ expect(react_1.screen.getByText("268 / 510")).toBeInTheDocument();
37
+ expect(react_1.screen.getByRole("progressbar")).toHaveAttribute("aria-valuenow", "268");
38
+ expect(react_1.screen.getByRole("progressbar")).toHaveAttribute("aria-valuemax", "510");
39
+ });
40
+ it("renders a percent label", function () {
41
+ renderLoadingBar({ value: 20, total: 100, format: "percent" });
42
+ expect(react_1.screen.getByText("%20 / %100")).toBeInTheDocument();
43
+ });
44
+ it("clamps the bar when value is outside the total", function () {
45
+ var container = renderLoadingBar({ value: 800, total: 510, format: "percent" }).container;
46
+ expect(react_1.screen.getByText("%100 / %100")).toBeInTheDocument();
47
+ expect(react_1.screen.getByRole("progressbar")).toHaveAttribute("aria-valuenow", "510");
48
+ expect(container.querySelector(".fill")).toHaveStyle({ width: "100%" });
49
+ });
50
+ it("stays at zero when total is not positive", function () {
51
+ var container = renderLoadingBar({ value: 10, total: 0, format: "fraction" }).container;
52
+ expect(react_1.screen.getByText("10 / 0")).toBeInTheDocument();
53
+ expect(react_1.screen.getByRole("progressbar")).toHaveAttribute("aria-valuenow", "0");
54
+ expect(react_1.screen.getByRole("progressbar")).toHaveAttribute("aria-valuemax", "0");
55
+ expect(container.querySelector(".fill")).toHaveStyle({ width: "0%" });
56
+ });
57
+ it("renders progressText instead of the generated label", function () {
58
+ renderLoadingBar({
59
+ value: 268,
60
+ total: 510,
61
+ format: "fraction",
62
+ progressText: "268 ürün",
63
+ });
64
+ expect(react_1.screen.getByText("268 ürün")).toBeInTheDocument();
65
+ expect(react_1.screen.queryByText("268 / 510")).not.toBeInTheDocument();
66
+ });
67
+ it("does not execute HTML passed as progressText", function () {
68
+ renderLoadingBar({
69
+ progressText: '<script>window.__xssProgress = true</script>%20',
70
+ value: 20,
71
+ total: 100,
72
+ });
73
+ expect(react_1.screen.getByText(/%20/)).toBeInTheDocument();
74
+ expect(document.querySelector("script")).not.toBeInTheDocument();
75
+ expect(window.__xssProgress).toBeUndefined();
76
+ });
77
+ it("omits empty title and description", function () {
78
+ renderLoadingBar({ title: "", description: "", value: 1, total: 4 });
79
+ expect(react_1.screen.getByText("1 / 4")).toBeInTheDocument();
80
+ expect(document.querySelector(".title")).not.toBeInTheDocument();
81
+ expect(document.querySelector(".description")).not.toBeInTheDocument();
82
+ });
83
+ it("does not execute HTML passed as title or description", function () {
84
+ renderLoadingBar({
85
+ title: '<script>window.__xssTitle = true</script>Başlık',
86
+ description: '<img src="x" onerror="window.__xssDesc = true" />Açıklama',
87
+ value: 1,
88
+ total: 2,
89
+ });
90
+ expect(react_1.screen.getByText(/Başlık/)).toBeInTheDocument();
91
+ expect(react_1.screen.getByText(/Açıklama/)).toBeInTheDocument();
92
+ expect(document.querySelector("script")).not.toBeInTheDocument();
93
+ expect(document.querySelector("img")).not.toBeInTheDocument();
94
+ expect(window.__xssTitle).toBeUndefined();
95
+ expect(window.__xssDesc).toBeUndefined();
96
+ });
97
+ });
@@ -0,0 +1 @@
1
+ export { default } from "./LoadingBar";
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.default = void 0;
7
+ var LoadingBar_1 = require("./LoadingBar");
8
+ Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(LoadingBar_1).default; } });
@@ -0,0 +1,12 @@
1
+ import { LoadingBarFormat } from "./utils/progress";
2
+ export declare const formats: readonly ["fraction", "percent"];
3
+ export interface LoadingBar {
4
+ title?: string;
5
+ description?: string;
6
+ value?: number;
7
+ total?: number;
8
+ format?: LoadingBarFormat;
9
+ progressText?: string;
10
+ }
11
+ export declare const LoadingBarDefault: LoadingBar;
12
+ export type LoadingBarProps = typeof LoadingBarDefault;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LoadingBarDefault = exports.formats = void 0;
4
+ exports.formats = ["fraction", "percent"];
5
+ exports.LoadingBarDefault = {
6
+ title: "",
7
+ description: "",
8
+ value: 0,
9
+ total: 100,
10
+ format: "fraction",
11
+ progressText: "",
12
+ };
@@ -0,0 +1,78 @@
1
+ import React from "react";
2
+ declare const _default: {
3
+ title: string;
4
+ component: (props: any) => React.JSX.Element;
5
+ tags: string[];
6
+ argTypes: {
7
+ title: {
8
+ control: string;
9
+ };
10
+ description: {
11
+ control: string;
12
+ };
13
+ value: {
14
+ control: string;
15
+ };
16
+ total: {
17
+ control: string;
18
+ };
19
+ format: {
20
+ control: string;
21
+ options: readonly ["fraction", "percent"];
22
+ };
23
+ progressText: {
24
+ control: string;
25
+ };
26
+ };
27
+ };
28
+ export default _default;
29
+ export declare const Default: {
30
+ args: {
31
+ title: string;
32
+ description: string;
33
+ value: number;
34
+ total: number;
35
+ format: "fraction";
36
+ progressText: string;
37
+ };
38
+ };
39
+ export declare const Percent: {
40
+ args: {
41
+ value: number;
42
+ total: number;
43
+ format: string;
44
+ title: string;
45
+ description: string;
46
+ progressText: string;
47
+ };
48
+ };
49
+ export declare const WithoutDescription: {
50
+ args: {
51
+ description: string;
52
+ title: string;
53
+ value: number;
54
+ total: number;
55
+ format: "fraction";
56
+ progressText: string;
57
+ };
58
+ };
59
+ export declare const CustomProgressText: {
60
+ args: {
61
+ progressText: string;
62
+ title: string;
63
+ description: string;
64
+ value: number;
65
+ total: number;
66
+ format: "fraction";
67
+ };
68
+ };
69
+ export declare const TitleOnly: {
70
+ args: {
71
+ description: string;
72
+ value: number;
73
+ total: number;
74
+ title: string;
75
+ format: "fraction";
76
+ progressText: string;
77
+ };
78
+ };
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.TitleOnly = exports.CustomProgressText = exports.WithoutDescription = exports.Percent = exports.Default = void 0;
18
+ var jsx_runtime_1 = require("react/jsx-runtime");
19
+ var LoadingBar_1 = __importDefault(require("../LoadingBar"));
20
+ var props_1 = require("../props");
21
+ var baseArgs = {
22
+ title: "Ürünler getiriliyor...",
23
+ description: "Bu işlem arka planda çalışıyor. Sayfadan ayrılabilirsin, aktarım devam eder.",
24
+ value: 268,
25
+ total: 510,
26
+ format: "fraction",
27
+ progressText: "",
28
+ };
29
+ exports.default = {
30
+ title: "Components/LoadingBar",
31
+ component: function (props) { return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { width: 920 } }, { children: (0, jsx_runtime_1.jsx)(LoadingBar_1.default, __assign({}, props)) }))); },
32
+ tags: ["autodocs"],
33
+ argTypes: {
34
+ title: { control: "text" },
35
+ description: { control: "text" },
36
+ value: { control: "number" },
37
+ total: { control: "number" },
38
+ format: { control: "select", options: props_1.formats },
39
+ progressText: { control: "text" },
40
+ },
41
+ };
42
+ exports.Default = {
43
+ args: __assign({}, baseArgs),
44
+ };
45
+ exports.Percent = {
46
+ args: __assign(__assign({}, baseArgs), { value: 20, total: 100, format: "percent" }),
47
+ };
48
+ exports.WithoutDescription = {
49
+ args: __assign(__assign({}, baseArgs), { description: "" }),
50
+ };
51
+ exports.CustomProgressText = {
52
+ args: __assign(__assign({}, baseArgs), { progressText: "268 ürün" }),
53
+ };
54
+ exports.TitleOnly = {
55
+ args: __assign(__assign({}, baseArgs), { description: "", value: 0, total: 100 }),
56
+ };
@@ -0,0 +1,5 @@
1
+ export type LoadingBarFormat = "fraction" | "percent";
2
+ export declare const getLoadingTotal: (total: number) => number;
3
+ export declare const getLoadingProgress: (value: number, total: number) => number;
4
+ export declare const getLoadingCurrent: (value: number, total: number) => number;
5
+ export declare const formatLoadingValue: (value: number, total: number, format: LoadingBarFormat) => string;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.formatLoadingValue = exports.getLoadingCurrent = exports.getLoadingProgress = exports.getLoadingTotal = void 0;
4
+ var toFiniteNumber = function (value) { return (Number.isFinite(value) ? value : 0); };
5
+ var getLoadingTotal = function (total) {
6
+ var safeTotal = toFiniteNumber(total);
7
+ return safeTotal > 0 ? safeTotal : 0;
8
+ };
9
+ exports.getLoadingTotal = getLoadingTotal;
10
+ var getLoadingProgress = function (value, total) {
11
+ var safeTotal = (0, exports.getLoadingTotal)(total);
12
+ if (safeTotal === 0) {
13
+ return 0;
14
+ }
15
+ var ratio = (toFiniteNumber(value) / safeTotal) * 100;
16
+ return Math.min(100, Math.max(0, ratio));
17
+ };
18
+ exports.getLoadingProgress = getLoadingProgress;
19
+ var getLoadingCurrent = function (value, total) {
20
+ var safeTotal = (0, exports.getLoadingTotal)(total);
21
+ if (safeTotal === 0) {
22
+ return 0;
23
+ }
24
+ return Math.min(safeTotal, Math.max(0, toFiniteNumber(value)));
25
+ };
26
+ exports.getLoadingCurrent = getLoadingCurrent;
27
+ var formatLoadingValue = function (value, total, format) {
28
+ var safeTotal = (0, exports.getLoadingTotal)(total);
29
+ var safeValue = Math.max(0, toFiniteNumber(value));
30
+ if (format === "percent") {
31
+ return "%".concat(Math.round((0, exports.getLoadingProgress)(value, total)), " / %100");
32
+ }
33
+ return "".concat(safeValue, " / ").concat(safeTotal);
34
+ };
35
+ exports.formatLoadingValue = formatLoadingValue;
package/dist/index.d.ts CHANGED
@@ -66,4 +66,5 @@ import Tag from "./components/Tag";
66
66
  import TagInput from "./components/TagInput";
67
67
  import RichTextEditor from "./components/RichTextEditor";
68
68
  import ColorCard from "./components/ColorCard";
69
- export { Button, Breadcrumbs, CategoryMenu, Checkbox, CircleProgress, Input, Modal, OtpInput, Stepper, Alert, Agreement, Icon, RadioButton, ActionButton, Textarea, SearchBox, Divider, Accordion, toast, Toaster, SuggestBox, Badges, SelectBox, TextLink, Tooltip, InsuranceBox, ListGroup, InfoBox, CouponCode, ShoppingCartProduct, Loader, InlineProgress, Dropdown, CampaignCard, initReactI18next, initi18n, enLocale, trLocale, useTranslation, ReviewCard, AddressCard, InstallmentBox, AutocompleteInput, BannerCard, ProductCardVertical, ProductCardHorizontal, ProductCardHorizontalSm, ProductCardHorizontalMd, ProductCardCheckbox, ProductCardRadio, Tabs, PaymentCart, OptionMenu, DropdownButton, Table, DescriptionCard, Pagination, SkeletonLoader, RadioScale, BlogCard, ReviewBlock, VideoCard, StepSlider, RadioGroup, CheckboxGroup, QuantitySelector, Tag, TagInput, RichTextEditor, ColorCard };
69
+ import LoadingBar from "./components/LoadingBar";
70
+ export { Button, Breadcrumbs, CategoryMenu, Checkbox, CircleProgress, Input, Modal, OtpInput, Stepper, Alert, Agreement, Icon, RadioButton, ActionButton, Textarea, SearchBox, Divider, Accordion, toast, Toaster, SuggestBox, Badges, SelectBox, TextLink, Tooltip, InsuranceBox, ListGroup, InfoBox, CouponCode, ShoppingCartProduct, Loader, InlineProgress, Dropdown, CampaignCard, initReactI18next, initi18n, enLocale, trLocale, useTranslation, ReviewCard, AddressCard, InstallmentBox, AutocompleteInput, BannerCard, ProductCardVertical, ProductCardHorizontal, ProductCardHorizontalSm, ProductCardHorizontalMd, ProductCardCheckbox, ProductCardRadio, Tabs, PaymentCart, OptionMenu, DropdownButton, Table, DescriptionCard, Pagination, SkeletonLoader, RadioScale, BlogCard, ReviewBlock, VideoCard, StepSlider, RadioGroup, CheckboxGroup, QuantitySelector, Tag, TagInput, RichTextEditor, ColorCard, LoadingBar };
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ProductCardRadio = exports.ProductCardCheckbox = exports.ProductCardHorizontalMd = exports.ProductCardHorizontalSm = exports.ProductCardHorizontal = exports.ProductCardVertical = exports.BannerCard = exports.AutocompleteInput = exports.InstallmentBox = exports.AddressCard = exports.ReviewCard = exports.useTranslation = exports.trLocale = exports.enLocale = exports.initi18n = exports.initReactI18next = exports.CampaignCard = exports.Dropdown = exports.InlineProgress = exports.Loader = exports.ShoppingCartProduct = exports.CouponCode = exports.InfoBox = exports.ListGroup = exports.InsuranceBox = exports.Tooltip = exports.TextLink = exports.SelectBox = exports.Badges = exports.SuggestBox = exports.Toaster = exports.toast = exports.Accordion = exports.Divider = exports.SearchBox = exports.Textarea = exports.ActionButton = exports.RadioButton = exports.Icon = exports.Agreement = exports.Alert = exports.Stepper = exports.OtpInput = exports.Modal = exports.Input = exports.CircleProgress = exports.Checkbox = exports.CategoryMenu = exports.Breadcrumbs = exports.Button = void 0;
7
- exports.ColorCard = exports.RichTextEditor = exports.TagInput = exports.Tag = exports.QuantitySelector = exports.CheckboxGroup = exports.RadioGroup = exports.StepSlider = exports.VideoCard = exports.ReviewBlock = exports.BlogCard = exports.RadioScale = exports.SkeletonLoader = exports.Pagination = exports.DescriptionCard = exports.Table = exports.DropdownButton = exports.OptionMenu = exports.PaymentCart = exports.Tabs = void 0;
7
+ exports.LoadingBar = exports.ColorCard = exports.RichTextEditor = exports.TagInput = exports.Tag = exports.QuantitySelector = exports.CheckboxGroup = exports.RadioGroup = exports.StepSlider = exports.VideoCard = exports.ReviewBlock = exports.BlogCard = exports.RadioScale = exports.SkeletonLoader = exports.Pagination = exports.DescriptionCard = exports.Table = exports.DropdownButton = exports.OptionMenu = exports.PaymentCart = exports.Tabs = void 0;
8
8
  var react_i18next_1 = require("react-i18next");
9
9
  Object.defineProperty(exports, "initReactI18next", { enumerable: true, get: function () { return react_i18next_1.initReactI18next; } });
10
10
  Object.defineProperty(exports, "useTranslation", { enumerable: true, get: function () { return react_i18next_1.useTranslation; } });
@@ -143,3 +143,5 @@ var RichTextEditor_1 = __importDefault(require("./components/RichTextEditor"));
143
143
  exports.RichTextEditor = RichTextEditor_1.default;
144
144
  var ColorCard_1 = __importDefault(require("./components/ColorCard"));
145
145
  exports.ColorCard = ColorCard_1.default;
146
+ var LoadingBar_1 = __importDefault(require("./components/LoadingBar"));
147
+ exports.LoadingBar = LoadingBar_1.default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "krl-alfred",
3
- "version": "2.24.12",
3
+ "version": "2.25.0",
4
4
  "files": [
5
5
  "dist"
6
6
  ],