beyond-system 0.3.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/react/Calendar/Calendar.d.ts +7 -0
- package/dist/components/react/Calendar/Calendar.js +14 -0
- package/dist/components/react/Calendar/Calendar.js.map +1 -0
- package/dist/components/react/Calendar/Calendar.stories.d.ts +7 -0
- package/dist/components/react/Calendar/Calendar.stories.js +35 -0
- package/dist/components/react/Calendar/Calendar.stories.js.map +1 -0
- package/dist/components/react/Calendar/index.d.ts +1 -0
- package/dist/components/react/Calendar/index.js +9 -0
- package/dist/components/react/Calendar/index.js.map +1 -0
- package/dist/components/react/Checkbox/Checkbox.js +3 -3
- package/dist/components/react/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/react/DatePicker/DatePicker.d.ts +15 -0
- package/dist/components/react/DatePicker/DatePicker.js +42 -0
- package/dist/components/react/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/react/DatePicker/DatePicker.stories.d.ts +7 -0
- package/dist/components/react/DatePicker/DatePicker.stories.js +46 -0
- package/dist/components/react/DatePicker/DatePicker.stories.js.map +1 -0
- package/dist/components/react/DatePicker/index.d.ts +1 -0
- package/dist/components/react/DatePicker/index.js +9 -0
- package/dist/components/react/DatePicker/index.js.map +1 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.d.ts +7 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.js +14 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.js.map +1 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.stories.d.ts +7 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.stories.js +44 -0
- package/dist/components/react/DateRangeCalendar/DateRangeCalendar.stories.js.map +1 -0
- package/dist/components/react/DateRangeCalendar/index.d.ts +1 -0
- package/dist/components/react/DateRangeCalendar/index.js +9 -0
- package/dist/components/react/DateRangeCalendar/index.js.map +1 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.d.ts +7 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.js +92 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.js.map +1 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.stories.d.ts +7 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.stories.js +44 -0
- package/dist/components/react/DateRangeCalendarWithPanel/DateRangeCalendarWithPanel.stories.js.map +1 -0
- package/dist/components/react/DateRangeCalendarWithPanel/index.d.ts +1 -0
- package/dist/components/react/DateRangeCalendarWithPanel/index.js +9 -0
- package/dist/components/react/DateRangeCalendarWithPanel/index.js.map +1 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.d.ts +22 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.js +56 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.js.map +1 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.stories.d.ts +7 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.stories.js +51 -0
- package/dist/components/react/DateRangePicker/DateRangePicker.stories.js.map +1 -0
- package/dist/components/react/DateRangePicker/index.d.ts +1 -0
- package/dist/components/react/DateRangePicker/index.js +9 -0
- package/dist/components/react/DateRangePicker/index.js.map +1 -0
- package/dist/components/react/TextArea/TextArea.d.ts +5 -1
- package/dist/components/react/TextArea/TextArea.js +5 -4
- package/dist/components/react/TextArea/TextArea.js.map +1 -1
- package/dist/components/react/TextArea/TextArea.stories.d.ts +0 -1
- package/dist/components/react/TextInput/TextInput.d.ts +18 -7
- package/dist/components/react/TextInput/TextInput.js +21 -17
- package/dist/components/react/TextInput/TextInput.js.map +1 -1
- package/dist/components/react/TextInput/TextInput.stories.d.ts +0 -1
- package/dist/stories/base-colors/base-colors.stories.d.ts +0 -1
- package/dist/stories/gradients/gradients.stories.d.ts +0 -1
- package/dist/stories/shadows/shadows.stories.d.ts +0 -1
- package/dist/styles/global.css +54 -30
- package/package.json +82 -77
- package/dist/components/react/Checkbox/Checkbox.styles.d.ts +0 -19
- package/dist/components/react/Checkbox/Checkbox.styles.js +0 -13
- package/dist/components/react/Checkbox/Checkbox.styles.js.map +0 -1
- package/dist/components/react/Checkbox/Checkbox.variants.d.ts +0 -25
- package/dist/components/react/Checkbox/Checkbox.variants.js +0 -30
- package/dist/components/react/Checkbox/Checkbox.variants.js.map +0 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
+
var moment_1 = tslib_1.__importDefault(require("moment"));
|
|
6
|
+
var clsx_1 = tslib_1.__importDefault(require("clsx"));
|
|
7
|
+
var DropdownMenu = tslib_1.__importStar(require("@radix-ui/react-dropdown-menu"));
|
|
8
|
+
var md_1 = require("react-icons/md");
|
|
9
|
+
var DateRangeCalendarWithPanel_1 = tslib_1.__importDefault(require("../DateRangeCalendarWithPanel"));
|
|
10
|
+
var TextInput_1 = tslib_1.__importDefault(require("../TextInput"));
|
|
11
|
+
var DateRangePicker = function (props) {
|
|
12
|
+
var fill = props.fill, leftIcon = props.leftIcon, rightIcon = props.rightIcon, shape = props.shape, isValid = props.isValid, isErrored = props.isErrored, paintLeftIcon = props.paintLeftIcon, paintRightIcon = props.paintRightIcon, onChange = props.onChange, value = props.range, _a = props.closeOnSelect, closeOnSelect = _a === void 0 ? true : _a, className = props.className, calendarProps = tslib_1.__rest(props, ["fill", "leftIcon", "rightIcon", "shape", "isValid", "isErrored", "paintLeftIcon", "paintRightIcon", "onChange", "range", "closeOnSelect", "className"]);
|
|
13
|
+
var _b = react_1.default.useState(false), isOpen = _b[0], setIsOpen = _b[1];
|
|
14
|
+
var _c = react_1.default.useState({
|
|
15
|
+
key: 'selection',
|
|
16
|
+
startDate: (0, moment_1.default)(value.startDate).startOf('day').toDate(),
|
|
17
|
+
endDate: (0, moment_1.default)(value.endDate).endOf('day').toDate(),
|
|
18
|
+
}), range = _c[0], setRange = _c[1];
|
|
19
|
+
var LeftIcon = leftIcon === true ? react_1.default.createElement(md_1.MdCalendarToday, null) : leftIcon;
|
|
20
|
+
var RightIcon = rightIcon === true ? react_1.default.createElement(md_1.MdCalendarToday, null) : rightIcon;
|
|
21
|
+
var formattedStartDate = (range === null || range === void 0 ? void 0 : range.startDate)
|
|
22
|
+
? (0, moment_1.default)(range.startDate).format('DD/MM/YYYY')
|
|
23
|
+
: '';
|
|
24
|
+
var formattedEndDate = (range === null || range === void 0 ? void 0 : range.endDate)
|
|
25
|
+
? (0, moment_1.default)(range.endDate).format('DD/MM/YYYY')
|
|
26
|
+
: '';
|
|
27
|
+
var formattedDate = "".concat(formattedStartDate, " - ").concat(formattedEndDate);
|
|
28
|
+
var handleDateChange = function (r) {
|
|
29
|
+
setRange(r);
|
|
30
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(r);
|
|
31
|
+
var isFocused = r.startDate !== r.endDate;
|
|
32
|
+
if (closeOnSelect && isFocused)
|
|
33
|
+
setIsOpen(false);
|
|
34
|
+
};
|
|
35
|
+
return (react_1.default.createElement(DropdownMenu.Root, { open: isOpen, onOpenChange: setIsOpen },
|
|
36
|
+
react_1.default.createElement(DropdownMenu.Trigger, { className: (0, clsx_1.default)('w-full', className) },
|
|
37
|
+
react_1.default.createElement("div", { className: "absolute inset-0 bg-transparent cursor-pointer" }),
|
|
38
|
+
react_1.default.createElement(TextInput_1.default, tslib_1.__assign({ value: formattedDate }, {
|
|
39
|
+
fill: fill,
|
|
40
|
+
leftIcon: LeftIcon,
|
|
41
|
+
rightIcon: RightIcon,
|
|
42
|
+
shape: shape,
|
|
43
|
+
isValid: isValid,
|
|
44
|
+
isErrored: isErrored,
|
|
45
|
+
paintLeftIcon: paintLeftIcon,
|
|
46
|
+
paintRightIcon: paintRightIcon,
|
|
47
|
+
className: className,
|
|
48
|
+
}))),
|
|
49
|
+
react_1.default.createElement(DropdownMenu.Content, { sideOffset: 5 },
|
|
50
|
+
react_1.default.createElement("div", { className: "p-2 bg-white rounded-md shadow-md" },
|
|
51
|
+
react_1.default.createElement(DateRangeCalendarWithPanel_1.default, tslib_1.__assign({}, calendarProps, { ranges: [range], onChange: function (ranges) {
|
|
52
|
+
handleDateChange(ranges.selection);
|
|
53
|
+
} }))))));
|
|
54
|
+
};
|
|
55
|
+
exports.default = DateRangePicker;
|
|
56
|
+
//# sourceMappingURL=DateRangePicker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.js","sourceRoot":"","sources":["../../../../src/components/react/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Meta } from '@storybook/react/types-6-0';
|
|
3
|
+
import DateRangePickerComponent from './DateRangePicker';
|
|
4
|
+
type Props = React.ComponentProps<typeof DateRangePickerComponent>;
|
|
5
|
+
export declare const DateRangePicker: (props: Props) => JSX.Element;
|
|
6
|
+
declare const _default: Meta;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DateRangePicker = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
var DateRangePicker_1 = tslib_1.__importDefault(require("./DateRangePicker"));
|
|
7
|
+
var moment_1 = tslib_1.__importDefault(require("moment"));
|
|
8
|
+
var DateRangePicker = function (props) {
|
|
9
|
+
var defaultRange = {
|
|
10
|
+
startDate: (0, moment_1.default)().startOf('week'),
|
|
11
|
+
endDate: (0, moment_1.default)().endOf('week'),
|
|
12
|
+
};
|
|
13
|
+
return (react_1.default.createElement(DateRangePicker_1.default, tslib_1.__assign({}, props, { range: defaultRange, className: "w-56" })));
|
|
14
|
+
};
|
|
15
|
+
exports.DateRangePicker = DateRangePicker;
|
|
16
|
+
exports.default = {
|
|
17
|
+
title: 'Date Inputs/DateRangePicker',
|
|
18
|
+
component: exports.DateRangePicker,
|
|
19
|
+
args: {
|
|
20
|
+
shape: 'round',
|
|
21
|
+
placeholder: 'dd/mm/yyyy',
|
|
22
|
+
closeOnSelect: true,
|
|
23
|
+
fill: false,
|
|
24
|
+
isValid: false,
|
|
25
|
+
isErrored: false,
|
|
26
|
+
leftIcon: true,
|
|
27
|
+
rightIcon: false,
|
|
28
|
+
paintLeftIcon: true,
|
|
29
|
+
paintRightIcon: false,
|
|
30
|
+
},
|
|
31
|
+
argTypes: {
|
|
32
|
+
shape: {
|
|
33
|
+
control: {
|
|
34
|
+
type: 'select',
|
|
35
|
+
options: ['square', 'round', 'line', 'none'],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
leftIcon: {
|
|
39
|
+
control: {
|
|
40
|
+
type: 'boolean',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
rightIcon: {
|
|
44
|
+
control: {
|
|
45
|
+
type: 'boolean',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
onChange: { action: 'changed' },
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=DateRangePicker.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangePicker.stories.js","sourceRoot":"","sources":["../../../../src/components/react/DateRangePicker/DateRangePicker.stories.tsx"],"names":[],"mappings":";;;;AAAA,wDAAyB;AAGzB,8EAAwD;AACxD,0DAA2B;AAIpB,IAAM,eAAe,GAAG,UAAC,KAAY;IAC1C,IAAM,YAAY,GAAG;QACnB,SAAS,EAAE,IAAA,gBAAM,GAAE,CAAC,OAAO,CAAC,MAAM,CAAC;QACnC,OAAO,EAAE,IAAA,gBAAM,GAAE,CAAC,KAAK,CAAC,MAAM,CAAC;KAChC,CAAA;IAED,OAAO,CACL,8BAAC,yBAAwB,uBACnB,KAAK,IACT,KAAK,EAAE,YAAY,EACnB,SAAS,EAAC,MAAM,IAChB,CACH,CAAA;AACH,CAAC,CAAA;AAbY,QAAA,eAAe,mBAa3B;AAED,kBAAe;IACb,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,uBAAe;IAC1B,IAAI,EAAE;QACJ,KAAK,EAAE,OAAO;QACd,WAAW,EAAE,YAAY;QACzB,aAAa,EAAE,IAAI;QACnB,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,KAAK;QAChB,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,KAAK;QAChB,aAAa,EAAE,IAAI;QACnB,cAAc,EAAE,KAAK;KACtB;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,OAAO,EAAE;gBACP,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;aAC7C;SACF;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;aAChB;SACF;QACD,SAAS,EAAE;YACT,OAAO,EAAE;gBACP,IAAI,EAAE,SAAS;aAChB;SACF;QACD,QAAQ,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE;KAChC;CACM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DateRangePicker';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var DateRangePicker_1 = require("./DateRangePicker");
|
|
8
|
+
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(DateRangePicker_1).default; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/react/DateRangePicker/index.tsx"],"names":[],"mappings":";;;;;;AAAA,qDAA2C;AAAlC,2HAAA,OAAO,OAAA"}
|
|
@@ -4,5 +4,9 @@ export type TextAreaProps = {
|
|
|
4
4
|
resize?: boolean;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
} & React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
7
|
-
declare const TextArea:
|
|
7
|
+
declare const TextArea: React.ForwardRefExoticComponent<{
|
|
8
|
+
fill?: boolean | undefined;
|
|
9
|
+
resize?: boolean | undefined;
|
|
10
|
+
placeholder?: string | undefined;
|
|
11
|
+
} & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
8
12
|
export default TextArea;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
|
-
var react_1 = tslib_1.
|
|
4
|
+
var react_1 = tslib_1.__importStar(require("react"));
|
|
5
5
|
var clsx_1 = tslib_1.__importDefault(require("clsx"));
|
|
6
|
-
var TextArea = function (props) {
|
|
6
|
+
var TextArea = (0, react_1.forwardRef)(function (props, ref) {
|
|
7
7
|
var fill = props.fill, resize = props.resize;
|
|
8
|
-
return (react_1.default.createElement("textarea", tslib_1.__assign({}, props, { className: (0, clsx_1.default)('py-2 rounded-sm px-3 border
|
|
9
|
-
};
|
|
8
|
+
return (react_1.default.createElement("textarea", tslib_1.__assign({}, props, { ref: ref, className: (0, clsx_1.default)('py-2 rounded-sm px-3 border focus:outline-none focus-within:ring-2 ring-growth-lighter text-md border-neutral-dark text-sm', { 'bg-neutral-high': fill == true, 'bg-transparent': fill == false }, { 'resize-none': resize == false }, props.className) })));
|
|
9
|
+
});
|
|
10
|
+
TextArea.displayName = 'TextArea';
|
|
10
11
|
exports.default = TextArea;
|
|
11
12
|
//# sourceMappingURL=TextArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.js","sourceRoot":"","sources":["../../../../src/components/react/TextArea/TextArea.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"TextArea.js","sourceRoot":"","sources":["../../../../src/components/react/TextArea/TextArea.tsx"],"names":[],"mappings":";;;AAAA,qDAAyC;AACzC,sDAAuB;AAQvB,IAAM,QAAQ,GAAG,IAAA,kBAAU,EACzB,UAAC,KAAoB,EAAE,GAAmC;IAChD,IAAA,IAAI,GAAa,KAAK,KAAlB,EAAE,MAAM,GAAK,KAAK,OAAV,CAAU;IAE9B,OAAO,CACL,+DACM,KAAK,IACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,IAAA,cAAI,EACb,4HAA4H,EAC5H,EAAE,iBAAiB,EAAE,IAAI,IAAI,IAAI,EAAE,gBAAgB,EAAE,IAAI,IAAI,KAAK,EAAE,EACpE,EAAE,aAAa,EAAE,MAAM,IAAI,KAAK,EAAE,EAClC,KAAK,CAAC,SAAS,CAChB,IACD,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAA;AAEjC,kBAAe,QAAQ,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { MdOutlineSearch, MdOutlineClose, MdError, MdCheckCircle } from 'react-icons/md';
|
|
2
3
|
export type TextInputProps = {
|
|
3
4
|
fill?: boolean;
|
|
4
5
|
shape?: 'square' | 'round' | 'line' | 'none';
|
|
@@ -11,11 +12,21 @@ export type TextInputProps = {
|
|
|
11
12
|
paintLeftIcon?: boolean;
|
|
12
13
|
paintRightIcon?: boolean;
|
|
13
14
|
} & React.InputHTMLAttributes<HTMLInputElement>;
|
|
14
|
-
declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
declare const _default: React.ForwardRefExoticComponent<{
|
|
16
|
+
fill?: boolean | undefined;
|
|
17
|
+
shape?: "line" | "none" | "square" | "round" | undefined;
|
|
18
|
+
leftIcon?: React.ReactNode;
|
|
19
|
+
rightIcon?: React.ReactNode;
|
|
20
|
+
onLeftIconClick?: (() => void) | undefined;
|
|
21
|
+
onRightIconClick?: (() => void) | undefined;
|
|
22
|
+
isValid?: boolean | undefined;
|
|
23
|
+
isErrored?: boolean | undefined;
|
|
24
|
+
paintLeftIcon?: boolean | undefined;
|
|
25
|
+
paintRightIcon?: boolean | undefined;
|
|
26
|
+
} & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>> & {
|
|
27
|
+
SearchIcon: typeof MdOutlineSearch;
|
|
28
|
+
ClearIcon: typeof MdOutlineClose;
|
|
29
|
+
ErrorIcon: typeof MdError;
|
|
30
|
+
SuccessIcon: typeof MdCheckCircle;
|
|
20
31
|
};
|
|
21
|
-
export default
|
|
32
|
+
export default _default;
|
|
@@ -1,46 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var tslib_1 = require("tslib");
|
|
4
|
-
|
|
4
|
+
/* eslint-disable react/display-name */
|
|
5
|
+
var react_1 = tslib_1.__importStar(require("react"));
|
|
5
6
|
var clsx_1 = tslib_1.__importDefault(require("clsx"));
|
|
6
7
|
var react_slot_1 = require("@radix-ui/react-slot");
|
|
7
8
|
var md_1 = require("react-icons/md");
|
|
8
|
-
var TextInput = function (props) {
|
|
9
|
-
var _a = props.fill, fill = _a === void 0 ? false : _a, LeftIcon = props.leftIcon, onLeftIconClick = props.onLeftIconClick, RightIcon = props.rightIcon, onRightIconClick = props.onRightIconClick, _b = props.shape, shape = _b === void 0 ? 'square' : _b,
|
|
9
|
+
var TextInput = (0, react_1.forwardRef)(function (props, ref) {
|
|
10
|
+
var _a = props.fill, fill = _a === void 0 ? false : _a, LeftIcon = props.leftIcon, onLeftIconClick = props.onLeftIconClick, RightIcon = props.rightIcon, onRightIconClick = props.onRightIconClick, _b = props.shape, shape = _b === void 0 ? 'square' : _b, _c = props.isValid, isValid = _c === void 0 ? false : _c, _d = props.isErrored, isErrored = _d === void 0 ? false : _d, _e = props.paintLeftIcon, paintLeftIcon = _e === void 0 ? false : _e, _f = props.paintRightIcon, paintRightIcon = _f === void 0 ? true : _f, _g = props.className, className = _g === void 0 ? '' : _g, inputProps = tslib_1.__rest(props, ["fill", "leftIcon", "onLeftIconClick", "rightIcon", "onRightIconClick", "shape", "isValid", "isErrored", "paintLeftIcon", "paintRightIcon", "className"]);
|
|
10
11
|
return (react_1.default.createElement("div", null,
|
|
11
|
-
react_1.default.createElement("div", { className: (0, clsx_1.default)('flex items-center gap-2 h-8 py-4 px-
|
|
12
|
-
'border
|
|
13
|
-
'border
|
|
14
|
-
'border-0 border-b
|
|
12
|
+
react_1.default.createElement("div", { className: (0, clsx_1.default)('flex items-center gap-2 h-8 py-4 px-2', {
|
|
13
|
+
'border rounded-3xl focus-within:ring-2 ring-growth-lighter': shape === 'round',
|
|
14
|
+
'border rounded-sm focus-within:ring-2 ring-growth-lighter': shape === 'square',
|
|
15
|
+
'border-0 border-b ring-transparent focus-within:shadow-gm-growth-lighter': shape === 'line',
|
|
15
16
|
'border-0 ring-transparent focus-within:shadow-gm-growth-lighter': shape === 'none',
|
|
16
|
-
}, { 'bg-neutral-
|
|
17
|
+
}, { 'bg-neutral-high': fill === true }, {
|
|
17
18
|
'border-neutral-dark': !isValid && !isErrored,
|
|
18
19
|
'border-nice-mid': isValid && !isErrored,
|
|
19
20
|
'border-alert-mid': isErrored,
|
|
20
|
-
},
|
|
21
|
-
LeftIcon && (react_1.default.createElement(react_slot_1.Slot, { onClick: onLeftIconClick, className: (0, clsx_1.default)('w-
|
|
21
|
+
}, className) },
|
|
22
|
+
LeftIcon && (react_1.default.createElement(react_slot_1.Slot, { onClick: onLeftIconClick, className: (0, clsx_1.default)('w-4 h-4 aspect-square min-w-min', {
|
|
22
23
|
'cursor-pointer': onLeftIconClick != undefined,
|
|
23
24
|
}, {
|
|
24
25
|
'text-neutral-dark': !paintLeftIcon || (!isValid && !isErrored),
|
|
25
26
|
'text-nice-mid': paintLeftIcon && isValid && !isErrored,
|
|
26
27
|
'text-alert-mid': paintLeftIcon && isErrored,
|
|
27
28
|
}) }, LeftIcon)),
|
|
28
|
-
react_1.default.createElement("input", tslib_1.__assign({},
|
|
29
|
+
react_1.default.createElement("input", tslib_1.__assign({}, inputProps, { ref: ref, className: (0, clsx_1.default)('bg-transparent w-full text-sm outline-none', {
|
|
29
30
|
'text-neutral-darker': !isValid && !isErrored,
|
|
30
31
|
'text-nice-mid': isValid && !isErrored,
|
|
31
32
|
'text-alert-mid': isErrored,
|
|
32
33
|
}) })),
|
|
33
|
-
RightIcon && (react_1.default.createElement(react_slot_1.Slot, { onClick: onRightIconClick, className: (0, clsx_1.default)('w-
|
|
34
|
+
RightIcon && (react_1.default.createElement(react_slot_1.Slot, { onClick: onRightIconClick, className: (0, clsx_1.default)('w-4 h-4 aspect-square min-w-min', {
|
|
34
35
|
'cursor-pointer': onRightIconClick != undefined,
|
|
35
36
|
}, {
|
|
36
37
|
'text-neutral-dark': !paintRightIcon || (!isValid && !isErrored),
|
|
37
38
|
'text-nice-mid': paintRightIcon && isValid && !isErrored,
|
|
38
39
|
'text-alert-mid': paintRightIcon && isErrored,
|
|
39
40
|
}) }, RightIcon)))));
|
|
40
|
-
};
|
|
41
|
-
TextInput.
|
|
42
|
-
TextInput
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
});
|
|
42
|
+
TextInput.displayName = 'TextInput';
|
|
43
|
+
Object.defineProperties(TextInput, {
|
|
44
|
+
SearchIcon: { value: md_1.MdOutlineSearch },
|
|
45
|
+
ClearIcon: { value: md_1.MdOutlineClose },
|
|
46
|
+
ErrorIcon: { value: md_1.MdError },
|
|
47
|
+
SuccessIcon: { value: md_1.MdCheckCircle },
|
|
48
|
+
});
|
|
45
49
|
exports.default = TextInput;
|
|
46
50
|
//# sourceMappingURL=TextInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../src/components/react/TextInput/TextInput.tsx"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"TextInput.js","sourceRoot":"","sources":["../../../../src/components/react/TextInput/TextInput.tsx"],"names":[],"mappings":"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"}
|
package/dist/styles/global.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
! tailwindcss v3.
|
|
2
|
+
! tailwindcss v3.3.1 | MIT License | https://tailwindcss.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
3. Use a more readable tab size.
|
|
32
32
|
4. Use the user's configured `sans` font-family by default.
|
|
33
33
|
5. Use the user's configured `sans` font-feature-settings by default.
|
|
34
|
+
6. Use the user's configured `sans` font-variation-settings by default.
|
|
34
35
|
*/
|
|
35
36
|
|
|
36
37
|
html {
|
|
@@ -47,6 +48,8 @@ html {
|
|
|
47
48
|
/* 4 */
|
|
48
49
|
font-feature-settings: normal;
|
|
49
50
|
/* 5 */
|
|
51
|
+
font-variation-settings: normal;
|
|
52
|
+
/* 6 */
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
/*
|
|
@@ -513,6 +516,14 @@ video {
|
|
|
513
516
|
--tw-backdrop-sepia: ;
|
|
514
517
|
}
|
|
515
518
|
|
|
519
|
+
.absolute {
|
|
520
|
+
position: absolute;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.inset-0 {
|
|
524
|
+
inset: 0px;
|
|
525
|
+
}
|
|
526
|
+
|
|
516
527
|
.flex {
|
|
517
528
|
display: flex;
|
|
518
529
|
}
|
|
@@ -537,10 +548,6 @@ video {
|
|
|
537
548
|
height: 1rem;
|
|
538
549
|
}
|
|
539
550
|
|
|
540
|
-
.h-5 {
|
|
541
|
-
height: 1.25rem;
|
|
542
|
-
}
|
|
543
|
-
|
|
544
551
|
.h-8 {
|
|
545
552
|
height: 2rem;
|
|
546
553
|
}
|
|
@@ -549,16 +556,12 @@ video {
|
|
|
549
556
|
width: 0.75rem;
|
|
550
557
|
}
|
|
551
558
|
|
|
552
|
-
.w-32 {
|
|
553
|
-
width: 8rem;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
559
|
.w-4 {
|
|
557
560
|
width: 1rem;
|
|
558
561
|
}
|
|
559
562
|
|
|
560
|
-
.w-
|
|
561
|
-
width:
|
|
563
|
+
.w-56 {
|
|
564
|
+
width: 14rem;
|
|
562
565
|
}
|
|
563
566
|
|
|
564
567
|
.w-64 {
|
|
@@ -569,8 +572,13 @@ video {
|
|
|
569
572
|
width: 24rem;
|
|
570
573
|
}
|
|
571
574
|
|
|
572
|
-
.
|
|
573
|
-
|
|
575
|
+
.w-full {
|
|
576
|
+
width: 100%;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.min-w-min {
|
|
580
|
+
min-width: -moz-min-content;
|
|
581
|
+
min-width: min-content;
|
|
574
582
|
}
|
|
575
583
|
|
|
576
584
|
.transform {
|
|
@@ -613,6 +621,10 @@ video {
|
|
|
613
621
|
border-radius: 1.5rem;
|
|
614
622
|
}
|
|
615
623
|
|
|
624
|
+
.rounded-md {
|
|
625
|
+
border-radius: 0.375rem;
|
|
626
|
+
}
|
|
627
|
+
|
|
616
628
|
.rounded-sm {
|
|
617
629
|
border-radius: 0.125rem;
|
|
618
630
|
}
|
|
@@ -625,12 +637,12 @@ video {
|
|
|
625
637
|
border-width: 0px;
|
|
626
638
|
}
|
|
627
639
|
|
|
628
|
-
.border
|
|
629
|
-
border-width:
|
|
640
|
+
.border-b {
|
|
641
|
+
border-bottom-width: 1px;
|
|
630
642
|
}
|
|
631
643
|
|
|
632
|
-
.border-
|
|
633
|
-
border-
|
|
644
|
+
.border-solid {
|
|
645
|
+
border-style: solid;
|
|
634
646
|
}
|
|
635
647
|
|
|
636
648
|
.border-alert-mid {
|
|
@@ -653,15 +665,23 @@ video {
|
|
|
653
665
|
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
654
666
|
}
|
|
655
667
|
|
|
656
|
-
.bg-neutral-lighter {
|
|
657
|
-
--tw-bg-opacity: 1;
|
|
658
|
-
background-color: rgb(247 249 252 / var(--tw-bg-opacity));
|
|
659
|
-
}
|
|
660
|
-
|
|
661
668
|
.bg-transparent {
|
|
662
669
|
background-color: transparent;
|
|
663
670
|
}
|
|
664
671
|
|
|
672
|
+
.fill-neutral-high {
|
|
673
|
+
fill: #FFFFFF;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.p-2 {
|
|
677
|
+
padding: 0.5rem;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.px-2 {
|
|
681
|
+
padding-left: 0.5rem;
|
|
682
|
+
padding-right: 0.5rem;
|
|
683
|
+
}
|
|
684
|
+
|
|
665
685
|
.px-3 {
|
|
666
686
|
padding-left: 0.75rem;
|
|
667
687
|
padding-right: 0.75rem;
|
|
@@ -677,16 +697,14 @@ video {
|
|
|
677
697
|
padding-bottom: 1rem;
|
|
678
698
|
}
|
|
679
699
|
|
|
680
|
-
.text-
|
|
700
|
+
.text-sm {
|
|
681
701
|
font-size: 0.875rem;
|
|
702
|
+
line-height: 1.25rem;
|
|
682
703
|
}
|
|
683
704
|
|
|
684
705
|
.text-xs {
|
|
685
|
-
font-size: 0.
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
.text-xxs {
|
|
689
|
-
font-size: 0.5rem;
|
|
706
|
+
font-size: 0.75rem;
|
|
707
|
+
line-height: 1rem;
|
|
690
708
|
}
|
|
691
709
|
|
|
692
710
|
.text-alert-mid {
|
|
@@ -714,6 +732,12 @@ video {
|
|
|
714
732
|
color: rgb(43 176 72 / var(--tw-text-opacity));
|
|
715
733
|
}
|
|
716
734
|
|
|
735
|
+
.shadow-md {
|
|
736
|
+
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
737
|
+
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
|
|
738
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
739
|
+
}
|
|
740
|
+
|
|
717
741
|
.outline-none {
|
|
718
742
|
outline: 2px solid transparent;
|
|
719
743
|
outline-offset: 2px;
|
|
@@ -758,9 +782,9 @@ video {
|
|
|
758
782
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
759
783
|
}
|
|
760
784
|
|
|
761
|
-
.focus-within\:ring
|
|
785
|
+
.focus-within\:ring-2:focus-within {
|
|
762
786
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
763
|
-
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(
|
|
787
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
764
788
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
765
789
|
}
|
|
766
790
|
|