krl-alfred 2.18.24 → 2.20.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.
Files changed (97) hide show
  1. package/dist/components/AddressCard/AddressCard.d.ts +1 -1
  2. package/dist/components/AddressCard/AddressCard.js +2 -2
  3. package/dist/components/AddressCard/AddressCard.styled.d.ts +1 -0
  4. package/dist/components/AddressCard/AddressCard.styled.js +4 -3
  5. package/dist/components/AddressCard/props.d.ts +4 -0
  6. package/dist/components/AddressCard/props.js +2 -0
  7. package/dist/components/AddressCard/stories/AddressCard.stories.d.ts +39 -0
  8. package/dist/components/AddressCard/stories/AddressCard.stories.js +42 -1
  9. package/dist/components/Button/Button.js +6 -4
  10. package/dist/components/Button/Button.styled.js +2 -2
  11. package/dist/components/Button/props.d.ts +4 -0
  12. package/dist/components/Button/props.js +3 -1
  13. package/dist/components/Button/stories/Button.stories.d.ts +19 -0
  14. package/dist/components/Button/stories/Button.stories.js +5 -1
  15. package/dist/components/Checkbox/Checkbox.d.ts +1 -1
  16. package/dist/components/Checkbox/Checkbox.js +3 -7
  17. package/dist/components/Checkbox/stories/Checkbox.stories.d.ts +1 -1
  18. package/dist/components/Icon/iconList/ForwardMd.d.ts +3 -0
  19. package/dist/components/Icon/iconList/ForwardMd.js +40 -0
  20. package/dist/components/Icon/iconList/PauseMd.d.ts +3 -0
  21. package/dist/components/Icon/iconList/PauseMd.js +40 -0
  22. package/dist/components/Icon/iconList/PlayMd.d.ts +3 -0
  23. package/dist/components/Icon/iconList/PlayMd.js +40 -0
  24. package/dist/components/Icon/iconList/Rectangle.js +1 -1
  25. package/dist/components/Icon/iconList/TimeCircleMd.d.ts +3 -0
  26. package/dist/components/Icon/iconList/TimeCircleMd.js +40 -0
  27. package/dist/components/Icon/iconList/index.d.ts +17 -1
  28. package/dist/components/Icon/iconList/index.js +28 -4
  29. package/dist/components/InfoBox/InfoBox.d.ts +1 -1
  30. package/dist/components/InfoBox/InfoBox.js +5 -5
  31. package/dist/components/InfoBox/InfoBox.styled.js +4 -0
  32. package/dist/components/InfoBox/props.d.ts +1 -0
  33. package/dist/components/InfoBox/props.js +2 -1
  34. package/dist/components/InfoBox/stories/InfoBox.stories.d.ts +19 -0
  35. package/dist/components/InfoBox/stories/InfoBox.stories.js +8 -1
  36. package/dist/components/Input/Input.d.ts +1 -1
  37. package/dist/components/Input/Input.js +9 -9
  38. package/dist/components/Input/Input.styled.js +1 -1
  39. package/dist/components/Input/props.d.ts +1 -0
  40. package/dist/components/Input/props.js +1 -0
  41. package/dist/components/Input/stories/Input.stories.d.ts +3 -0
  42. package/dist/components/Input/stories/Input.stories.js +1 -0
  43. package/dist/components/ProductCardHorizontalMd/ProductCardHorizontalMd.d.ts +3 -0
  44. package/dist/components/ProductCardHorizontalMd/ProductCardHorizontalMd.js +53 -0
  45. package/dist/components/ProductCardHorizontalMd/ProductCardHorizontalMd.styled.d.ts +20 -0
  46. package/dist/components/ProductCardHorizontalMd/ProductCardHorizontalMd.styled.js +35 -0
  47. package/dist/components/ProductCardHorizontalMd/index.d.ts +1 -0
  48. package/dist/components/ProductCardHorizontalMd/index.js +8 -0
  49. package/dist/components/ProductCardHorizontalMd/props.d.ts +33 -0
  50. package/dist/components/ProductCardHorizontalMd/props.js +23 -0
  51. package/dist/components/ProductCardHorizontalMd/stories/ProductCardHorizontalMd.stories.d.ts +210 -0
  52. package/dist/components/ProductCardHorizontalMd/stories/ProductCardHorizontalMd.stories.js +86 -0
  53. package/dist/components/ProductCardHorizontalSm/ProductCardHorizontalSm.d.ts +1 -1
  54. package/dist/components/ProductCardHorizontalSm/ProductCardHorizontalSm.js +3 -13
  55. package/dist/components/ProductCardHorizontalSm/ProductCardHorizontalSm.styled.d.ts +1 -0
  56. package/dist/components/ProductCardHorizontalSm/ProductCardHorizontalSm.styled.js +12 -11
  57. package/dist/components/ProductCardHorizontalSm/props.d.ts +2 -0
  58. package/dist/components/ProductCardHorizontalSm/props.js +1 -0
  59. package/dist/components/ProductCardHorizontalSm/stories/ProductCardHorizontalSm.stories.d.ts +39 -0
  60. package/dist/components/ProductCardHorizontalSm/stories/ProductCardHorizontalSm.stories.js +9 -1
  61. package/dist/components/QuantitySelector/QuantitySelector.d.ts +4 -0
  62. package/dist/components/QuantitySelector/QuantitySelector.js +31 -0
  63. package/dist/components/QuantitySelector/QuantitySelector.styled.d.ts +7 -0
  64. package/dist/components/QuantitySelector/QuantitySelector.styled.js +20 -0
  65. package/dist/components/QuantitySelector/index.d.ts +1 -0
  66. package/dist/components/QuantitySelector/index.js +8 -0
  67. package/dist/components/QuantitySelector/props.d.ts +25 -0
  68. package/dist/components/QuantitySelector/props.js +19 -0
  69. package/dist/components/QuantitySelector/stories/QuantitySelector.stories.d.ts +90 -0
  70. package/dist/components/QuantitySelector/stories/QuantitySelector.stories.js +58 -0
  71. package/dist/components/RadioButton/layouts/basic/Basic.d.ts +1 -1
  72. package/dist/components/RadioButton/layouts/basic/Basic.js +3 -7
  73. package/dist/components/RadioButton/layouts/boxed/Boxed.d.ts +1 -1
  74. package/dist/components/RadioButton/layouts/boxed/Boxed.js +3 -7
  75. package/dist/components/RadioButton/layouts/boxedMd/BoxedMd.d.ts +1 -1
  76. package/dist/components/RadioButton/layouts/boxedMd/BoxedMd.js +3 -7
  77. package/dist/components/RadioButton/layouts/boxedSm/BoxedSm.d.ts +1 -1
  78. package/dist/components/RadioButton/layouts/boxedSm/BoxedSm.js +3 -7
  79. package/dist/components/RadioButton/layouts/boxedWithIcon/BoxedWithIcon.d.ts +1 -1
  80. package/dist/components/RadioButton/layouts/boxedWithIcon/BoxedWithIcon.js +3 -10
  81. package/dist/components/RadioButton/layouts/horizontal/Horizontal.js +3 -2
  82. package/dist/components/ShoppingCartProduct/ShoppingCartProduct.js +3 -1
  83. package/dist/components/ShoppingCartProduct/ShoppingCartProduct.styled.d.ts +0 -1
  84. package/dist/components/ShoppingCartProduct/ShoppingCartProduct.styled.js +3 -4
  85. package/dist/components/Textarea/Textarea.d.ts +1 -1
  86. package/dist/components/Textarea/Textarea.js +2 -2
  87. package/dist/components/Textarea/props.d.ts +2 -0
  88. package/dist/components/Textarea/props.js +1 -0
  89. package/dist/components/Textarea/stories/Textarea.stories.d.ts +4 -1
  90. package/dist/components/Textarea/stories/Textarea.stories.js +1 -0
  91. package/dist/index.d.ts +3 -1
  92. package/dist/index.js +6 -2
  93. package/dist/style/style.min.css +1 -1
  94. package/dist/style/style.min.css.map +1 -1
  95. package/dist/utils/getRootCssVariable.d.ts +3 -0
  96. package/dist/utils/getRootCssVariable.js +13 -0
  97. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { AddressCardProps } from "./props";
3
- declare const AddressCard: ({ title, description, handleUpdate, onChange, checked, isShowEditBtn, id, minHeight, name, value, disabled }: AddressCardProps) => React.JSX.Element;
3
+ declare const AddressCard: ({ title, description, content, handleUpdate, onChange, checked, isShowEditBtn, id, minHeight, name, value, disabled, hasBlockDescription }: AddressCardProps) => React.JSX.Element;
4
4
  export default AddressCard;
@@ -21,8 +21,8 @@ var RadioButton_1 = __importDefault(require("../RadioButton"));
21
21
  var TextLink_1 = __importDefault(require("../TextLink"));
22
22
  var react_i18next_1 = require("react-i18next");
23
23
  var AddressCard = function (_a) {
24
- var _b = _a.title, title = _b === void 0 ? props_1.AddressCardDefault.title : _b, _c = _a.description, description = _c === void 0 ? props_1.AddressCardDefault.description : _c, _d = _a.handleUpdate, handleUpdate = _d === void 0 ? props_1.AddressCardDefault.handleUpdate : _d, _e = _a.onChange, onChange = _e === void 0 ? props_1.AddressCardDefault.onChange : _e, _f = _a.checked, checked = _f === void 0 ? props_1.AddressCardDefault.checked : _f, _g = _a.isShowEditBtn, isShowEditBtn = _g === void 0 ? props_1.AddressCardDefault.isShowEditBtn : _g, _h = _a.id, id = _h === void 0 ? props_1.AddressCardDefault.id : _h, _j = _a.minHeight, minHeight = _j === void 0 ? props_1.AddressCardDefault.minHeight : _j, _k = _a.name, name = _k === void 0 ? props_1.AddressCardDefault.name : _k, _l = _a.value, value = _l === void 0 ? props_1.AddressCardDefault.value : _l, _m = _a.disabled, disabled = _m === void 0 ? props_1.AddressCardDefault.disabled : _m;
24
+ var _b = _a.title, title = _b === void 0 ? props_1.AddressCardDefault.title : _b, _c = _a.description, description = _c === void 0 ? props_1.AddressCardDefault.description : _c, _d = _a.content, content = _d === void 0 ? props_1.AddressCardDefault.content : _d, _e = _a.handleUpdate, handleUpdate = _e === void 0 ? props_1.AddressCardDefault.handleUpdate : _e, _f = _a.onChange, onChange = _f === void 0 ? props_1.AddressCardDefault.onChange : _f, _g = _a.checked, checked = _g === void 0 ? props_1.AddressCardDefault.checked : _g, _h = _a.isShowEditBtn, isShowEditBtn = _h === void 0 ? props_1.AddressCardDefault.isShowEditBtn : _h, _j = _a.id, id = _j === void 0 ? props_1.AddressCardDefault.id : _j, _k = _a.minHeight, minHeight = _k === void 0 ? props_1.AddressCardDefault.minHeight : _k, _l = _a.name, name = _l === void 0 ? props_1.AddressCardDefault.name : _l, _m = _a.value, value = _m === void 0 ? props_1.AddressCardDefault.value : _m, _o = _a.disabled, disabled = _o === void 0 ? props_1.AddressCardDefault.disabled : _o, _p = _a.hasBlockDescription, hasBlockDescription = _p === void 0 ? props_1.AddressCardDefault.hasBlockDescription : _p;
25
25
  var t = (0, react_i18next_1.useTranslation)().t;
26
- return ((0, jsx_runtime_1.jsxs)(AddressCard_styled_1.AddressCardStyled, __assign({ htmlFor: id, checked: checked, "$minHeight": minHeight }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "head" }, { children: [(0, jsx_runtime_1.jsx)(RadioButton_1.default, { id: id, onChange: onChange, checked: checked, isWrapText: false, layout: "basic", size: "small", label: title, name: name, value: value, disabled: disabled, textSize: "large" }), isShowEditBtn && ((0, jsx_runtime_1.jsx)("label", __assign({ htmlFor: "xxxxx", className: "editBtn" }, { children: (0, jsx_runtime_1.jsx)(TextLink_1.default, __assign({ onClick: handleUpdate }, { children: t("edit") })) })))] })), (0, jsx_runtime_1.jsx)("div", __assign({ className: "description" }, { children: description }))] })));
26
+ return ((0, jsx_runtime_1.jsxs)(AddressCard_styled_1.AddressCardStyled, __assign({ htmlFor: id, checked: checked, "$minHeight": minHeight, "$hasBlockDescription": hasBlockDescription }, { children: [(0, jsx_runtime_1.jsxs)("div", __assign({ className: "head" }, { children: [(0, jsx_runtime_1.jsx)(RadioButton_1.default, { id: id, onChange: onChange, checked: checked, isWrapText: false, layout: "basic", size: "small", label: title, name: name, value: value, disabled: disabled, textSize: "large" }), isShowEditBtn && ((0, jsx_runtime_1.jsx)("label", __assign({ htmlFor: "xxxxx", className: "editBtn" }, { children: (0, jsx_runtime_1.jsx)(TextLink_1.default, __assign({ onClick: handleUpdate }, { children: t("edit") })) })))] })), description && (0, jsx_runtime_1.jsx)("div", __assign({ className: "description" }, { children: description })), checked && content != null && ((0, jsx_runtime_1.jsx)(AddressCard_styled_1.Content, { children: content }))] })));
27
27
  };
28
28
  exports.default = AddressCard;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { AddressCardStyledProps } from "./props";
3
3
  export declare const AddressCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, keyof AddressCardStyledProps> & AddressCardStyledProps, never> & Partial<Pick<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, keyof AddressCardStyledProps> & AddressCardStyledProps, never>>> & string;
4
+ export declare const Content: 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;
@@ -7,8 +7,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
7
7
  return (mod && mod.__esModule) ? mod : { "default": mod };
8
8
  };
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.AddressCardStyled = void 0;
10
+ exports.Content = exports.AddressCardStyled = void 0;
11
11
  var styled_components_1 = __importDefault(require("styled-components"));
12
12
  var devices_1 = require("../../constants/devices");
13
- exports.AddressCardStyled = styled_components_1.default.label(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n background: white;\n padding: 1rem;\n cursor: pointer;\n display: block;\n position: relative;\n box-sizing: border-box;\n\n &:before {\n content: \"\";\n position: absolute;\n inset: -1px;\n border: 2px solid var(--primary);\n opacity: ", ";\n user-select: none;\n pointer-events: none;\n border-radius: inherit;\n }\n\n ", "\n .head {\n margin-bottom: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: inherit;\n\n .editBtn {\n font: var(--body-bold-14-17);\n margin-left: 1rem;\n display: block;\n\n * {\n display: block;\n }\n }\n }\n\n .description {\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n overflow: hidden;\n word-break: break-word;\n display: -webkit-inline-box;\n font: var(--body-regular-14-17);\n color: var(--dark);\n height: ", ";\n cursor: inherit;\n vertical-align: middle;\n }\n"], ["\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n background: white;\n padding: 1rem;\n cursor: pointer;\n display: block;\n position: relative;\n box-sizing: border-box;\n\n &:before {\n content: \"\";\n position: absolute;\n inset: -1px;\n border: 2px solid var(--primary);\n opacity: ", ";\n user-select: none;\n pointer-events: none;\n border-radius: inherit;\n }\n\n ", "\n .head {\n margin-bottom: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: inherit;\n\n .editBtn {\n font: var(--body-bold-14-17);\n margin-left: 1rem;\n display: block;\n\n * {\n display: block;\n }\n }\n }\n\n .description {\n -webkit-line-clamp: 4;\n -webkit-box-orient: vertical;\n overflow: hidden;\n word-break: break-word;\n display: -webkit-inline-box;\n font: var(--body-regular-14-17);\n color: var(--dark);\n height: ", ";\n cursor: inherit;\n vertical-align: middle;\n }\n"])), function (props) { return props.checked ? '1' : '0'; }, function (props) { return !props.checked && "\n @media only screen and ".concat(devices_1.devices.mdUp, " {\n &:hover {\n &:before{\n border: 1px solid var(--primary-hover);\n opacity: 1;\n } \n }\n }\n &:active {\n &:before{\n border: 1px solid var(--primary-hover);\n opacity: 1;\n } \n }\n "); }, function (props) { return props.$minHeight ? props.$minHeight : '68px'; });
14
- var templateObject_1;
13
+ exports.AddressCardStyled = styled_components_1.default.label(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n background: white;\n padding: 1rem;\n cursor: pointer;\n display: block;\n position: relative;\n box-sizing: border-box;\n\n &:before {\n content: \"\";\n position: absolute;\n inset: -1px;\n border: 2px solid var(--primary);\n opacity: ", ";\n user-select: none;\n pointer-events: none;\n border-radius: inherit;\n }\n\n ", "\n .head {\n margin-bottom: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: inherit;\n\n .editBtn {\n font: var(--body-bold-14-17);\n margin-left: 1rem;\n display: block;\n\n * {\n display: block;\n }\n }\n }\n\n .description {\n overflow: hidden;\n word-break: break-word;\n font: var(--body-regular-14-17);\n color: var(--dark);\n height: ", ";\n cursor: inherit;\n display: ", ";\n -webkit-line-clamp: ", ";\n -webkit-box-orient: ", ";\n vertical-align: ", ";\n }\n"], ["\n border-radius: 0.5rem;\n border: 1px solid var(--dark-opacity-10);\n background: white;\n padding: 1rem;\n cursor: pointer;\n display: block;\n position: relative;\n box-sizing: border-box;\n\n &:before {\n content: \"\";\n position: absolute;\n inset: -1px;\n border: 2px solid var(--primary);\n opacity: ", ";\n user-select: none;\n pointer-events: none;\n border-radius: inherit;\n }\n\n ", "\n .head {\n margin-bottom: 1.5rem;\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: inherit;\n\n .editBtn {\n font: var(--body-bold-14-17);\n margin-left: 1rem;\n display: block;\n\n * {\n display: block;\n }\n }\n }\n\n .description {\n overflow: hidden;\n word-break: break-word;\n font: var(--body-regular-14-17);\n color: var(--dark);\n height: ", ";\n cursor: inherit;\n display: ", ";\n -webkit-line-clamp: ", ";\n -webkit-box-orient: ", ";\n vertical-align: ", ";\n }\n"])), function (props) { return props.checked ? '1' : '0'; }, function (props) { return !props.checked && "\n @media only screen and ".concat(devices_1.devices.mdUp, " {\n &:hover {\n &:before{\n border: 1px solid var(--primary-hover);\n opacity: 1;\n } \n }\n }\n &:active {\n &:before{\n border: 1px solid var(--primary-hover);\n opacity: 1;\n } \n }\n "); }, function (props) { return props.$minHeight ? props.$minHeight : '68px'; }, function (props) { return props.$hasBlockDescription ? 'block' : '-webkit-inline-box'; }, function (props) { return props.$hasBlockDescription ? 'unset' : '4'; }, function (props) { return props.$hasBlockDescription ? 'unset' : 'vertical'; }, function (props) { return props.$hasBlockDescription ? 'unset' : 'middle'; });
14
+ exports.Content = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-top: 1rem;\n cursor: default;\n"], ["\n margin-top: 1rem;\n cursor: default;\n"])));
15
+ var templateObject_1, templateObject_2;
@@ -1,6 +1,8 @@
1
+ import React from "react";
1
2
  export interface AddressCard {
2
3
  title?: string;
3
4
  description?: string;
5
+ content?: React.ReactNode;
4
6
  handleUpdate?: () => void;
5
7
  onChange?: () => void;
6
8
  checked?: boolean;
@@ -10,10 +12,12 @@ export interface AddressCard {
10
12
  name?: string;
11
13
  value?: string;
12
14
  disabled?: boolean;
15
+ hasBlockDescription?: boolean;
13
16
  }
14
17
  export interface AddressCardStyledProps {
15
18
  checked?: boolean;
16
19
  $minHeight?: string;
20
+ $hasBlockDescription?: boolean;
17
21
  }
18
22
  export declare const AddressCardDefault: AddressCard;
19
23
  export type AddressCardProps = typeof AddressCardDefault;
@@ -4,6 +4,7 @@ exports.AddressCardDefault = void 0;
4
4
  exports.AddressCardDefault = {
5
5
  title: "",
6
6
  description: "",
7
+ content: null,
7
8
  handleUpdate: null,
8
9
  onChange: null,
9
10
  checked: false,
@@ -13,4 +14,5 @@ exports.AddressCardDefault = {
13
14
  disabled: false,
14
15
  isShowEditBtn: true,
15
16
  minHeight: "68px",
17
+ hasBlockDescription: false,
16
18
  };
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { AddressCardProps } from "../props";
2
3
  declare const _default: {
3
4
  title: string;
4
5
  component: (props: any) => React.JSX.Element;
@@ -13,6 +14,12 @@ declare const _default: {
13
14
  isShowEditBtn: {
14
15
  control: string;
15
16
  };
17
+ hasBlockDescription: {
18
+ control: string;
19
+ };
20
+ content: {
21
+ control: boolean;
22
+ };
16
23
  };
17
24
  };
18
25
  export default _default;
@@ -151,6 +158,38 @@ export declare const CustomMinHeight: {
151
158
  minHeight: string;
152
159
  };
153
160
  };
161
+ export declare const WithContent: {
162
+ render: (args: AddressCardProps) => React.JSX.Element;
163
+ args: {
164
+ title: string;
165
+ description: any;
166
+ handleUpdate: () => void;
167
+ id: string;
168
+ name: string;
169
+ value: string;
170
+ checked: boolean;
171
+ disabled: boolean;
172
+ isShowEditBtn: boolean;
173
+ minHeight: string;
174
+ hasBlockDescription: boolean;
175
+ };
176
+ };
177
+ export declare const BlockDescription: {
178
+ args: {
179
+ title: string;
180
+ description: string;
181
+ handleUpdate: () => void;
182
+ onChange: () => void;
183
+ id: string;
184
+ name: string;
185
+ value: string;
186
+ checked: boolean;
187
+ disabled: boolean;
188
+ isShowEditBtn: boolean;
189
+ minHeight: string;
190
+ hasBlockDescription: boolean;
191
+ };
192
+ };
154
193
  export declare const Complete: {
155
194
  args: {
156
195
  title: string;
@@ -14,9 +14,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.Complete = exports.CustomMinHeight = exports.LongDescription = exports.ShortDescription = exports.DisabledChecked = exports.Disabled = exports.WithoutEditButtonChecked = exports.WithoutEditButton = exports.Checked = exports.Default = void 0;
17
+ exports.Complete = exports.BlockDescription = exports.WithContent = exports.CustomMinHeight = exports.LongDescription = exports.ShortDescription = exports.DisabledChecked = exports.Disabled = exports.WithoutEditButtonChecked = exports.WithoutEditButton = exports.Checked = exports.Default = void 0;
18
18
  var jsx_runtime_1 = require("react/jsx-runtime");
19
+ var react_1 = __importDefault(require("react"));
19
20
  var AddressCard_1 = __importDefault(require("../AddressCard"));
21
+ var Input_1 = __importDefault(require("../../Input"));
22
+ var WithContentStory = function (args) {
23
+ var _a;
24
+ var _b = react_1.default.useState((_a = args.checked) !== null && _a !== void 0 ? _a : false), checked = _b[0], setChecked = _b[1];
25
+ return ((0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth: '305px' } }, { children: (0, jsx_runtime_1.jsx)(AddressCard_1.default, __assign({}, args, { checked: checked, onChange: function () { return setChecked(function (prev) { return !prev; }); }, content: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("p", __assign({ style: { margin: '0 0 0.5rem', font: 'var(--body-regular-14-17)', color: 'var(--dark)' } }, { children: "Aboneli\u011Fin se\u00E7ti\u011Fin tarihte otomatik olarak yeniden ba\u015Flar." })), (0, jsx_runtime_1.jsx)(Input_1.default, { label: "Tarih", placeholder: "GG/AA/YYYY", type: "text" })] }) })) })));
26
+ };
20
27
  exports.default = {
21
28
  title: 'Components/AddressCard',
22
29
  component: function (props) { return (0, jsx_runtime_1.jsx)("div", __assign({ style: { maxWidth: '305px' } }, { children: (0, jsx_runtime_1.jsx)(AddressCard_1.default, __assign({}, props)) })); },
@@ -25,6 +32,8 @@ exports.default = {
25
32
  checked: { control: 'boolean' },
26
33
  disabled: { control: 'boolean' },
27
34
  isShowEditBtn: { control: 'boolean' },
35
+ hasBlockDescription: { control: 'boolean' },
36
+ content: { control: false },
28
37
  }
29
38
  };
30
39
  exports.Default = {
@@ -162,6 +171,38 @@ exports.CustomMinHeight = {
162
171
  minHeight: "120px",
163
172
  },
164
173
  };
174
+ exports.WithContent = {
175
+ render: function (args) { return (0, jsx_runtime_1.jsx)(WithContentStory, __assign({}, args)); },
176
+ args: {
177
+ title: "Belirli bir tarihte tekrar başlasın",
178
+ description: null,
179
+ handleUpdate: function () { return console.log('handleUpdate'); },
180
+ id: "addressCard_content",
181
+ name: "pause",
182
+ value: "pause_date",
183
+ checked: false,
184
+ disabled: false,
185
+ isShowEditBtn: false,
186
+ minHeight: "auto",
187
+ hasBlockDescription: true,
188
+ },
189
+ };
190
+ exports.BlockDescription = {
191
+ args: {
192
+ title: "Block Description Address",
193
+ description: "Manchester, Kentucky 394954517 Washington Ave. Manchester, Kentucky 394954517 Washington Ave.4517 Washington Ave. 4517 Washington Ave. 4517 Washington Ave.",
194
+ handleUpdate: function () { return console.log('handleUpdate'); },
195
+ onChange: function () { return console.log('onChange'); },
196
+ id: "addressCard_block",
197
+ name: "address",
198
+ value: "address_block",
199
+ checked: false,
200
+ disabled: false,
201
+ isShowEditBtn: true,
202
+ minHeight: "68px",
203
+ hasBlockDescription: true,
204
+ },
205
+ };
165
206
  exports.Complete = {
166
207
  args: {
167
208
  title: "Complete Address Card",
@@ -33,15 +33,17 @@ var classnames_1 = __importDefault(require("classnames"));
33
33
  var Icon_1 = __importDefault(require("../Icon/Icon"));
34
34
  var Loader_1 = __importDefault(require("../Loader"));
35
35
  var Children = function (props) {
36
- var children = props.children, icon = props.icon, isLoading = props.isLoading, iconSize = props.iconSize;
37
- return (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)('children', { 'isLoading': isLoading }) }, { children: children })), icon && ((0, jsx_runtime_1.jsx)(Button_styled_1.IconStyled, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { width: iconSize, height: iconSize, name: icon }) }))] });
36
+ var children = props.children, icon = props.icon, isLoading = props.isLoading, iconSize = props.iconSize, iconPosition = props.iconPosition;
37
+ var iconElement = icon && ((0, jsx_runtime_1.jsx)(Button_styled_1.IconStyled, __assign({ "$iconPosition": iconPosition, "$icon": icon }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { width: iconSize, height: iconSize, name: icon }) })));
38
+ var content = ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, classnames_1.default)('children', { 'isLoading': isLoading }) }, { children: children })));
39
+ return iconPosition === 'left' ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [iconElement, content] })) : ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [content, iconElement] }));
38
40
  };
39
41
  var Button = (0, react_1.forwardRef)(function (props, ref) {
40
- var type = props.type, isLoading = props.isLoading, onClick = props.onClick, disabled = props.disabled, size = props.size, variant = props.variant, width = props.width, _a = props.icon, icon = _a === void 0 ? props_1.ButtonDefault.icon : _a, children = props.children, _b = props.iconSize, iconSize = _b === void 0 ? props_1.ButtonDefault.iconSize : _b, _c = props.tooltip, tooltip = _c === void 0 ? props_1.ButtonDefault.tooltip : _c, other = __rest(props, ["type", "isLoading", "onClick", "disabled", "size", "variant", "width", "icon", "children", "iconSize", "tooltip"]);
42
+ var type = props.type, isLoading = props.isLoading, onClick = props.onClick, disabled = props.disabled, size = props.size, variant = props.variant, width = props.width, _a = props.icon, icon = _a === void 0 ? props_1.ButtonDefault.icon : _a, _b = props.iconPosition, iconPosition = _b === void 0 ? props_1.ButtonDefault.iconPosition : _b, children = props.children, _c = props.iconSize, iconSize = _c === void 0 ? props_1.ButtonDefault.iconSize : _c, _d = props.tooltip, tooltip = _d === void 0 ? props_1.ButtonDefault.tooltip : _d, other = __rest(props, ["type", "isLoading", "onClick", "disabled", "size", "variant", "width", "icon", "iconPosition", "children", "iconSize", "tooltip"]);
41
43
  var handleClick = function (e) {
42
44
  onClick === null || onClick === void 0 ? void 0 : onClick(e);
43
45
  e.currentTarget.blur();
44
46
  };
45
- return ((0, jsx_runtime_1.jsxs)(Button_styled_1.ButtonStyled, __assign({ className: (0, classnames_1.default)({ "loading": isLoading }), onClick: handleClick, disabled: disabled, "$size": size, "$variant": variant, "$width": width, "$icon": icon, type: type, ref: ref, "$isLoading": isLoading, "$tooltip": tooltip }, other, { children: [(0, jsx_runtime_1.jsxs)(Children, __assign({ isLoading: isLoading, icon: icon, iconSize: iconSize }, { children: [isLoading && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "loadingContent" }, { children: (0, jsx_runtime_1.jsx)(Loader_1.default, { width: ["small", "xsmall"].includes(size) ? "1rem" : "1.5rem", height: ["small", "xsmall"].includes(size) ? "1rem" : "1.5rem", variant: variant === 'primary' ? 'secondary' : 'primary' }) }))), children && (0, jsx_runtime_1.jsx)("span", { children: children })] })), tooltip && (0, jsx_runtime_1.jsx)("div", __assign({ className: "buttonTooltip" }, { children: tooltip }))] })));
47
+ return ((0, jsx_runtime_1.jsxs)(Button_styled_1.ButtonStyled, __assign({ className: (0, classnames_1.default)({ "loading": isLoading }), onClick: handleClick, disabled: disabled, "$size": size, "$variant": variant, "$width": width, "$icon": icon, "$iconPosition": iconPosition, type: type, ref: ref, "$isLoading": isLoading, "$tooltip": tooltip }, other, { children: [(0, jsx_runtime_1.jsxs)(Children, __assign({ isLoading: isLoading, icon: icon, iconSize: iconSize, iconPosition: iconPosition }, { children: [isLoading && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "loadingContent" }, { children: (0, jsx_runtime_1.jsx)(Loader_1.default, { width: ["small", "xsmall"].includes(size) ? "1rem" : "1.5rem", height: ["small", "xsmall"].includes(size) ? "1rem" : "1.5rem", variant: variant === 'primary' ? 'secondary' : 'primary' }) }))), children && (0, jsx_runtime_1.jsx)("span", { children: children })] })), tooltip && (0, jsx_runtime_1.jsx)("div", __assign({ className: "buttonTooltip" }, { children: tooltip }))] })));
46
48
  });
47
49
  exports.default = Button;
@@ -128,6 +128,6 @@ exports.ButtonStyled = styled_components_1.default.button(templateObject_6 || (t
128
128
  default:
129
129
  return "48px";
130
130
  }
131
- }, function (props) { return props.$icon && !props.$isLoading ? "10px" : "0"; });
132
- exports.IconStyled = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n svg{\n width: ", ";\n height: ", ";\n transition: all .2s ease;\n }\n"], ["\n display: flex;\n align-items: center;\n svg{\n width: ", ";\n height: ", ";\n transition: all .2s ease;\n }\n"])), function (props) { return props.$iconSize && props.$iconSize; }, function (props) { return props.$iconSize && props.$iconSize; });
131
+ }, function (props) { return props.$icon && !props.$isLoading && props.$iconPosition !== 'left' ? "10px" : "0"; });
132
+ exports.IconStyled = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n margin-right: ", ";\n svg{\n width: ", ";\n height: ", ";\n transition: all .2s ease;\n }\n"], ["\n display: flex;\n align-items: center;\n margin-right: ", ";\n svg{\n width: ", ";\n height: ", ";\n transition: all .2s ease;\n }\n"])), function (props) { return props.$iconPosition === 'left' && props.$icon ? "10px" : "0"; }, function (props) { return props.$iconSize && props.$iconSize; }, function (props) { return props.$iconSize && props.$iconSize; });
133
133
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
@@ -1,10 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  export declare const variants: string[];
3
3
  export declare const sizes: string[];
4
+ export declare const iconPositions: readonly ["left", "right"];
4
5
  export declare const iconNames: string[];
5
6
  type SIZES = typeof sizes[number];
6
7
  type VARIANT = typeof variants[number];
7
8
  type ICON = typeof iconNames[any];
9
+ type ICON_POSITION = typeof iconPositions[number];
8
10
  export interface Button {
9
11
  size: SIZES;
10
12
  variant: VARIANT;
@@ -13,6 +15,7 @@ export interface Button {
13
15
  onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
14
16
  disabled?: boolean;
15
17
  icon?: ICON;
18
+ iconPosition?: ICON_POSITION;
16
19
  width?: string;
17
20
  type?: "submit" | "reset" | "button" | undefined;
18
21
  iconSize?: string;
@@ -22,6 +25,7 @@ export interface ButtonStyledProps {
22
25
  $size?: SIZES;
23
26
  $variant?: VARIANT;
24
27
  $icon?: ICON;
28
+ $iconPosition?: ICON_POSITION;
25
29
  $width?: string;
26
30
  $isLoading?: boolean;
27
31
  $iconSize?: string;
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ButtonDefault = exports.iconNames = exports.sizes = exports.variants = void 0;
3
+ exports.ButtonDefault = exports.iconNames = exports.iconPositions = exports.sizes = exports.variants = void 0;
4
4
  var iconList_1 = require("../Icon/iconList");
5
5
  exports.variants = ['primary', 'secondary', 'inverted', 'ghost', "success"];
6
6
  exports.sizes = ['big', 'medium', 'small', 'xsmall'];
7
+ exports.iconPositions = ['left', 'right'];
7
8
  exports.iconNames = Object.keys(iconList_1.iconList);
8
9
  exports.ButtonDefault = {
9
10
  size: 'medium',
@@ -14,4 +15,5 @@ exports.ButtonDefault = {
14
15
  iconSize: "1rem",
15
16
  tooltip: null,
16
17
  icon: null,
18
+ iconPosition: 'right',
17
19
  };
@@ -16,6 +16,10 @@ declare const _default: {
16
16
  control: string;
17
17
  options: string[];
18
18
  };
19
+ iconPosition: {
20
+ control: string;
21
+ options: readonly ["left", "right"];
22
+ };
19
23
  onClick: {
20
24
  action: string;
21
25
  };
@@ -48,6 +52,21 @@ export declare const Icon: {
48
52
  tooltip: string;
49
53
  };
50
54
  };
55
+ export declare const IconLeft: {
56
+ args: {
57
+ children: string;
58
+ icon: string;
59
+ iconPosition: string;
60
+ iconSize: string;
61
+ variant: string;
62
+ size: string;
63
+ disabled: boolean;
64
+ isLoading: boolean;
65
+ width: string;
66
+ type: string;
67
+ tooltip: string;
68
+ };
69
+ };
51
70
  export declare const Primary: {
52
71
  args: {
53
72
  variant: string;
@@ -14,7 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.WithTooltip = exports.FullWidth = exports.IconOnly = exports.Disabled = exports.Loading = exports.AllSizes = exports.AllVariants = exports.Success = exports.Ghost = exports.Inverted = exports.Secondary = exports.Primary = exports.Icon = exports.Default = void 0;
17
+ exports.WithTooltip = exports.FullWidth = exports.IconOnly = exports.Disabled = exports.Loading = exports.AllSizes = exports.AllVariants = exports.Success = exports.Ghost = exports.Inverted = exports.Secondary = exports.Primary = exports.IconLeft = exports.Icon = exports.Default = void 0;
18
18
  var jsx_runtime_1 = require("react/jsx-runtime");
19
19
  var Button_1 = __importDefault(require("../Button"));
20
20
  var props_1 = require("../props");
@@ -27,6 +27,7 @@ exports.default = {
27
27
  variant: { control: 'select', options: props_1.variants },
28
28
  size: { control: 'select', options: props_1.sizes },
29
29
  icon: { control: 'select', options: Object.keys(iconList_1.iconList) },
30
+ iconPosition: { control: 'select', options: props_1.iconPositions },
30
31
  onClick: { action: 'clicked' }
31
32
  }
32
33
  };
@@ -45,6 +46,9 @@ exports.Default = {
45
46
  exports.Icon = {
46
47
  args: __assign(__assign({}, exports.Default.args), { icon: 'ArrowSmallRight', iconSize: "1rem" }),
47
48
  };
49
+ exports.IconLeft = {
50
+ args: __assign(__assign({}, exports.Default.args), { children: "Geri", icon: 'ArrowLeft', iconPosition: 'left', iconSize: "1rem" }),
51
+ };
48
52
  // Variant specific stories
49
53
  exports.Primary = {
50
54
  args: __assign(__assign({}, exports.Default.args), { variant: 'primary' }),
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { CheckboxProps } from "./props";
3
- declare const Checkbox: ({ value, checked, onChange, name, id, label, disabled, size, valid, labelOffset, color, textSize, verticalAlign, required, readOnly, }: CheckboxProps) => import("react").JSX.Element;
3
+ declare const Checkbox: ({ value, checked, onChange, name, id, label, disabled, size, valid, labelOffset, textSize, verticalAlign, required, readOnly, }: CheckboxProps) => import("react").JSX.Element;
4
4
  export default Checkbox;
@@ -14,15 +14,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  var jsx_runtime_1 = require("react/jsx-runtime");
15
15
  var props_1 = require("./props");
16
16
  var Checkbox_styled_1 = require("./Checkbox.styled");
17
- var react_1 = require("react");
18
17
  var react_i18next_1 = require("react-i18next");
18
+ var getRootCssVariable_1 = require("../../utils/getRootCssVariable");
19
19
  var Checkbox = function (_a) {
20
- var _b = _a.value, value = _b === void 0 ? props_1.CheckboxDefault.value : _b, _c = _a.checked, checked = _c === void 0 ? props_1.CheckboxDefault.checked : _c, _d = _a.onChange, onChange = _d === void 0 ? props_1.CheckboxDefault.onChange : _d, _e = _a.name, name = _e === void 0 ? props_1.CheckboxDefault.name : _e, _f = _a.id, id = _f === void 0 ? props_1.CheckboxDefault.id : _f, _g = _a.label, label = _g === void 0 ? props_1.CheckboxDefault.label : _g, _h = _a.disabled, disabled = _h === void 0 ? props_1.CheckboxDefault.disabled : _h, _j = _a.size, size = _j === void 0 ? props_1.CheckboxDefault.size : _j, _k = _a.valid, valid = _k === void 0 ? props_1.CheckboxDefault.valid : _k, _l = _a.labelOffset, labelOffset = _l === void 0 ? props_1.CheckboxDefault.labelOffset : _l, _m = _a.color, color = _m === void 0 ? props_1.CheckboxDefault.color : _m, _o = _a.textSize, textSize = _o === void 0 ? props_1.CheckboxDefault.textSize : _o, _p = _a.verticalAlign, verticalAlign = _p === void 0 ? props_1.CheckboxDefault.verticalAlign : _p, _q = _a.required, required = _q === void 0 ? props_1.CheckboxDefault.required : _q, _r = _a.readOnly, readOnly = _r === void 0 ? props_1.CheckboxDefault.readOnly : _r;
21
- var _s = (0, react_1.useState)(color), inputColor = _s[0], setInputColor = _s[1];
20
+ var _b = _a.value, value = _b === void 0 ? props_1.CheckboxDefault.value : _b, _c = _a.checked, checked = _c === void 0 ? props_1.CheckboxDefault.checked : _c, _d = _a.onChange, onChange = _d === void 0 ? props_1.CheckboxDefault.onChange : _d, _e = _a.name, name = _e === void 0 ? props_1.CheckboxDefault.name : _e, _f = _a.id, id = _f === void 0 ? props_1.CheckboxDefault.id : _f, _g = _a.label, label = _g === void 0 ? props_1.CheckboxDefault.label : _g, _h = _a.disabled, disabled = _h === void 0 ? props_1.CheckboxDefault.disabled : _h, _j = _a.size, size = _j === void 0 ? props_1.CheckboxDefault.size : _j, _k = _a.valid, valid = _k === void 0 ? props_1.CheckboxDefault.valid : _k, _l = _a.labelOffset, labelOffset = _l === void 0 ? props_1.CheckboxDefault.labelOffset : _l, _m = _a.textSize, textSize = _m === void 0 ? props_1.CheckboxDefault.textSize : _m, _o = _a.verticalAlign, verticalAlign = _o === void 0 ? props_1.CheckboxDefault.verticalAlign : _o, _p = _a.required, required = _p === void 0 ? props_1.CheckboxDefault.required : _p, _q = _a.readOnly, readOnly = _q === void 0 ? props_1.CheckboxDefault.readOnly : _q;
22
21
  var t = (0, react_i18next_1.useTranslation)().t;
23
- (0, react_1.useEffect)(function () {
24
- setInputColor(window.getComputedStyle(document.body).getPropertyValue('--primary'));
25
- });
26
- return ((0, jsx_runtime_1.jsxs)(Checkbox_styled_1.CheckboxStyled, __assign({ htmlFor: id, disabled: disabled, checked: checked, "$size": size, "$valid": valid, "$labelOffset": labelOffset, "$color": inputColor, "$textSize": textSize, "$verticalAlign": verticalAlign, "$required": required }, { children: [(0, jsx_runtime_1.jsx)("input", { id: id, type: "checkbox", name: name, value: value, disabled: disabled, checked: checked, onChange: onChange, readOnly: readOnly }), (0, jsx_runtime_1.jsx)("label", { htmlFor: id, className: "indicator" }), label && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "labelsWrapper" }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ className: "label", htmlFor: id }, { children: [label, " ", !required && (0, jsx_runtime_1.jsxs)("b", { children: ["(", t("OPTIONAL"), ")"] })] })) })))] })));
22
+ return ((0, jsx_runtime_1.jsxs)(Checkbox_styled_1.CheckboxStyled, __assign({ htmlFor: id, disabled: disabled, checked: checked, "$size": size, "$valid": valid, "$labelOffset": labelOffset, "$color": (0, getRootCssVariable_1.getPrimaryColor)(), "$textSize": textSize, "$verticalAlign": verticalAlign, "$required": required }, { children: [(0, jsx_runtime_1.jsx)("input", { id: id, type: "checkbox", name: name, value: value, disabled: disabled, checked: checked, onChange: onChange, readOnly: readOnly }), (0, jsx_runtime_1.jsx)("label", { htmlFor: id, className: "indicator" }), label && ((0, jsx_runtime_1.jsx)("div", __assign({ className: "labelsWrapper" }, { children: (0, jsx_runtime_1.jsxs)("label", __assign({ className: "label", htmlFor: id }, { children: [label, " ", !required && (0, jsx_runtime_1.jsxs)("b", { children: ["(", t("OPTIONAL"), ")"] })] })) })))] })));
27
23
  };
28
24
  exports.default = Checkbox;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  declare const _default: {
3
3
  title: string;
4
- component: ({ value, checked, onChange, name, id, label, disabled, size, valid, labelOffset, color, textSize, verticalAlign, required, readOnly, }: import("../props").Checkbox) => import("react").JSX.Element;
4
+ component: ({ value, checked, onChange, name, id, label, disabled, size, valid, labelOffset, textSize, verticalAlign, required, readOnly, }: import("../props").Checkbox) => import("react").JSX.Element;
5
5
  tags: string[];
6
6
  argTypes: {
7
7
  size: {
@@ -0,0 +1,3 @@
1
+ export default SvgForwardMd;
2
+ declare function SvgForwardMd(props: any): React.JSX.Element;
3
+ import * as React from "react";
@@ -0,0 +1,40 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var React = __importStar(require("react"));
39
+ var SvgForwardMd = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M15.5448 10.792C16.1729 11.4715 16.1731 12.5276 15.5448 13.207L15.4003 13.3467L9.55554 18.4082C8.40133 19.4072 6.6073 18.5872 6.6073 17.0605V6.9375C6.60741 5.41077 8.40138 4.5914 9.55554 5.59082L15.4003 10.6523L15.5448 10.792Z", stroke: "currentColor", strokeWidth: 2 }), (0, jsx_runtime_1.jsx)("rect", { x: 17.5, y: 5.5, width: 1, height: 13, rx: 0.5, stroke: "currentColor" })] }))); };
40
+ exports.default = SvgForwardMd;
@@ -0,0 +1,3 @@
1
+ export default SvgPauseMd;
2
+ declare function SvgPauseMd(props: any): React.JSX.Element;
3
+ import * as React from "react";
@@ -0,0 +1,40 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var React = __importStar(require("react"));
39
+ var SvgPauseMd = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("rect", { x: 5.62903, y: 5.38672, width: 4.80635, height: 13.2254, rx: 1.56127, stroke: "currentColor", strokeWidth: 2 }), (0, jsx_runtime_1.jsx)("rect", { x: 13.5647, y: 5.38672, width: 4.80635, height: 13.2254, rx: 1.56127, stroke: "currentColor", strokeWidth: 2 })] }))); };
40
+ exports.default = SvgPauseMd;
@@ -0,0 +1,3 @@
1
+ export default SvgPlayMd;
2
+ declare function SvgPlayMd(props: any): React.JSX.Element;
3
+ import * as React from "react";
@@ -0,0 +1,40 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var React = __importStar(require("react"));
39
+ var SvgPlayMd = function (props) { return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: (0, jsx_runtime_1.jsx)("path", { d: "M17.3311 10.792C17.9591 11.4715 17.9594 12.5276 17.3311 13.207L17.1865 13.3467L11.3418 18.4082C10.1876 19.4072 8.39355 18.5872 8.39355 17.0605V6.9375C8.39366 5.41077 10.1876 4.5914 11.3418 5.59082L17.1865 10.6523L17.3311 10.792Z", stroke: "currentColor", strokeWidth: 2 }) }))); };
40
+ exports.default = SvgPlayMd;
@@ -36,5 +36,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  var jsx_runtime_1 = require("react/jsx-runtime");
38
38
  var React = __importStar(require("react"));
39
- var SvgRectangle = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 90, height: 90, viewBox: "0 0 90 90", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { id: "Rectangle 8", d: "M5.21017e-05 62.2132C7.71369e-05 58.235 1.58042 54.4197 4.39344 51.6067L52.5829 3.41714C54.7708 1.22916 57.7384 -3.13031e-05 60.8326 -3.55178e-05L82 -5.45681e-05C86.4183 -5.59168e-05 90 3.58166 90 7.99994L83 7.99994L7.99997 82.9999V89.9999C3.58164 89.9999 -0.000102999 86.4181 -7.50132e-05 81.9998L5.21017e-05 62.2132Z", fill: "url(#paint0_linear_17925_27746)" }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("linearGradient", __assign({ id: "paint0_linear_17925_27746", x1: 93.9999, y1: 3.99994, x2: 73, y2: -17, gradientUnits: "userSpaceOnUse" }, { children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "#7730FA" }), (0, jsx_runtime_1.jsx)("stop", { offset: 1, stopColor: "#9961FF" })] })) })] }))); };
39
+ var SvgRectangle = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 90, height: 90, viewBox: "0 0 90 90", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { id: "Rectangle 8", d: "M5.21017e-05 62.2132C7.71369e-05 58.235 1.58042 54.4197 4.39344 51.6067L52.5829 3.41714C54.7708 1.22916 57.7384 -3.13031e-05 60.8326 -3.55178e-05L82 -5.45681e-05C86.4183 -5.59168e-05 90 3.58166 90 7.99994L83 7.99994L7.99997 82.9999V89.9999C3.58164 89.9999 -0.000102999 86.4181 -7.50132e-05 81.9998L5.21017e-05 62.2132Z", fill: "url(#paint0_linear_17925_27746)" }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsxs)("linearGradient", __assign({ id: "paint0_linear_17925_27746", x1: 93.9999, y1: 3.99994, x2: 73, y2: -17, gradientUnits: "userSpaceOnUse" }, { children: [(0, jsx_runtime_1.jsx)("stop", { stopColor: "var(--primary-linear)" }), (0, jsx_runtime_1.jsx)("stop", { offset: 1, stopColor: "var(--primary-linear-to)" })] })) })] }))); };
40
40
  exports.default = SvgRectangle;
@@ -0,0 +1,3 @@
1
+ export default SvgTimeCircleMd;
2
+ declare function SvgTimeCircleMd(props: any): React.JSX.Element;
3
+ import * as React from "react";
@@ -0,0 +1,40 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var React = __importStar(require("react"));
39
+ var SvgTimeCircleMd = function (props) { return ((0, jsx_runtime_1.jsxs)("svg", __assign({ width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.2499 12C21.2499 17.109 17.1089 21.25 11.9999 21.25C6.89088 21.25 2.74988 17.109 2.74988 12C2.74988 6.891 6.89088 2.75 11.9999 2.75C17.1089 2.75 21.2499 6.891 21.2499 12Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), (0, jsx_runtime_1.jsx)("path", { d: "M15.4315 14.9417L11.6615 12.6927V7.8457", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })] }))); };
40
+ exports.default = SvgTimeCircleMd;