@modul/mbui 0.0.13-beta-pv-53036-14e26eb5 → 0.0.13

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 (136) hide show
  1. package/dist/Base/Input/Base.d.ts +4 -0
  2. package/dist/Base/Input/Base.js +20 -0
  3. package/dist/Base/Input/Base.js.map +1 -0
  4. package/dist/Base/Input/Input.d.ts +4 -0
  5. package/dist/Base/Input/Input.js +18 -0
  6. package/dist/Base/Input/Input.js.map +1 -0
  7. package/dist/Base/Input/index.d.ts +2 -0
  8. package/dist/Base/Input/index.js +7 -0
  9. package/dist/Base/Input/index.js.map +1 -0
  10. package/dist/Base/Input/types.d.ts +9 -0
  11. package/dist/Base/Input/types.js +3 -0
  12. package/dist/Base/Input/types.js.map +1 -0
  13. package/dist/Button/Button.d.ts +1 -1
  14. package/dist/Chip/Chip.d.ts +1 -1
  15. package/dist/Drawer/Drawer.js +1 -1
  16. package/dist/Drawer/Drawer.js.map +1 -1
  17. package/dist/{Alert/Alert.d.ts → Info/Info.d.ts} +4 -4
  18. package/dist/{Alert/Alert.js → Info/Info.js} +7 -7
  19. package/dist/Info/Info.js.map +1 -0
  20. package/dist/Info/index.d.ts +1 -0
  21. package/dist/Info/index.js +6 -0
  22. package/dist/Info/index.js.map +1 -0
  23. package/dist/Input/Input.js +1 -1
  24. package/dist/Input/Input.js.map +1 -1
  25. package/dist/Input/index.d.ts +0 -1
  26. package/dist/Input/index.js +1 -3
  27. package/dist/Input/index.js.map +1 -1
  28. package/dist/Input-OTP/Input.d.ts +4 -4
  29. package/dist/Page/Page.js +1 -1
  30. package/dist/Page/Page.js.map +1 -1
  31. package/dist/Progress/Progress.d.ts +4 -0
  32. package/dist/Progress/Progress.js +12 -0
  33. package/dist/Progress/Progress.js.map +1 -0
  34. package/dist/Progress/index.d.ts +1 -0
  35. package/dist/Progress/index.js +6 -0
  36. package/dist/Progress/index.js.map +1 -0
  37. package/dist/index.d.ts +20 -27
  38. package/dist/index.js +10 -41
  39. package/dist/index.js.map +1 -1
  40. package/package.json +4 -12
  41. package/src/Drawer/Drawer.tsx +2 -2
  42. package/src/DrawerCompanyList/CompanyList.tsx +63 -0
  43. package/src/DrawerCompanyList/index.ts +1 -0
  44. package/src/{Alert/Alert.tsx → Info/Info.tsx} +6 -6
  45. package/src/Info/index.ts +1 -0
  46. package/src/Input/Input.tsx +1 -1
  47. package/src/Input/index.ts +1 -2
  48. package/src/Label/Label.tsx +1 -1
  49. package/src/Page/Page.tsx +1 -1
  50. package/src/Progress/Progress.tsx +23 -0
  51. package/src/Progress/index.ts +1 -0
  52. package/src/assets/css/global.css +9 -22
  53. package/src/index.ts +41 -67
  54. package/dist/Alert/Alert.js.map +0 -1
  55. package/dist/Alert/index.d.ts +0 -1
  56. package/dist/Alert/index.js +0 -6
  57. package/dist/Alert/index.js.map +0 -1
  58. package/dist/AlertDialog/AlertDialog.d.ts +0 -20
  59. package/dist/AlertDialog/AlertDialog.js +0 -42
  60. package/dist/AlertDialog/AlertDialog.js.map +0 -1
  61. package/dist/AlertDialog/index.d.ts +0 -1
  62. package/dist/AlertDialog/index.js +0 -16
  63. package/dist/AlertDialog/index.js.map +0 -1
  64. package/dist/Calendar/Calendar.d.ts +0 -8
  65. package/dist/Calendar/Calendar.js +0 -45
  66. package/dist/Calendar/Calendar.js.map +0 -1
  67. package/dist/Calendar/index.d.ts +0 -1
  68. package/dist/Calendar/index.js +0 -6
  69. package/dist/Calendar/index.js.map +0 -1
  70. package/dist/DatePicker/DatePicker.d.ts +0 -11
  71. package/dist/DatePicker/DatePicker.js +0 -23
  72. package/dist/DatePicker/DatePicker.js.map +0 -1
  73. package/dist/DatePicker/index.d.ts +0 -1
  74. package/dist/DatePicker/index.js +0 -6
  75. package/dist/DatePicker/index.js.map +0 -1
  76. package/dist/Form/Form.d.ts +0 -23
  77. package/dist/Form/Form.js +0 -73
  78. package/dist/Form/Form.js.map +0 -1
  79. package/dist/Form/index.d.ts +0 -1
  80. package/dist/Form/index.js +0 -13
  81. package/dist/Form/index.js.map +0 -1
  82. package/dist/Input/InputMask.d.ts +0 -3
  83. package/dist/Input/InputMask.js +0 -12
  84. package/dist/Input/InputMask.js.map +0 -1
  85. package/dist/Label/Label.d.ts +0 -5
  86. package/dist/Label/Label.js +0 -13
  87. package/dist/Label/Label.js.map +0 -1
  88. package/dist/Label/index.d.ts +0 -1
  89. package/dist/Label/index.js +0 -6
  90. package/dist/Label/index.js.map +0 -1
  91. package/dist/Select/Select.d.ts +0 -5
  92. package/dist/Select/Select.js +0 -11
  93. package/dist/Select/Select.js.map +0 -1
  94. package/dist/Select/SelectAccountCard.d.ts +0 -5
  95. package/dist/Select/SelectAccountCard.js +0 -77
  96. package/dist/Select/SelectAccountCard.js.map +0 -1
  97. package/dist/Select/SelectAsync.d.ts +0 -8
  98. package/dist/Select/SelectAsync.js +0 -73
  99. package/dist/Select/SelectAsync.js.map +0 -1
  100. package/dist/Select/SelectBase.d.ts +0 -8
  101. package/dist/Select/SelectBase.js +0 -74
  102. package/dist/Select/SelectBase.js.map +0 -1
  103. package/dist/Select/index.d.ts +0 -4
  104. package/dist/Select/index.js +0 -12
  105. package/dist/Select/index.js.map +0 -1
  106. package/dist/Switch/Switch.d.ts +0 -4
  107. package/dist/Switch/Switch.js +0 -31
  108. package/dist/Switch/Switch.js.map +0 -1
  109. package/dist/Switch/index.d.ts +0 -1
  110. package/dist/Switch/index.js +0 -6
  111. package/dist/Switch/index.js.map +0 -1
  112. package/dist/Textarea/Textarea.d.ts +0 -5
  113. package/dist/Textarea/Textarea.js +0 -12
  114. package/dist/Textarea/Textarea.js.map +0 -1
  115. package/dist/Textarea/index.d.ts +0 -1
  116. package/dist/Textarea/index.js +0 -6
  117. package/dist/Textarea/index.js.map +0 -1
  118. package/src/Alert/index.ts +0 -1
  119. package/src/AlertDialog/AlertDialog.tsx +0 -138
  120. package/src/AlertDialog/index.ts +0 -13
  121. package/src/Calendar/Calendar.tsx +0 -61
  122. package/src/Calendar/index.ts +0 -1
  123. package/src/DatePicker/DatePicker.tsx +0 -40
  124. package/src/DatePicker/index.ts +0 -1
  125. package/src/Form/Form.tsx +0 -152
  126. package/src/Form/index.ts +0 -1
  127. package/src/Input/InputMask.tsx +0 -15
  128. package/src/Select/Select.tsx +0 -19
  129. package/src/Select/SelectAccountCard.tsx +0 -175
  130. package/src/Select/SelectAsync.tsx +0 -183
  131. package/src/Select/SelectBase.tsx +0 -193
  132. package/src/Select/index.ts +0 -4
  133. package/src/Switch/Switch.tsx +0 -47
  134. package/src/Switch/index.ts +0 -1
  135. package/src/Textarea/Textarea.tsx +0 -24
  136. package/src/Textarea/index.ts +0 -1
package/dist/Form/Form.js DELETED
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormField = exports.FormMessage = exports.FormDescription = exports.FormControl = exports.FormLabel = exports.FormItem = exports.Form = exports.useFormField = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const react_slot_1 = require("@radix-ui/react-slot");
7
- const react_hook_form_1 = require("react-hook-form");
8
- const utils_1 = require("../@/lib/utils");
9
- const Label_1 = require("../Label");
10
- const Form = react_hook_form_1.FormProvider;
11
- exports.Form = Form;
12
- const FormFieldContext = React.createContext({});
13
- const FormField = ({ ...props }) => {
14
- return (React.createElement(FormFieldContext.Provider, { value: { name: props.name } },
15
- React.createElement(react_hook_form_1.Controller, { ...props })));
16
- };
17
- exports.FormField = FormField;
18
- const useFormField = () => {
19
- const fieldContext = React.useContext(FormFieldContext);
20
- const itemContext = React.useContext(FormItemContext);
21
- const { getFieldState, formState } = (0, react_hook_form_1.useFormContext)();
22
- const fieldState = getFieldState(fieldContext.name, formState);
23
- if (!fieldContext) {
24
- throw new Error('useFormField should be used within <FormField>');
25
- }
26
- const { id } = itemContext;
27
- return {
28
- id,
29
- name: fieldContext.name,
30
- formItemId: `${id}-form-item`,
31
- formDescriptionId: `${id}-form-item-description`,
32
- formMessageId: `${id}-form-item-message`,
33
- ...fieldState,
34
- };
35
- };
36
- exports.useFormField = useFormField;
37
- const FormItemContext = React.createContext({});
38
- const FormItem = React.forwardRef(({ className, ...props }, ref) => {
39
- const id = React.useId();
40
- return (React.createElement(FormItemContext.Provider, { value: { id } },
41
- React.createElement("div", { ref: ref, className: (0, utils_1.cn)('space-y-2', className), ...props })));
42
- });
43
- exports.FormItem = FormItem;
44
- FormItem.displayName = 'FormItem';
45
- const FormLabel = React.forwardRef(({ className, ...props }, ref) => {
46
- const { error, formItemId } = useFormField();
47
- return (React.createElement(Label_1.Label, { ref: ref, className: (0, utils_1.cn)(error && 'text-destructive', className), htmlFor: formItemId, ...props }));
48
- });
49
- exports.FormLabel = FormLabel;
50
- FormLabel.displayName = 'FormLabel';
51
- const FormControl = React.forwardRef(({ ...props }, ref) => {
52
- const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
53
- return (React.createElement(react_slot_1.Slot, { ref: ref, id: formItemId, "aria-describedby": !error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`, "aria-invalid": !!error, ...props }));
54
- });
55
- exports.FormControl = FormControl;
56
- FormControl.displayName = 'FormControl';
57
- const FormDescription = React.forwardRef(({ className, ...props }, ref) => {
58
- const { formDescriptionId } = useFormField();
59
- return (React.createElement("p", { ref: ref, id: formDescriptionId, className: (0, utils_1.cn)('text-[0.8rem] text-light', className), ...props }));
60
- });
61
- exports.FormDescription = FormDescription;
62
- FormDescription.displayName = 'FormDescription';
63
- const FormMessage = React.forwardRef(({ className, children, ...props }, ref) => {
64
- const { error, formMessageId } = useFormField();
65
- const body = error ? String(error?.message) : children;
66
- if (!body) {
67
- return null;
68
- }
69
- return (React.createElement("p", { ref: ref, id: formMessageId, className: (0, utils_1.cn)('text-[0.8rem] font-medium text-destructive', className), ...props }, body));
70
- });
71
- exports.FormMessage = FormMessage;
72
- FormMessage.displayName = 'FormMessage';
73
- //# sourceMappingURL=Form.js.map
@@ -1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AAC,CACD,CAAA;AAG+E,kCAAW;AAF3F,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA"}
@@ -1 +0,0 @@
1
- export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField } from './Form';
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormField = exports.FormMessage = exports.FormDescription = exports.FormControl = exports.FormLabel = exports.FormItem = exports.Form = exports.useFormField = void 0;
4
- var Form_1 = require("./Form");
5
- Object.defineProperty(exports, "useFormField", { enumerable: true, get: function () { return Form_1.useFormField; } });
6
- Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return Form_1.Form; } });
7
- Object.defineProperty(exports, "FormItem", { enumerable: true, get: function () { return Form_1.FormItem; } });
8
- Object.defineProperty(exports, "FormLabel", { enumerable: true, get: function () { return Form_1.FormLabel; } });
9
- Object.defineProperty(exports, "FormControl", { enumerable: true, get: function () { return Form_1.FormControl; } });
10
- Object.defineProperty(exports, "FormDescription", { enumerable: true, get: function () { return Form_1.FormDescription; } });
11
- Object.defineProperty(exports, "FormMessage", { enumerable: true, get: function () { return Form_1.FormMessage; } });
12
- Object.defineProperty(exports, "FormField", { enumerable: true, get: function () { return Form_1.FormField; } });
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Form/index.ts"],"names":[],"mappings":";;;AAAA,+BAAsH;AAA7G,oGAAA,YAAY,OAAA;AAAE,4FAAA,IAAI,OAAA;AAAE,gGAAA,QAAQ,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,uGAAA,eAAe,OAAA;AAAE,mGAAA,WAAW,OAAA;AAAE,iGAAA,SAAS,OAAA"}
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- declare const InputMask: React.FC;
3
- export { InputMask };
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InputMask = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const react_imask_1 = require("react-imask");
7
- const inputClasses = 'form-input border-input file:border-0 bg-transparent font-normal file:bg-transparent disabled:opacity-50 border rounded-sm focus-visible:ring-1 focus-visible:ring-ring w-full h-[44px] file:font-medium file:text-sm placeholder:text-muted-foreground leading-[1.17] transition-colors focus-visible:outline-none disabled:cursor-not-allowed';
8
- const InputMask = ({ ...props }) => {
9
- return (React.createElement(react_imask_1.IMaskInput, { className: inputClasses, ...props }));
10
- };
11
- exports.InputMask = InputMask;
12
- //# sourceMappingURL=InputMask.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputMask.js","sourceRoot":"","sources":["../../src/Input/InputMask.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,6CAAwC;AAExC,MAAM,YAAY,GAAG,iVAAiV,CAAA;AAEtW,MAAM,SAAS,GAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAC5C,OAAO,CACN,oBAAC,wBAAU,IACV,SAAS,EAAE,YAAY,KACnB,KAAK,GACR,CACF,CAAA;AACF,CAAC,CAAA;AAEQ,8BAAS"}
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import * as LabelPrimitive from '@radix-ui/react-label';
3
- import { type VariantProps } from 'class-variance-authority';
4
- declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: import("class-variance-authority/dist/types").ClassProp) => string> & React.RefAttributes<HTMLLabelElement>>;
5
- export { Label };
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Label = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const LabelPrimitive = (0, tslib_1.__importStar)(require("@radix-ui/react-label"));
7
- const class_variance_authority_1 = require("class-variance-authority");
8
- const utils_1 = require("../@/lib/utils");
9
- const labelVariants = (0, class_variance_authority_1.cva)('peer-disabled:opacity-70 peer-disabled:cursor-not-allowed');
10
- const Label = React.forwardRef(({ className, ...props }, ref) => (React.createElement(LabelPrimitive.Root, { ref: ref, className: (0, utils_1.cn)(labelVariants(), className), ...props })));
11
- exports.Label = Label;
12
- Label.displayName = LabelPrimitive.Root.displayName;
13
- //# sourceMappingURL=Label.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.js","sourceRoot":"","sources":["../../src/Label/Label.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,mFAAuD;AACvD,uEAAiE;AACjE,0CAAmC;AAEnC,MAAM,aAAa,GAAG,IAAA,8BAAG,EAAC,2DAA2D,CAAC,CAAA;AAEtF,MAAM,KAAK,GAAG,KAAK,CAAC,UAAU,CAG5B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACnC,oBAAC,cAAc,CAAC,IAAI,IACnB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,UAAE,EAAC,aAAa,EAAE,EAAE,SAAS,CAAC,KACrC,KAAK,GACR,CACF,CAAC,CAAA;AAGO,sBAAK;AAFd,KAAK,CAAC,WAAW,GAAG,cAAc,CAAC,IAAI,CAAC,WAAW,CAAA"}
@@ -1 +0,0 @@
1
- export { Label } from './Label';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Label = void 0;
4
- var Label_1 = require("./Label");
5
- Object.defineProperty(exports, "Label", { enumerable: true, get: function () { return Label_1.Label; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Label/index.ts"],"names":[],"mappings":";;;AAAA,iCAA+B;AAAtB,8FAAA,KAAK,OAAA"}
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import { GroupBase, Props } from "react-select";
3
- declare type SelectBaseProps<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Props<Option, IsMulti, Group>;
4
- declare function Select<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: SelectBaseProps<Option, IsMulti, Group>): React.JSX.Element;
5
- export { Select };
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Select = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const SelectBase_1 = require("./SelectBase");
7
- function Select(props) {
8
- return React.createElement(SelectBase_1.SelectBase, { ...props });
9
- }
10
- exports.Select = Select;
11
- //# sourceMappingURL=Select.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../src/Select/Select.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAC9B,6CAAyC;AASzC,SAAS,MAAM,CAIb,KAA8C;IAC/C,OAAO,oBAAC,uBAAU,OAAM,KAAK,GAAG,CAAA;AACjC,CAAC;AAEQ,wBAAM"}
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- import { Props, GroupBase } from 'react-select';
3
- declare type SelectAccountCardProps<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Props<Option, IsMulti, Group>;
4
- declare const SelectAccountCard: <Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: SelectAccountCardProps<Option, IsMulti, Group>) => React.JSX.Element;
5
- export { SelectAccountCard };
@@ -1,77 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SelectAccountCard = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const Icon_1 = require("../Icon");
7
- const react_select_1 = (0, tslib_1.__importStar)(require("react-select"));
8
- const utils_1 = require("../@/lib/utils");
9
- const selectTriggerClasses = 'flex items-center bg-gradient-to-r from-[--cl-blue-3] to-primary shadow-[0px_8px_18px_0px_rgba(73,113,208,0.38)] px-[16px] py-[8px] border-none rounded-md min-h-[80px] text-left text-white cursor-pointer';
10
- const colourStyles = {
11
- control: () => ({}),
12
- option: () => ({}),
13
- input: () => ({}),
14
- dropdownIndicator: () => ({}),
15
- indicatorsContainer: () => ({}),
16
- menu: () => ({}),
17
- menuList: () => ({}),
18
- singleValue: () => ({}),
19
- valueContainer: () => ({}),
20
- };
21
- const Control = ({ children, ...props }) => {
22
- const { isFocused } = props;
23
- return (React.createElement(react_select_1.components.Control, { className: (0, utils_1.cn)(selectTriggerClasses, { 'outline outline-primary outline-offset-2 outline-2': isFocused }), ...props }, children));
24
- };
25
- const optionClasses = 'flex items-center first:rounded-t-md last:rounded-b-md px-[12px] py-[16px] w-full cursor-default select-none outline-none';
26
- const Option = ({ children, ...props }) => {
27
- const { isSelected, isFocused, isDisabled,
28
- // @ts-ignore
29
- data: { label, account, balance, cur }, } = props;
30
- return (React.createElement(react_select_1.components.Option, { className: (0, utils_1.cn)(optionClasses, { 'bg-light': isFocused }, { 'opacity-50 pointer-events-none': isDisabled }), ...props },
31
- React.createElement("span", { className: "flex basis-0 grow" },
32
- React.createElement("span", null,
33
- React.createElement("span", null, label),
34
- React.createElement("br", null),
35
- React.createElement("span", { className: "text-[14px] text-light" }, account)),
36
- React.createElement("span", { className: "ml-auto shrink-0" },
37
- balance,
38
- "\u00A0",
39
- cur)),
40
- React.createElement("span", { className: "ml-[16px] w-[24px] h-[24px] shrink-0" }, isSelected && (React.createElement(Icon_1.CheckSmall, { width: "24", height: "24", className: "text-primary" })))));
41
- };
42
- const DropdownIndicator = ({ children, ...props }) => {
43
- return (React.createElement(react_select_1.components.DropdownIndicator, { className: "shrink-0", ...props },
44
- React.createElement(Icon_1.DropdownSmallOld, { className: "text-white", width: "16", height: "16" })));
45
- };
46
- const ValueContainer = ({ children, ...props }) => {
47
- return (React.createElement(react_select_1.components.ValueContainer, { className: "flex-1 grid", ...props }, children));
48
- };
49
- const SingleValue = ({ children, ...props }) => {
50
- // @ts-ignore
51
- const { label, account, balance, cur } = props.data;
52
- return (React.createElement(react_select_1.components.SingleValue, { className: "col-start-1 col-end-3 row-start-1 row-end-2", ...props },
53
- React.createElement("span", { className: "block max-w-full text-[16px] truncate leading-[1.5]" },
54
- label,
55
- " ",
56
- React.createElement("span", { className: "opacity-75 text-[14px] leading-[1.42]" }, account)),
57
- React.createElement("span", { className: "block mt-[8px] font-medium text-[24px] leading-[1.333]" },
58
- balance,
59
- " ",
60
- cur)));
61
- };
62
- const Menu = ({ children, ...props }) => {
63
- return (React.createElement(react_select_1.components.Menu, { className: "z-[1] absolute inset-x-0 bg-page shadow-md mt-[8px] rounded-md", ...props }, children));
64
- };
65
- const SelectAccountCard = (props) => {
66
- return (React.createElement(react_select_1.default, { isSearchable: false, components: {
67
- Control,
68
- Option,
69
- SingleValue,
70
- DropdownIndicator,
71
- IndicatorSeparator: () => null,
72
- Menu,
73
- ValueContainer,
74
- }, styles: colourStyles, unstyled: true, ...props }));
75
- };
76
- exports.SelectAccountCard = SelectAccountCard;
77
- //# sourceMappingURL=SelectAccountCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectAccountCard.js","sourceRoot":"","sources":["../../src/Select/SelectAccountCard.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAE9B,kCAAsD;AAEtD,0EAWqB;AAErB,0CAAmC;AAEnC,MAAM,oBAAoB,GACzB,6MAA6M,CAAA;AAE9M,MAAM,YAAY,GAAiB;IAClC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACnB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAClB,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACjB,iBAAiB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAC7B,mBAAmB,EAAE,GAAG,EAAE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AAE,EAAE;IAClD,OAAO,CACN,oBAAC,yBAAU,CAAC,IAAI,IACf,SAAS,EAAC,gEAAgE,KACtE,KAAK,IAER,QAAQ,CACQ,CAClB,CAAA;AACF,CAAC,CAAA;AAQD,MAAM,iBAAiB,GAAG,CAIxB,KAAqD,EAAE,EAAE;IAC1D,OAAO,CACN,oBAAC,sBAAM,IACN,YAAY,EAAE,KAAK,EACnB,UAAU,EAAE;YACX,OAAO;YACP,MAAM;YACN,WAAW;YACX,iBAAiB;YACjB,kBAAkB,EAAE,GAAG,EAAE,CAAC,IAAI;YAC9B,IAAI;YACJ,cAAc;SACd,EACD,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,IAAI,KACV,KAAK,GACR,CACF,CAAA;AACF,CAAC,CAAA;AAEQ,8CAAiB"}
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- declare const SelectAsync: {
3
- ({ ...props }: {
4
- [x: string]: any;
5
- }): React.JSX.Element;
6
- displayName: string;
7
- };
8
- export { SelectAsync };
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SelectAsync = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const Icon_1 = require("../Icon");
7
- const react_select_1 = require("react-select");
8
- const async_1 = (0, tslib_1.__importDefault)(require("react-select/async"));
9
- const utils_1 = require("../@/lib/utils");
10
- const selectTriggerClasses = 'flex items-center border-[1px] border-input rounded-sm h-[44px] text-left px-[16px] py-[12px] cursor-pointer';
11
- const colourStyles = {
12
- control: () => ({}),
13
- option: () => ({}),
14
- input: () => ({}),
15
- dropdownIndicator: () => ({}),
16
- indicatorsContainer: () => ({}),
17
- menu: () => ({}),
18
- menuList: () => ({}),
19
- singleValue: () => ({}),
20
- valueContainer: () => ({}),
21
- };
22
- const Input = ({ ...props }) => {
23
- return React.createElement(react_select_1.components.Input, { className: 'col-start-1 col-end-3 row-start-1 row-end-2', ...props });
24
- };
25
- const Control = ({ children, ...props }) => {
26
- const { isFocused } = props;
27
- return (React.createElement(react_select_1.components.Control, { className: (0, utils_1.cn)(selectTriggerClasses, { 'outline outline-primary outline-offset-2 outline-2': isFocused }), ...props }, children));
28
- };
29
- const optionClasses = 'flex items-center first:rounded-t-sm last:rounded-b-sm px-[16px] py-[12px] w-full cursor-default select-none outline-none';
30
- const Option = ({ children, ...props }) => {
31
- const { isSelected, isFocused, isDisabled, } = props;
32
- return (React.createElement(react_select_1.components.Option, { className: (0, utils_1.cn)(optionClasses, { 'bg-light': isFocused }, { 'opacity-50 pointer-events-none': isDisabled }), ...props },
33
- React.createElement("span", { className: "flex basis-0 grow" }, children),
34
- React.createElement("span", { className: "ml-[16px] w-[24px] h-[24px] shrink-0" }, isSelected && (React.createElement(Icon_1.CheckSmall, { width: "24", height: "24", className: "text-primary" })))));
35
- };
36
- const IndicatorsContainer = ({ children, ...props }) => {
37
- return (React.createElement(react_select_1.components.IndicatorsContainer, { className: 'flex items-center gap-x-[8px] shrink-0', ...props }, children));
38
- };
39
- const LoadingIndicator = ({ ...props }) => {
40
- return (React.createElement(react_select_1.components.LoadingIndicator, { className: 'text-light shrink-0', ...props }));
41
- };
42
- const DropdownIndicator = ({ children, ...props }) => {
43
- return (React.createElement(react_select_1.components.DropdownIndicator, { className: "shrink-0", ...props },
44
- React.createElement(Icon_1.DropdownSmallOld, { className: "text-light", width: "12", height: "12" })));
45
- };
46
- const ValueContainer = ({ children, ...props }) => {
47
- return (React.createElement(react_select_1.components.ValueContainer, { className: "flex-1 grid", ...props }, children));
48
- };
49
- const SingleValue = ({ children, ...props }) => {
50
- return (React.createElement(react_select_1.components.SingleValue, { className: "col-start-1 col-end-3 row-start-1 row-end-2", ...props }, children));
51
- };
52
- const Menu = ({ children, ...props }) => {
53
- return (React.createElement(react_select_1.components.Menu, { className: "z-[1] absolute inset-x-0 bg-page shadow-sm mt-[8px] rounded-sm", ...props }, children));
54
- };
55
- const Placeholder = ({ children, ...props }) => {
56
- return (React.createElement(react_select_1.components.Placeholder, { className: "col-start-1 col-end-3 row-start-1 row-end-2 text-[16px] text-light truncate", ...props }, children));
57
- };
58
- const SelectAsync = ({ ...props }) => (React.createElement(async_1.default, { components: {
59
- Control,
60
- Option,
61
- SingleValue,
62
- DropdownIndicator,
63
- IndicatorSeparator: () => null,
64
- Menu,
65
- ValueContainer,
66
- Placeholder,
67
- Input,
68
- LoadingIndicator,
69
- IndicatorsContainer
70
- }, styles: colourStyles, unstyled: true, ...props }));
71
- exports.SelectAsync = SelectAsync;
72
- SelectAsync.displayName = 'SelectAsync';
73
- //# sourceMappingURL=SelectAsync.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectAsync.js","sourceRoot":"","sources":["../../src/Select/SelectAsync.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAE9B,kCAAsD;AAEtD,+CAaqB;AAErB,4EAA4C;AAE5C,0CAAmC;AAEnC,MAAM,oBAAoB,GACzB,8GAA8G,CAAA;AAE/G,MAAM,YAAY,GAAiB;IAClC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACnB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAClB,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACjB,iBAAiB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAC7B,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACpB,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACvB,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;CAC1B,CAAA;AAED,MAAM,KAAK,GAAG,CAAC,EAAC,GAAG,KAAK,EAAc,EAAE,EAAE;IACzC,OAAO,oBA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tB,SAAS,EAAC,6EAA6E,KACnF,KAAK,IAER,QAAQ,CACe,CACzB,CAAA;AACF,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,CACrC,oBAAC,eAAW,IACX,UAAU,EAAE;QACX,OAAO;QACP,MAAM;QACN,WAAW;QACX,iBAAiB;QACjB,kBAAkB,EAAE,GAAG,EAAE,CAAC,IAAI;QAC9B,IAAI;QACJ,cAAc;QACd,WAAW;QACX,KAAK;QACL,gBAAgB;QAChB,mBAAmB;KACnB,EACD,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,IAAI,KACV,KAAK,GACR,CACF,CAAA;AAIQ,kCAAW;AAFpB,WAAW,CAAC,WAAW,GAAG,aAAa,CAAA"}
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { GroupBase, Props } from 'react-select';
3
- declare type SelectBaseProps<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Props<Option, IsMulti, Group>;
4
- declare function SelectBase<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: SelectBaseProps<Option, IsMulti, Group>): React.JSX.Element;
5
- declare namespace SelectBase {
6
- var displayName: string;
7
- }
8
- export { SelectBase };
@@ -1,74 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SelectBase = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const Icon_1 = require("../Icon");
7
- const react_select_1 = (0, tslib_1.__importStar)(require("react-select"));
8
- const utils_1 = require("../@/lib/utils");
9
- const selectTriggerClasses = 'flex items-center border-[1px] border-input rounded-sm h-[44px] text-left px-[16px] py-[12px] cursor-pointer';
10
- const colourStyles = {
11
- control: () => ({}),
12
- option: () => ({}),
13
- input: () => ({}),
14
- dropdownIndicator: () => ({}),
15
- indicatorsContainer: () => ({}),
16
- menu: () => ({}),
17
- menuList: () => ({}),
18
- singleValue: () => ({}),
19
- valueContainer: () => ({}),
20
- };
21
- const Input = ({ ...props }) => {
22
- return React.createElement(react_select_1.components.Input, { className: 'col-start-1 col-end-3 row-start-1 row-end-2', ...props });
23
- };
24
- const Control = ({ children, ...props }) => {
25
- const { isFocused } = props;
26
- return (React.createElement(react_select_1.components.Control, { className: (0, utils_1.cn)(selectTriggerClasses, { 'outline outline-primary outline-offset-2 outline-2': isFocused }), ...props }, children));
27
- };
28
- const optionClasses = 'flex items-center first:rounded-t-sm last:rounded-b-sm px-[16px] py-[12px] w-full cursor-default select-none outline-none';
29
- const Option = ({ children, ...props }) => {
30
- const { isSelected, isFocused, isDisabled, } = props;
31
- return (React.createElement(react_select_1.components.Option, { className: (0, utils_1.cn)(optionClasses, { 'bg-light': isFocused }, { 'opacity-50 pointer-events-none': isDisabled }), ...props },
32
- React.createElement("span", { className: "flex basis-0 grow" }, children),
33
- React.createElement("span", { className: "ml-[16px] w-[24px] h-[24px] shrink-0" }, isSelected && (React.createElement(Icon_1.CheckSmall, { width: "24", height: "24", className: "text-primary" })))));
34
- };
35
- const IndicatorsContainer = ({ children, ...props }) => {
36
- return (React.createElement(react_select_1.components.IndicatorsContainer, { className: 'flex items-center gap-x-[8px] shrink-0', ...props }, children));
37
- };
38
- const LoadingIndicator = ({ ...props }) => {
39
- return (React.createElement(react_select_1.components.LoadingIndicator, { className: 'text-light shrink-0', ...props }));
40
- };
41
- const DropdownIndicator = ({ children, ...props }) => {
42
- return (React.createElement(react_select_1.components.DropdownIndicator, { className: "shrink-0", ...props },
43
- React.createElement(Icon_1.DropdownSmallOld, { className: "text-light", width: "12", height: "12" })));
44
- };
45
- const ValueContainer = ({ children, ...props }) => {
46
- return (React.createElement(react_select_1.components.ValueContainer, { className: "flex-1 grid", ...props }, children));
47
- };
48
- const SingleValue = ({ children, ...props }) => {
49
- return (React.createElement(react_select_1.components.SingleValue, { className: "col-start-1 col-end-3 row-start-1 row-end-2", ...props }, children));
50
- };
51
- const Menu = ({ children, ...props }) => {
52
- return (React.createElement(react_select_1.components.Menu, { className: "z-[1] absolute inset-x-0 bg-page shadow-sm mt-[8px] rounded-sm", ...props }, children));
53
- };
54
- const Placeholder = ({ children, ...props }) => {
55
- return (React.createElement(react_select_1.components.Placeholder, { className: "col-start-1 col-end-3 row-start-1 row-end-2 text-[16px] text-light truncate", ...props }, children));
56
- };
57
- function SelectBase(props) {
58
- return (React.createElement(react_select_1.default, { components: {
59
- Control,
60
- Option,
61
- SingleValue,
62
- DropdownIndicator,
63
- IndicatorSeparator: () => null,
64
- Menu,
65
- ValueContainer,
66
- Placeholder,
67
- Input,
68
- LoadingIndicator,
69
- IndicatorsContainer
70
- }, styles: colourStyles, unstyled: true, ...props }));
71
- }
72
- exports.SelectBase = SelectBase;
73
- SelectBase.displayName = 'SelectBase';
74
- //# sourceMappingURL=SelectBase.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectBase.js","sourceRoot":"","sources":["../../src/Select/SelectBase.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAE9B,kCAAsD;AAEtD,0EAaqB;AAErB,0CAAmC;AAEnC,MAAM,oBAAoB,GACzB,8GAA8G,CAAA;AAE/G,MAAM,YAAY,GAAiB;IAClC,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACnB,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAClB,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACjB,iBAAiB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAC7B,mBAAmB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAC/B,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IAChB,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACpB,WAAW,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACvB,cAAc,EAAE,G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AA;AAED,MAAM,WAAW,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAoB,EAAE,EAAE;IAChE,OAAO,CACN,oBAAC,yBAAU,CAAC,WAAW,IACtB,SAAS,EAAC,6EAA6E,KACnF,KAAK,IAER,QAAQ,CACe,CACzB,CAAA;AACF,CAAC,CAAA;AAQD,SAAS,UAAU,CAIjB,KAA8C;IAC/C,OAAO,CACN,oBAAC,sBAAM,IACN,UAAU,EAAE;YACX,OAAO;YACP,MAAM;YACN,WAAW;YACX,iBAAiB;YACjB,kBAAkB,EAAE,GAAG,EAAE,CAAC,IAAI;YAC9B,IAAI;YACJ,cAAc;YACd,WAAW;YACX,KAAK;YACL,gBAAgB;YAChB,mBAAmB;SACnB,EACD,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,IAAI,KACV,KAAK,GACR,CACF,CAAA;AACF,CAAC;AAIQ,gCAAU;AAFnB,UAAU,CAAC,WAAW,GAAG,YAAY,CAAA"}
@@ -1,4 +0,0 @@
1
- export { SelectAccountCard } from './SelectAccountCard';
2
- export { SelectAsync } from './SelectAsync';
3
- export { SelectBase } from './SelectBase';
4
- export { Select } from './Select';
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Select = exports.SelectBase = exports.SelectAsync = exports.SelectAccountCard = void 0;
4
- var SelectAccountCard_1 = require("./SelectAccountCard");
5
- Object.defineProperty(exports, "SelectAccountCard", { enumerable: true, get: function () { return SelectAccountCard_1.SelectAccountCard; } });
6
- var SelectAsync_1 = require("./SelectAsync");
7
- Object.defineProperty(exports, "SelectAsync", { enumerable: true, get: function () { return SelectAsync_1.SelectAsync; } });
8
- var SelectBase_1 = require("./SelectBase");
9
- Object.defineProperty(exports, "SelectBase", { enumerable: true, get: function () { return SelectBase_1.SelectBase; } });
10
- var Select_1 = require("./Select");
11
- Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return Select_1.Select; } });
12
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Select/index.ts"],"names":[],"mappings":";;;AAAA,yDAAuD;AAA9C,sHAAA,iBAAiB,OAAA;AAC1B,6CAA2C;AAAlC,0GAAA,WAAW,OAAA;AACpB,2CAAyC;AAAhC,wGAAA,UAAU,OAAA;AACnB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA"}
@@ -1,4 +0,0 @@
1
- import * as React from "react";
2
- import * as SwitchPrimitives from "@radix-ui/react-switch";
3
- declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
- export { Switch };
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Switch = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const SwitchPrimitives = (0, tslib_1.__importStar)(require("@radix-ui/react-switch"));
7
- const utils_1 = require("../@/lib/utils");
8
- const rootClasses = `
9
- inline-flex items-center bg-light
10
- data-[state=checked]:bg-primary data-[state=unchecked]:bg-input
11
- disabled:opacity-50 shadow-sm rounded-full
12
- focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2
13
- w-[32px] h-[18px]
14
- transition-colors cursor-pointer
15
- disabled:cursor-not-allowed peer shrink-0
16
- focus-visible:outline-none
17
- `;
18
- const ThumbClasses = `
19
- border-2 border-input data-[state=checked]:border-primary
20
- bg-page shadow-md rounded-full ring-0
21
- w-[18px] h-[18px]
22
- transition-transform
23
- data-[state=checked]:translate-x-[14px] data-[state=unchecked]:translate-x-0
24
- pointer-events-none
25
- `;
26
- const Switch = React.forwardRef(({ className, ...props }, ref) => (React.createElement(SwitchPrimitives.Root, { className: (0, utils_1.cn)(rootClasses, className), ...props, ref: ref },
27
- React.createElement("span", { className: "" }),
28
- React.createElement(SwitchPrimitives.Thumb, { className: ThumbClasses }))));
29
- exports.Switch = Switch;
30
- Switch.displayName = SwitchPrimitives.Root.displayName;
31
- //# sourceMappingURL=Switch.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Switch.js","sourceRoot":"","sources":["../../src/Switch/Switch.tsx"],"names":[],"mappings":";;;;AACA,0DAA8B;AAC9B,sFAA0D;AAE1D,0CAAmC;AAEnC,MAAM,WAAW,GAAG;;;;;;;;;CASnB,CAAA;AACD,MAAM,YAAY,GAAG;;;;;;;CAOpB,CAAA;AAED,MAAM,MAAM,GAAG,KAAK,CAAC,UAAU,CAG7B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CAClC,oBAAC,gBAAgB,CAAC,IAAI,IACpB,SAAS,EAAE,IAAA,UAAE,EAChB,WAAW,EACN,SAAS,CACV,KACG,KAAK,EACT,GAAG,EAAE,GAAG;IAEX,8BAAM,SAAS,EAAC,EAAE,GAAQ;IACvB,oBAAC,gBAAgB,CAAC,KAAK,IACrB,SAAS,EAAE,YAAY,GACvB,CACoB,CACzB,CAAC,CAAA;AAIO,wBAAM;AAFf,MAAM,CAAC,WAAW,GAAG,gBAAgB,CAAC,IAAI,CAAC,WAAW,CAAA"}
@@ -1 +0,0 @@
1
- export { Switch } from './Switch';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Switch = void 0;
4
- var Switch_1 = require("./Switch");
5
- Object.defineProperty(exports, "Switch", { enumerable: true, get: function () { return Switch_1.Switch; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Switch/index.ts"],"names":[],"mappings":";;;AAAA,mCAAiC;AAAxB,gGAAA,MAAM,OAAA"}
@@ -1,5 +0,0 @@
1
- import * as React from "react";
2
- export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
3
- }
4
- declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
5
- export { Textarea };
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Textarea = void 0;
4
- const tslib_1 = require("tslib");
5
- const React = (0, tslib_1.__importStar)(require("react"));
6
- const utils_1 = require("../@/lib/utils");
7
- const Textarea = React.forwardRef(({ className, ...props }, ref) => {
8
- return (React.createElement("textarea", { className: (0, utils_1.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 placeholder:text-light focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50", className), ref: ref, ...props }));
9
- });
10
- exports.Textarea = Textarea;
11
- Textarea.displayName = "Textarea";
12
- //# sourceMappingURL=Textarea.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textarea.js","sourceRoot":"","sources":["../../src/Textarea/Textarea.tsx"],"names":[],"mappings":";;;;AAAA,0DAA8B;AAE9B,0CAAmC;AAKnC,MAAM,QAAQ,GAAG,KAAK,CAAC,UAAU,CAC/B,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC/B,OAAO,CACL,kCACE,SAAS,EAAE,IAAA,UAAE,EACX,iOAAiO,EACjO,SAAS,CACV,EACD,GAAG,EAAE,GAAG,KACJ,KAAK,GACT,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAGQ,4BAAQ;AAFjB,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA"}
@@ -1 +0,0 @@
1
- export { Textarea } from './Textarea';
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Textarea = void 0;
4
- var Textarea_1 = require("./Textarea");
5
- Object.defineProperty(exports, "Textarea", { enumerable: true, get: function () { return Textarea_1.Textarea; } });
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/Textarea/index.ts"],"names":[],"mappings":";;;AAAA,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA"}
@@ -1 +0,0 @@
1
- export { Alert } from './Alert'